recording audio under Linux

The blog is the place to remember what I always forget. Here is a note how to record a mp3 on my system.

0. Plug the microphone jack into the socket on the back side, not on the front panel.

1. Load all the required drivers

# modprobe snd-hda-intel
# modprobe snd_pcm_oss
# modprobe snd_seq_oss

1b. Setup mixer. (aumix)

2. Record

arecord -f cd test.wav

3. Convert to mp3

ffmpeg -i test.wav test.mp3