syntax with SoX & lame audio recording
Hi,
I inherited a script converting wav into mp3 on a 24/7 basis. the command line in question:
nice -15 sox -t ossdsp -c 2 -w -s -r 44100 /dev/dsp -t wav - | nice -15 lame -x -r -s 44.1 -h -b 64 $1 $2 $3 $4 - "$nowFile"
The incoming stream is MONO, hence I changed the sox -c 2 to -c 1. This resulted in half the data, which is what i wanted. however, the mp3 file is double the speed! it also seems to try to write two channels. Any idea where the syntax is wrong?
|