recording with sox

Steve Holmes steve at holmesgrown.com
Sun Feb 29 22:34:00 EST 2004


On Mon, Mar 01, 2004 at 03:33:05AM +0100, Sandi S?rensen wrote:
> 
> rec -s w -r 44100 -c 2 sandie.wav use -c 1 for mono if that's what you
> wayt ;) normalize would 2 be a good thing.
> if you want it in oggvorbis type:
> oggenc * in the same directory where you layed your wavfiles.
> ask again if you need more help.
> I can 2 make some scripts if it's

If by chance, you are using ALSA and don't have the OSS stuff
included, use arecord instead of rec.  I think there are some slight
variations on command line options.  For the heck of it, I'll include
one shell script I use for stereo recording that you can use as a
guide; I use it to record stereo cassettes with ALSA.
----- begin script -----
#!/bin/sh
# Record a stereo recording to the file specified in one and only
# parameter

arecord -v -d 2100 -f cd -t wav $1
----- end script -----
The '-d' option above sets a time limit of the recording in seconds.
'man arecord' should give you the rest of the options available for
ALSA users.

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown




More information about the Speakup mailing list