Commit Graph

335 Commits

Author SHA1 Message Date
Kamal Mostafa 40f1d50cbd fsk: calc separate divergences for mark and space bits
Calculate and consider separate signal-strength divergence values for
mark and space bits, so that imbalanced (but consistent) mark/space
strengths do not drive down confidence.

Note: This change makes all existing test cases yield very slightly
higher confidence values.
2014-11-16 11:00:36 -08:00
Kamal Mostafa 746f0f6c7a minimodem: free samplebuf to appease valgrind 2014-11-14 09:12:27 -08:00
Kamal Mostafa eaf229ea5e minimodem-0.20-1 2014-11-13 11:08:29 -08:00
Kamal Mostafa d3a6fd1f26 debian/control: move Vcs- fields to github; bump S-V to 3.9.6 2014-11-13 11:08:29 -08:00
Kamal Mostafa ba5ecec2f7 update copyright dates 2014 2014-11-13 10:56:31 -08:00
Kamal Mostafa 84cfb3ad67 autoreconf (automake 1.14.1) 2014-11-13 10:56:31 -08:00
Kamal Mostafa 8401f038e6 fix tests/ harness for automake 1.13
See http://osdir.com/ml/bug-automake-gnu/2013-06/msg00010.html
2014-11-09 10:34:00 -08:00
Kamal Mostafa 8c9484a738 callerid: handle name and phone '[N/A]' or '[blocked]' 2014-11-08 10:30:07 -08:00
Kamal Mostafa a6a7e0da35 callerid: warn when used with --auto-carrier 2014-11-08 09:27:31 -08:00
Billseph Gamesh 2a37e24964 callerid: fix MDMF decode when 0x08 (Name N/A) field is encountered
Off-by-one comparison caused any MDMF packet with an 0x08 field to
get junked.
2014-11-08 08:51:12 -08:00
David A Aitcheson a126663220 man: fix url to wikipedia SAME page
Prevent groff from botching this embedded URL when it generates
minimodem.1.html.
2014-11-04 07:46:14 -08:00
Kamal Mostafa 3c5ac8819d simpleaudio: do not crash on stereo input file
Complain about non-mono input audio files instead of crashing.
Thanks goblin@github for the report.

GitHub: fixes kamalmostafa/minimodem#1
2014-03-18 15:01:05 -07:00
Kamal Mostafa 3c227b516a minimodem-0.19-1 2013-09-18 09:11:36 -07:00
Kamal Mostafa 151e360720 minimodem: -7 implements 7-bit ASCII 2013-09-17 07:56:20 -07:00
Kamal Mostafa a524e38222 minimodem: fix --baudot cmdline switch
The --baudot (a.k.a. -5) command line switch didn't actually engage
the Baudot encoder/decoder, just set 5 bits per frame.
2013-09-05 15:36:49 -07:00
Kamal Mostafa d51803bc69 minimodem-0.18-1 2013-06-10 09:29:26 -07:00
Kamal Mostafa f9bdf43423 update copyright dates 2013-06-10 09:28:02 -07:00
Kamal Mostafa 31f8af5056 debian/control: enable Vcs- fields 2013-06-10 09:05:29 -07:00
Kamal Mostafa 0140e0df12 minimodem: --tx SAME emits 16 sync-byte preamble
Emit a preamble of 16 (hardcoded) sync-bytes if --sync-byte is
specified with --tx mode.  This makes --tx SAME emit the required
preamble of 16 0xAB's automatically.  So --rx SAME now directly
decodes the output of --tx SAME without needing to manually inject
the preamble byte(s), simplifying the test case.

Thanks to Harold Giddings, for reporting the issue.
2013-06-08 10:16:56 -07:00
Kamal Mostafa 24f1acff4f minimodem: fsk_transmit_frame factored out 2013-06-08 10:04:06 -07:00
Kamal Mostafa 8876f6674a minimodem: rename bfsk_sync_on_data to bfsk_do_rx_sync 2013-06-08 09:27:01 -07:00
Kamal Mostafa 9e741dd474 minimodem-0.17.1-1 2013-03-21 13:08:35 -07:00
Kamal Mostafa d98d0d6387 (portability) link with -lm explicitly
We need to explicitly link with -lm since we actually call lroundf() and sin().
2013-03-21 13:04:35 -07:00
Kamal Mostafa c25545951f minimodem-0.17-1 2013-03-20 12:10:37 -07:00
Kamal Mostafa d774ad74dd minimodem: handle arbitrary --startbits N
minimodem --startbits N works for rx and tx, where (0 <= N <= 20).

Thanks Martyn (kronalias), for reporting.
2013-03-20 12:08:52 -07:00
Kamal Mostafa b76b5a3fa3 minimodem-0.16.1-1 2013-01-25 15:09:47 -08:00
Kamal Mostafa 7ab18a268f minimodem: do not call setitimer(new_value=NULL)
Linux kernel warns:

    minimodem calls setitimer() with new_value NULL pointer. Misfeature support
    will be removed

Thanks Robert Hooker, for reporting.
2013-01-25 15:03:54 -08:00
Kamal Mostafa 1f74732147 minimodem-0.16-1 2012-11-03 14:32:40 -07:00
Kamal Mostafa 9d3200ca60 autoreconf 2012-11-03 14:28:47 -07:00
Kamal Mostafa 032d0bb79c minimodem: refine frame position if confidence falls
Allows for more accurate tracking, esp. for no-frame-bits protocols.
Fixes tests/test-80-SAME-datastream.
2012-11-03 14:20:33 -07:00
Kamal Mostafa 4709b5d146 tests: 80-SAME-datastream 2012-11-03 14:15:53 -07:00
Kamal Mostafa 1446844d32 minimodem: do not transmit leader tone if no start bits 2012-11-03 14:10:44 -07:00
Kamal Mostafa c2fa2dae93 fsk: fix FSK_DEBUG character decode 2012-11-03 13:26:10 -07:00
Kamal Mostafa 6ad778ce03 minimodem: fix --tx startbits/stopbits handling
Make --tx support specified --startbits and --stopbits; also enables --tx SAME.

Thanks to Jamie Batmanglidj for reporting the issue.
2012-11-01 12:48:40 -07:00
Kamal Mostafa 83f8c7cbdd minimodem-0.15.1-1 2012-10-16 18:11:21 -07:00
Kamal Mostafa 7fed380d0a callerid: do not use recursive call to reset
Testing by Mike Tedesco shows the recursive databits_decode_callerid()
seems to break on OS X (only); I don't see why it should.  Avoid the
issue by not making a recursive call.
2012-10-16 18:02:21 -07:00
Kamal Mostafa 93bf08f750 callerid: fix parser - do not store noise bytes 2012-10-10 10:05:51 -07:00
Kamal Mostafa 5e28a8026f minimodem-0.15-1 2012-10-05 20:16:44 -07:00
Kamal Mostafa 1a60f1c12d update README text 2012-10-05 20:07:23 -07:00
Kamal Mostafa 65493fa12a minimodem: --rx callerid
New "callerid" baudmode supports Bell202 Caller-ID (MDMF or SDMF) prototol.
2012-10-05 19:40:17 -07:00
Kamal Mostafa 49ccd10e1f minimodem: --rx prints all bytes unmolested, unless --print-filter
Now, minimodem prints all received bytes without isprint() filtering,
unless --print-filter is specified.  Allows for binary file transfers
and multibyte characters.
2012-10-05 13:29:30 -07:00
Kamal Mostafa ead6952a58 (portability) simple-tone-generator.c needs stdio.h 2012-10-04 18:13:23 -07:00
Mike Tedesco 577b84d7f2 (portability) use stdlib.h not malloc.h 2012-10-04 18:10:33 -07:00
Mike Tedesco d8f7601b4f (portability) simpleaudio.c needs stdio.h 2012-10-04 18:08:31 -07:00
Kamal Mostafa 761cf00b16 minimodem: handle SIGINT on --rx: close the sa backend and print stats 2012-10-02 14:22:38 -07:00
Kamal Mostafa 9627669b24 minimodem-0.14-1 2012-10-01 21:16:17 -07:00
Kamal Mostafa 2373364d9a minimodem: performance: read samples in larger blocks
For performance, read samples from the simpleaudio backend in larger
blocks when the number of bits per frame ends up being small.
2012-10-01 21:00:28 -07:00
Kamal Mostafa 2af26a4d06 simpleaudio-alsa: allow max latency
Request "maximum possible allowed latency", to help avoid underruns.
2012-10-01 19:06:27 -07:00
Kamal Mostafa 151ee0e004 simpleaudio-alsa: handle underruns better; print '#' 2012-10-01 19:02:39 -07:00
Kamal Mostafa b97aeb0778 simpleaudio-pulse: fix intermittent --tx noise
For some unknown reason setting attr.prebuf=1 causes horrible noise
for some playback sessions, so don't do that.
2012-10-01 14:30:00 -07:00