Re: How to create compatible raw audio files?
toggle quoted messageShow quoted text
After a lot of fooling around I finally got this working with sox.
The command that worked wassox piano.wav -t raw -r 48k -c 1 -b 32 -L -e float piano.raw
The commands I've tried that failed were:
sox piano.wav -t raw -r 48k -c 1 -b 16 -L piano.rawThis was confusing in part because the documentation online does not match the tooltip (the tooltip in 4.4.0 / 4.4.1 is accurate as to format):
sox piano.wav -t raw -r 48k -c 1 -b 32 -L piano.raw
sox piano.wav -t raw -r 48k -c 1 -b 16 -L -e signed-integer piano.raw
Example (16-bit): https://github.com/f4exb/sdrangel/tree/master/plugins/channeltx/modwfm (says must be 16LE 48k mono raw)
Example (32-bit tooltip, image attached).I'd suggest the documentation may need to be updated.
Also, I note that once you start playing back a recorded file, the modulator can't really do anything else. For example, try playing a file and then turning the tone or morse code sender on. Doesn't seem to work for me.
In my experience, the better way to play back recorded audio in Linux is to use Pulse to pipe in the audio into sdrangel using Audio In. For example, start microphone input, then go to Pulse Volume Control GUI, go to Recording tab, and change over to "Monitor of Built-In Speaakers" instead of "Microphone." Then start playing back your audio. I was able to stream the audio from some music videos on youtube into the WFM modulator that way, had myself a little ultra-low-power pirate radio station this weekend (the powerful riffs of Weezer made it all the way to the kitchen in my modest little home).
On Sat, Jan 19, 2019 at 9:46 AM James Dallas via Groups.Io <email@example.com> wrote: