I want to extract the codec2 bitstream from the air. I pipe freedv_tx into freedv_rx as an initial simulation before I go on to cabling up a radio.
Let's say I do have a radio cabled up and ran this: $ rec -t.s16 -r 8000 -c 1 - | ./freedv_rx 2400B - /tmp/demod.craw --codecrx On 12/29/2017 04:55 PM, David Rowe wrote: > The freedv programs include the modem, if all you want is the codec 2 > bit stream: > > ./c2enc 1300 ../../raw/hts1.raw - | hexdump > > - David > > > On 30/12/17 06:39, Kevin Otte wrote: >> I'd like to experiment with piping FreeDV over the network a la DMR and >> DSTAR reflectors. First step would seem to be how to extract those >> frames from what's coming over the air. >> >> My first testing attempt: >> kjotte@daedalus:~/svn/codec2-dev/build$ ./src/freedv_tx 2400B >> ../raw/hts1a.raw - | ./src/freedv_rx 2400B - /tmp/demod.craw --codecrx >> >> My understanding is that the result of this pipeline would be >> /tmp/demod.craw populated with the raw Codec2 1300 frames that were >> sent. Instead I'm getting the decoded 8KHz PCM. >> >> What have I missed? >> >> 73 de Kevin N8VNR >> >> >> ------------------------------------------------------------------------------ >> >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Freetel-codec2 mailing list >> Freetel-codec2@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/freetel-codec2 >> > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Freetel-codec2 mailing list > Freetel-codec2@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Freetel-codec2 mailing list Freetel-codec2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freetel-codec2