Commit Graph

302 Commits

Author SHA1 Message Date
Kevin Zheng 2020b4c2bf Untrack automatically generated files 2015-08-23 08:19:41 -07:00
Kamal Mostafa 2953cdcd8a add Nick Moriarty to AUTHORS 2015-04-22 16:58:44 -07:00
Nick Moriarty 8915ce1525 Fix ALSA latency (causing ALSA not to block).
With arbitrarily large latency setting (unsigned int)-1, ALSA will happily
accept all the samples we want to throw at it.

Reducing to a reasonably long (but still sub-second) value of 100ms, we
cause ALSA writes to block and work properly with --tx-carrier.
2015-04-22 17:48:28 +01:00
Nick Moriarty ecebf013f0 Add ability to output a carrier while waiting for data
Added --tx-carrier, which continues to output a tone while a blocking source
waits for more data on stdin.
2015-04-22 17:48:28 +01:00
Kamal Mostafa 49bfa06f8e minimodem: --binary-raw {nbits} output mode 2015-04-21 14:01:03 -07:00
Kamal Mostafa 1439efa68d minimodem-0.21-1 2014-11-24 08:37:09 -08:00
Kamal Mostafa 2ae79d8a5b man: add uic-train and uic-ground modes 2014-11-16 13:02:59 -08:00
Kamal Mostafa 3b54fa7768 add Marcos Vives Del Sol to AUTHORS and debian/copyright 2014-11-16 12:46:14 -08:00
Kamal Mostafa ff47edfb68 minimodem: accept "uic*" for uic-ground 2014-11-16 12:46:14 -08:00
Marcos Vives Del Sol 532bcfb84c Honor --invert-start-stop in TX 2014-11-16 12:46:14 -08:00
Marcos Vives Del Sol 25d01f73d8 Add UIC-751-3 decoding and optional MSB-first TX/RX
[ kamal: cleanup ]
2014-11-16 12:46:14 -08:00
Marcos Vives Del Sol ff0346f5a8 Really use 64 data types for demodulation
[ kamal: cleanup ]
2014-11-16 12:46:14 -08:00
Kamal Mostafa 2cdf2d29e4 build_expect_bits_string cleanup 2014-11-16 12:46:14 -08:00
Marcos Vives Del Sol bbf121a63f Compute expected bit strings outside of main loop 2014-11-16 12:46:14 -08:00
Marcos Vives Del Sol 163af2539c Add Windows executable to gitignore 2014-11-16 12:46:13 -08:00
Marcos Vives Del Sol cc6b5c9123 Change code to use 64-bit variables for decoding 2014-11-16 12:46:13 -08:00
Marcos Vives Del Sol 909adf0d59 Add option to change start-stop polarity 2014-11-16 12:46:13 -08:00
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