From f104672225a50f8a04ae275ee9cfae9b020efb67 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Sun, 24 Jan 2016 20:38:37 +0000 Subject: [PATCH] some instructions ta the top git-svn-id: https://svn.code.sf.net/p/freetel/code@2651 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/octave/fsk_horus_stream.m | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/codec2-dev/octave/fsk_horus_stream.m b/codec2-dev/octave/fsk_horus_stream.m index e52052cf..18155494 100755 --- a/codec2-dev/octave/fsk_horus_stream.m +++ b/codec2-dev/octave/fsk_horus_stream.m @@ -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 -- 2.25.1