Re: [Wlug] Audio processing question
On 12/26/2015 07:32 PM, Andy Stewart wrote:
On 12/26/2015 06:17 PM, Frank Sweetser wrote:
I'd bet that you could use netcat do listen ona socket and dump the results directly to a file.
OK, I'm getting closer. It turns out that the UDP audio stream is RAW. The "mondiale decoder" wants to see WAV data. I think I need the correct incantation of the sox command. Here's a command that works, to give you a feel for the data formats involved: gqrx outputs RAW audio data to UDP port 65535 netcat -l -u 65535 | aplay -r 48k -f S16_LE -t raw -c 1 correct audio is heard Now, I want to get that into a WAV file or perhaps a fifo from which the mondiale decoder could get its input. netcat -l -u 65535 | sox ??? The man page for sox is not for the faint of heart, and I'm not an audio expert. Any ideas? Thanks! Andy -- Andy Stewart (KB1OIQ) Founder: Worcester Linux Users' Group Founder: Chelmsford Linux Meetup Group President: PART of Westford, MA (WB1GOF)
participants (1)
-
Andy Stewart