|
From: D. S. <new...@gm...> - 2008-02-10 18:39:50
|
(in Cygwin) $ rec t.mp3 Input File : '/dev/dsp' (ossdsp) Sample Size : 8-bit (1 byte) Sample Encoding: unsigned Channels : 1 Sample Rate : 8000 Expected... Now try to make it 16 bit: rec -2 t.mp3 Input File : '/dev/dsp' (ossdsp) Sample Size : 8-bit (1 byte) Sample Encoding: unsigned Channels : 1 Sample Rate : 8000 Time: 00:02.05 [00:00.00] of 00:00.00 (0.00%) Samples out: 8.19k Clips: 0 Same ... dang. Let's try sox, directly, and see if we can get 16 bit like that: sox -2 -t ossdsp /dev/dsp t.mp3 Input File : '/dev/dsp' (ossdsp) Sample Size : 16-bit (2 bytes) Sample Encoding: signed (2's complement) Channels : 1 Sample Rate : 8000 Ah ha! Ok, I'm not sure how you might set that with sox rec. But as a workaround, try sox directly. Here's another example on Cygwin: sox -2 -r 44100 -c 2 -t ossdsp /dev/dsp myrec.wav Input File : '/dev/dsp' (ossdsp) Sample Size : 16-bit (2 bytes) Sample Encoding: signed (2's complement) Channels : 2 Sample Rate : 44100 On Feb 9, 2008 3:08 PM, Andreas Mock <And...@we...> wrote: > When I start recording with rec.exe I'm not able to change the > sample size to 16 bit. It always remain on 8 bit. > Is this changable or something that has to do with the cygwin port? |