hello all,i'm trying to catch some internet radio streams with sox and pass the audio to pd to process it.
so i first make a fifo buffer:
mkfifo ~/tempaudio
then i run a sox command that catches an mp3 stream, and writes it to a wave stream in the fifo buffer made above:
these commands run with no errors; i'm executing both as "sudo".
then i open pd and try to run readsf~ with the fifo file above as the input.
when i send the "open" message to readsf~, i have no error:
open ~/tempaudio
then i send the "start" message message and i get an error:
dsp:/home/pi/tempaudio: unknown or bad header format
i've tried some other params in the sox write command but i get the bad header error no matter what i do.
any thoughts?
thanks,
ali