some instructions ta the top
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 24 Jan 2016 20:38:37 +0000 (20:38 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 24 Jan 2016 20:38:37 +0000 (20:38 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@2651 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/octave/fsk_horus_stream.m

index e52052cf83d41f818c318911703205e612dfcf0d..181554944de4df467acf955f2cd47c39574e0fa3 100755 (executable)
@@ -7,15 +7,21 @@
 % 8kHz 16 bit samples from stdin, output txt string on stdout
 %
 % usage:
-%  $ chmod 777 fsk_horus_stream.m
-%  $ rec -t raw -r 8000 -s -2 -c 1 - -q | ./fsk_horus_stream.m
-%  or (for those of us that avoid alsa like the plague)
-%  $ arecord -D pulse -r 8000 -c 1 -f S16_LE - | ./fsk_horus_stream.m
-%  and use the 'pavucontrol' utility to select a sound device for arecord.
+$
+%   $ chmod 777 fsk_horus_stream.m
+%   $ rec -t raw -r 8000 -s -2 -c 1 - -q | ./fsk_horus_stream.m 2 100
 %
+% Or with pulseaudio you can decode two different waveforms at the
+% same time.  In two different shells start:
 %
-% OR to test with a stored file (8kHz 16-bit shorts):
-%  $ cat ~/Desktop/vk5arg-3.wav | ./fsk_horus_stream.m
+%   $ arecord -D pulse -r 8000 -c 1 -f S16_LE - | ./fsk_horus_stream.m 2 100
+%   $ arecord -D pulse -r 8000 -c 1 -f S16_LE - | ./fsk_horus_stream.m 5 50
+%
+% 'pavucontrol' utility can be used to select a sound device for arecord.
+%
+% To test with a stored file (8kHz 16-bit shorts):
+%
+%   $ cat ~/Desktop/vk5arg-3.wav | ./fsk_horus_stream.m 2 100
 %
 
 % command line arguments