On Fri, 22 Feb 2002, Chris Rankin wrote: > Hi, > > I am trying to record to a WAV file using a microphone and a > SoundBlaster Live! This used to work, and still does if I use the > motherboard's built-in ICH chip instead. I use the following command > line: > > $ arecord -f cd -t wav -d 10 voice.wav > > I have already unmuted the microphone and capture devices in the > alsamixer, and am hearing sound from the speakers when I breathe on > the microphone (so I know it's working). However, the resulting WAV > file doesn't contain any sound. I have successfully played other WAV > files, of course. This could well be a mixer problem, and so I have > included my mixer settings. And yes, I have plugged my microphone into > the red "microphone" socket on my Live! card.
>From alsa-driver/doc/SB-Live-mixer.txt: name='AC97 Capture Volume',index=0 This control is used to attenuate samples for left and right front ADC PCM slots of the AC97 codec. The result is forwarded to the ADC capture FIFO (thus to the standard capture PCM device). ******************************************************************************** *** Note: This control should be 100 (maximal value), otherwise no analog *** *** inputs of the AC97 codec can be captured (recorded). *** ******************************************************************************** and you have: control.16 { comment.access 'read write' comment.type INTEGER comment.range '0 - 100' iface MIXER name 'AC97 Capture Volume' value.0 0 value.1 0 } > A few other observations: > a) I can record WAV files using the ICH even when the microphone > device is muted. All I need is the "Capture" device. Did it always > work like this? Yes, check the AC97 specification. > b) I now need to specify the "-d" parameter to arecord, whereas it > used to record until I pressed Ctrl-C. Without "-d", arecord > terminates immediately. It should be fixed in CVS. Thanks. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user