If you are going to use 2400B then you will have to peruse the source code,
as it is mostly experimental.

I think the sampling rate must be 48000. That is, if you do a:

freedv_tx 2400B ../raw/hts1a.raw /tmp/modem.raw

Then modem.raw will be a PCM raw file that should be sampled at 48000.

Same thing if you record off the air from the soundcard.

For example, using sox, you can:

sox -r 48000 -t raw -b 16 -e signed-integer -c 1 /tmp/modem.raw -t raw -

Then pipe that to the receiver:

| freedv_rx 2400B - /tmp/demod.raw

Now demod.raw will be sampled at 8000 as it is the PCM audio from codec2.

I didn't look to see what codec it uses. Maybe 1300 ??

I don't know what --codecrx does. I left it off and it seems to work.
Appears to be undocumented.

73/k5okc
------------------------------------------------------------------------------
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

Reply via email to