Hello. I record a stream from my browser with this script:
parec -d alsa_output.pci_8086_27d8_sound_card_0.monitor > alsa.raw
Then I try to convert it with sox with this:
sox -w -s -L -r 44100 -c 2 alsa.raw alsa.wav
I get this answer:
sox: invalid option -- w
sox: SoX v14.2.0
If I don't use -w I get this:
sox formats: no handler for detected file type `application/octet-stream; charset=binary'
What's my problem besides that I'm to stupid to understand the sox-tutorials?
Last edited by jai134 (2009-03-30 14:33:45)
I did find another tutorial and now it is running fine. The command is:
sox -c 2 -r 44100 -s -2 -t raw file.raw -t wav file.wav
change -w to 2. it should be working