As Mark suggested for SM1000 tx testing:

codec2-dev/build_linux/src $ ./freedv_tx 1600 ../../raw/ve9qrp.raw - | 
./freedv_rx 1600 - - | play -t raw -r 8000 -s -2 -

or:

codec2-dev/build_linux/src $ ./freedv_tx 1600 ../../raw/ve9qrp.raw - | 
./freedv_rx 1600 - - | sox -t raw -r 8000 -s -2 - ve9qrp_1600.wav

will create a wave file you can then play whenever you want.

I use the FreeDV GUI program to test the SM1000 tx, connecting the 
SM1000 to the mic input of my laptop.

Cheers,

David

On 20/09/15 09:58, Stuart Longland wrote:
> Hi all,
>
> What strategies do people use for testing the SM1000?  I've had a report
> that the binary I built would not decode FreeDV 1600 signals.
>
> I just tried, and indeed, I could not get it, or the production binary,
> to decode a prepared signal sent from my laptop from the command line:
>
> My steps:
> $ sox ~/hamradio/projects/broadcast/vk4_warmup.mp3 -t raw -r 16000 -c 1
> -b 16 -e signed-integer -L vk4-warmup.raw
> $ c2enc 1600 vk4-warmup.raw vk4-warmup.c2
> $ fdmdv_mod vk4-warmup.c2 vk4-warmup.fdmdv
> $ sox -t raw -r 16000 -c 1 -b 16 -e signed-integer -L vk4-warmup.fdmdv
> -r 48000 -c 2 fdmdv.wav
> $ aplay -D hw:0,0 fdmdv.wav
>
> I used a cable to link the computer's output to the RIG SPKR jack on the
> SM1000.
>
> I ought to have heard the dulcet tones of Graham VK4BB announcing the
> times and frequencies of the WIA broadcast -- this is the recording that
> proceeds WIA News/QNews here in Queensland.  Instead, I got mostly
> silence, save a few squawks from the SM1000.
>
> Is there some way that I can produce a reference FreeDV signal that the
> unit can decode?
>
> (The vk4_warmup.mp3 is from here: http://www.wiaq.com/ftp/vk4_warmup.mp3)
>

------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to