Hi Alan, Take a look at the examples in:
https://svn.code.sf.net/p/freetel/code/codec2-dev/README_ofdm.txt These show how to drive the OFDM modem used for FreeDV 700D. A simple command line test for the FreeDV API is: $ ./freedv_tx 700D ../../raw/ve9qrp.raw - - | ./freedv_rx 700D - - | aplay -f S16_LE This works for me on rev 3832. - David On 29/08/18 20:15, Alan Beard wrote: > Hi David, > > Do I have to more initialising to get 700D working again with "parrot" ? > > I notice from the SVN comments, work has been done on the OFDM modem > along the lines of different numbers of tones. > > This is what I see when running "parrot": > > > Ctrl-C to exit > trigger string: " " > txFileName: txaudio.wav > PortAudio devNum: 16 > samplerate: 48000 > WaveFileWritePath: . > statusPageFile: > udp listener waiting on port 21234 - send me a command! > RX txtMsg: teniotl eeru ioele o wo > RX txtMsg: ce > RX txtMsg: enq cq &lle tt lccq cq .llo i trld > RX txtMsg: o rieefpq he > RX txtMsg: lmeeotl ttple cq oqs egoSsrldoo/ c9 pe > > So it's receiving nothing sensible from: > ve9qrp_700d_int1_fast_snr2dB.wav > > No "Maybe Sync" etc.. and no Rx files are created. > > If I revert to SVN 3775 (put back libcodec2.so.8) it all works. > > Has the FreeDV app using the latest SVN been tested lately? > > Alan VK2ZIW > > On Wed, 29 Aug 2018 16:38:02 +0930, David Rowe wrote >> Hi Alan, >> >> Good catch, looks like that if-then won't be doing much and *valid will >> always be 1. That's in code for the the earlier 700 modes (pre 700D) >> ... so not sure if it's worth running to ground at this stage. Squelch >> appears to be working fine in 700D. >> >> - David >> >> On 29/08/18 16:16, Alan Beard wrote: >>> Hi David and team, >>> >>> in src/freedv_api.c at line 1655 or there abouts: >>> >>> if (f->squelch_en && (f->stats.snr_est < f->snr_squelch_thresh)) { >>> *valid = 0; >>> } >>> *valid = 1; >>> >>> >>> Will *valid ever be zero when squelch is set? >>> >>> Alan VK2ZIW >>> >>> Evil flourishes when good men do nothing. >>> Consider the Christmas child. >>> -------------------------------------------------------------------------- > - >>> Alan Beard Unix Support Technician from 1984 to today >>> 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS >>> Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals > etc.. >>> +61 2 47353013 (h) Support Programming, shell scripting, "C", > assembler >>> 0414 353013 (mobile) After uni, electronics tech >>> >>> >>> -------------------------------------------------------------------------- > ---- >>> 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 > > > Alan > > Evil flourishes when good men do nothing. > Consider the Christmas child. > --------------------------------------------------------------------------- > Alan Beard Unix Support Technician from 1984 to today > 70 Wedmore Rd. Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS > Emu Heights N.S.W. 2750 Routers, terminal servers, printers, terminals etc.. > +61 2 47353013 (h) Support Programming, shell scripting, "C", assembler > 0414 353013 (mobile) After uni, electronics tech > > > ------------------------------------------------------------------------------ > 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