Hi Jeroen, OK I applied and tested the patch, works great with the codectx/codecrx options:
$ ./freedv_tx 700D ../../raw/ve9qrp_10s.raw - --codectx | ./freedv_rx 700D - - --codecrx | aplay -f S16 I just edited out a couple of fprintfs that were dumping info to stderr. All checked in to SVN 3757. -/- Alan - apologies of this overlaps any of your work, I should have been faster in applying Jeroen's patch. Pls review the changes with Jeroen's patch and send me a new patch with your work and I'll take a look at it. It's OK to email me directly if you like. Thanks, David On 19/07/18 08:06, Jeroen Vreeken wrote: > Hi All, > > On 07/15/2018 01:25 AM, David Rowe wrote: >> Hello Jeroen, >> >> 1/ So does your system actually use FreeDV 2400B? What does freedv_eth do? > freedv_eth is my frontend for connecting to the radio. > It can control the radio with hamlib, and used alsa for sound input and > output. > It creates an software ethernet device for communication with other > programs (such as the DML ones) > It can receive and transmit both freedv (in theory any of the modes) and > analog audio, even in mixed mode. > The audio data is transmitted/received on the ethernet device. > As well as any data packets. For example received when using mode 2400B, > but also any varicode received or decoded dtmf. > It can also generate morse beacons, and in case of a fullduplex set it > can loop received audio back to the transmitter for use as a repeater. > > The advantage is that my DML code does not have to do anything with the > radio, it can just communicate using a raw socket on the network device. > >> >> 2/ If possible, it would be much appreciated if you extend your work on >> freedv_codecrx() and freedv_codectx() to 700D. > See the attached patch. > It contains a modified codecrx and codectx. (They can be verified by > running freedv_tx and freedv_rx with and without the codectx and codecrx > options and comparing the output) > It also contains get_energy functions for the new codec2 450 modes. > And it modifies the get_stats function to return the freedv sync state > such that it can actually be used as a squelch (also for 2400B) > And lastly a fix for a small initialization problem I had with the > datachannel code. > > Regards, > Jeroen > > > > ------------------------------------------------------------------------------ > 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