Friday, September 28, 2007

Recording, Playing and Converting sounds


First, make sure aumix is installed, and use it to set both the record and play volumes, and make sure the microphone is the record device and not muted. Don't use a GUI mixer -- they sometimes get it wrong.

To record a song from the microphone, just do this:

$ rec mysong.au
If you want to change the volume, use -v, which is a float where >1.0 amplifies, and <1.0>$ rec -v2 mysong.au To play it back, do this:
$ play mysong.au
To convert it to a .wav, do this:
$ sox mysong.au mysong.wav
Sox can also amplify, flanger, phaser, echo, and various other effects.

No comments: