Pejman Moghadam / Slackware

Slackware 13.1 - Voice recording with microphone

Public domain


List soundcards

# cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfbffc000 irq 28

List all soundcards and digital audio devices

# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

alsamixer settings for recording

alsamixer settings for recording


Test for 10 seconds

arecord -d 10 test-mic.wav
aplay test-mic.wav

Recording

arecord -f S16_LE -c1 -r44100 -t raw -d 3 | lame -r -s 44.10 -m m -b 128 - record.mp3

BY: Pejman Moghadam
TAG: alsamixer, microphone, arecord, capture
DATE: 2012-04-07 16:02:59


Pejman Moghadam / Slackware [ TXT ]