Thread: [Alsa-user] Can't record my microphone
Brought to you by:
perex
From: Alexander F. <ale...@gm...> - 2005-10-28 12:04:15
|
Hi guys! I'm on a Laptop Dell Inspiron 5100, Debian Sid: $ lspci | grep audio 0000:00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 02) $ dpkg -l|grep alsa ii alsa-base 1.0.9b-4 ii alsa-oss 1.0.9-1 ii alsa-utils 1.0.9a-4 ii alsamixergui 0.9.0rc2-1-7 $ lsmod | grep snd snd_intel8x0m 17348 0=20 snd_intel8x0 30528 4=20 snd_ac97_codec 66296 2 snd_intel8x0m,snd_intel8x0 I'm tryin' to record in .wav my bass guitar with arecord in this way: $ arecord -f dat -d 10 -D hw:0,0 test.wav but listening the file i can hear only silence. I can't understand why this doesn' work because I've set the mic on in the alsamixer (i can hear what i'm playin on the guitar by the hearphones). Ah, of course, I can listen to mp3's etc by the hearphones ;-) Any idea? (please help me I don't want to resurrect my winxp! :-/) Thanks! --=20 "L'uomo si rivolgeva a lui in lingua straniera: iotico. Le parole avevano senso. Tutte le piccole cose avevano un senso; soltanto l'intero, la totalit=E0, non l'aveva" - Dispossessed (Ursula Le Guin) *\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/* GnuPG Public Key ID : 2280FDE -- Keyserver : keyserver.kjsl.com =20 Fingerprint : AE81 085D 5AD5 26F4 E61C A4D2 B753 C188 2280 FDEA Crittografia? Che roba =E8?! ---> http://www.gnupg.org/(it)/index.html _/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_ Alexander Fortin <ale...@gm...> HomePage http://www.alienshell.org - ICQ #18654543=20 |
From: Clemens L. <cl...@la...> - 2005-10-28 12:12:09
|
Alexander Fortin wrote: > I'm tryin' to record in .wav my bass guitar with arecord in this way: > $ arecord -f dat -d 10 -D hw:0,0 test.wav > but listening the file i can hear only silence. What is the output of "amixer contents"? Regards, Clemens |
From: Alexander F. <ale...@gm...> - 2005-10-28 12:19:21
|
> What is the output of "amixer contents"? numid=3D5,iface=3DMIXER,name=3D'Master Mono Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D6,iface=3DMIXER,name=3D'Master Mono Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D1,min=3D0,max=3D31,step=3D0 : values=3D23 numid=3D1,iface=3DMIXER,name=3D'Master Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D2,iface=3DMIXER,name=3D'Master Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D23,23 numid=3D3,iface=3DMIXER,name=3D'Headphone Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D4,iface=3DMIXER,name=3D'Headphone Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D24,24 numid=3D31,iface=3DMIXER,name=3D'3D Control - Center' ; type=3DINTEGER,access=3Drw---,values=3D1,min=3D0,max=3D15,step=3D0 : values=3D4 numid=3D32,iface=3DMIXER,name=3D'3D Control - Depth' ; type=3DINTEGER,access=3Drw---,values=3D1,min=3D0,max=3D15,step=3D0 : values=3D0 numid=3D28,iface=3DMIXER,name=3D'3D Control - Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D27,iface=3DMIXER,name=3D'PCM Out Path & Mute' ; type=3DENUMERATED,access=3Drw---,values=3D1,items=3D2 ; Item #0 'pre 3D' ; Item #1 'post 3D' : values=3D0 numid=3D22,iface=3DMIXER,name=3D'PCM Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D23,iface=3DMIXER,name=3D'PCM Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D25,25 numid=3D14,iface=3DMIXER,name=3D'Line Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D15,iface=3DMIXER,name=3D'Line Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D0,0 numid=3D16,iface=3DMIXER,name=3D'CD Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D17,iface=3DMIXER,name=3D'CD Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D29,29 numid=3D13,iface=3DMIXER,name=3D'Mic Boost (+20dB)' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D30,iface=3DMIXER,name=3D'Mic Select' ; type=3DENUMERATED,access=3Drw---,values=3D1,items=3D2 ; Item #0 'Mic1' ; Item #1 'Mic2' : values=3D0 numid=3D11,iface=3DMIXER,name=3D'Mic Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D12,iface=3DMIXER,name=3D'Mic Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D1,min=3D0,max=3D31,step=3D0 : values=3D23 numid=3D9,iface=3DMIXER,name=3D'Phone Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D10,iface=3DMIXER,name=3D'Phone Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D1,min=3D0,max=3D31,step=3D0 : values=3D0 numid=3D18,iface=3DMIXER,name=3D'Video Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D19,iface=3DMIXER,name=3D'Video Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D0,0 numid=3D7,iface=3DMIXER,name=3D'PC Speaker Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Don numid=3D8,iface=3DMIXER,name=3D'PC Speaker Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D1,min=3D0,max=3D15,step=3D0 : values=3D0 numid=3D20,iface=3DMIXER,name=3D'Aux Playback Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D21,iface=3DMIXER,name=3D'Aux Playback Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D31,step=3D0 : values=3D0,0 numid=3D29,iface=3DMIXER,name=3D'Mono Output Select' ; type=3DENUMERATED,access=3Drw---,values=3D1,items=3D2 ; Item #0 'Mix' ; Item #1 'Mic' : values=3D0 numid=3D24,iface=3DMIXER,name=3D'Capture Source' ; type=3DENUMERATED,access=3Drw---,values=3D2,items=3D8 ; Item #0 'Mic' ; Item #1 'CD' ; Item #2 'Video' ; Item #3 'Aux' ; Item #4 'Line' ; Item #5 'Mix' ; Item #6 'Mix Mono' ; Item #7 'Phone' : values=3D0,0 numid=3D25,iface=3DMIXER,name=3D'Capture Switch' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff numid=3D26,iface=3DMIXER,name=3D'Capture Volume' ; type=3DINTEGER,access=3Drw---,values=3D2,min=3D0,max=3D15,step=3D0 : values=3D0,0 numid=3D33,iface=3DMIXER,name=3D'External Amplifier' ; type=3DBOOLEAN,access=3Drw---,values=3D1 : values=3Doff --=20 "L'uomo si rivolgeva a lui in lingua straniera: iotico. Le parole avevano senso. Tutte le piccole cose avevano un senso; soltanto l'intero, la totalit=E0, non l'aveva" - Dispossessed (Ursula Le Guin) *\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/* GnuPG Public Key ID : 2280FDE -- Keyserver : keyserver.kjsl.com =20 Fingerprint : AE81 085D 5AD5 26F4 E61C A4D2 B753 C188 2280 FDEA Crittografia? Che roba =E8?! ---> http://www.gnupg.org/(it)/index.html _/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_ Alexander Fortin <ale...@gm...> HomePage http://www.alienshell.org - ICQ #18654543=20 |
From: Clemens L. <cl...@la...> - 2005-10-28 12:41:20
|
Alexander Fortin wrote: > numid=25,iface=MIXER,name='Capture Switch' > : values=off > numid=26,iface=MIXER,name='Capture Volume' > : values=0,0 These must be set (see the capture page of alsamixer). > numid=13,iface=MIXER,name='Mic Boost (+20dB)' > : values=off This one probably needs to be set, too. HTH Clemens |
From: Alexander F. <ale...@gm...> - 2005-10-28 13:28:23
|
Il giorno ven, 28/10/2005 alle 14.41 +0200, Clemens Ladisch ha scritto: > Alexander Fortin wrote: > > numid=3D25,iface=3DMIXER,name=3D'Capture Switch' > > : values=3Doff > > numid=3D26,iface=3DMIXER,name=3D'Capture Volume' > > : values=3D0,0 Now it works :-) There's a last thing... I've to set it with "amixer sset Capture toggle" because I cannot toggle it from the alsamixer gui (yeah, I've found the [tab] functionality :-) but i see this: L R |####| =20 CAPTUR L |####| R -------- CAPTUR Mic 80<>80 and don't know how to switch the [on-off] flag from here.... BTW it's not a problem... oh of course, it's a my-brain's problem :-D Thanks again Clemens! See you and good work! :-) --=20 "L'uomo si rivolgeva a lui in lingua straniera: iotico. Le parole avevano senso. Tutte le piccole cose avevano un senso; soltanto l'intero, la totalit=E0, non l'aveva" - Dispossessed (Ursula Le Guin) *\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/* GnuPG Public Key ID : 2280FDE -- Keyserver : keyserver.kjsl.com =20 Fingerprint : AE81 085D 5AD5 26F4 E61C A4D2 B753 C188 2280 FDEA Crittografia? Che roba =E8?! ---> http://www.gnupg.org/(it)/index.html _/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_/*\_ Alexander Fortin <ale...@gm...> HomePage http://www.alienshell.org - ICQ #18654543=20 |
From: Clemens L. <cl...@la...> - 2005-10-28 15:33:22
|
Alexander Fortin wrote: > Il giorno ven, 28/10/2005 alle 14.41 +0200, Clemens Ladisch ha scritto: > > Alexander Fortin wrote: > > > numid=25,iface=MIXER,name='Capture Switch' > > > : values=off > > > numid=26,iface=MIXER,name='Capture Volume' > > > : values=0,0 > > Now it works :-) > There's a last thing... I've to set it with > "amixer sset Capture toggle" because I cannot toggle it from the > alsamixer gui (yeah, I've found the [tab] functionality :-) but i see > this: > > > L R |####| > CAPTUR L |####| R > -------- CAPTUR > Mic 80<>80 > > and don't know how to switch the [on-off] flag from here.... alsamixer pretends that all on/off controls are mute controls, so press 'M' to toggle it. To select the capture source, press space. HTH Clemens |
From: conrad <con...@gm...> - 2005-10-28 17:44:37
|
Hello can anyone explain this enties in generell or is there a documentation. ?? Am Freitag, 28. Oktober 2005 14:19 schrieb Alexander Fortin: > > What is the output of "amixer contents"? > > numid=5,iface=MIXER,name='Master Mono Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=6,iface=MIXER,name='Master Mono Playback Volume' > ; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0 > > : values=23 > > numid=1,iface=MIXER,name='Master Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=2,iface=MIXER,name='Master Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=23,23 > > numid=3,iface=MIXER,name='Headphone Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=4,iface=MIXER,name='Headphone Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=24,24 > > numid=31,iface=MIXER,name='3D Control - Center' > ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0 > > : values=4 > > numid=32,iface=MIXER,name='3D Control - Depth' > ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0 > > : values=0 > > numid=28,iface=MIXER,name='3D Control - Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=27,iface=MIXER,name='PCM Out Path & Mute' > ; type=ENUMERATED,access=rw---,values=1,items=2 > ; Item #0 'pre 3D' > ; Item #1 'post 3D' > > : values=0 > > numid=22,iface=MIXER,name='PCM Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=23,iface=MIXER,name='PCM Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=25,25 > > numid=14,iface=MIXER,name='Line Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=15,iface=MIXER,name='Line Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=0,0 > > numid=16,iface=MIXER,name='CD Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=17,iface=MIXER,name='CD Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=29,29 > > numid=13,iface=MIXER,name='Mic Boost (+20dB)' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=30,iface=MIXER,name='Mic Select' > ; type=ENUMERATED,access=rw---,values=1,items=2 > ; Item #0 'Mic1' > ; Item #1 'Mic2' > > : values=0 > > numid=11,iface=MIXER,name='Mic Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=12,iface=MIXER,name='Mic Playback Volume' > ; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0 > > : values=23 > > numid=9,iface=MIXER,name='Phone Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=10,iface=MIXER,name='Phone Playback Volume' > ; type=INTEGER,access=rw---,values=1,min=0,max=31,step=0 > > : values=0 > > numid=18,iface=MIXER,name='Video Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=19,iface=MIXER,name='Video Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=0,0 > > numid=7,iface=MIXER,name='PC Speaker Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=on > > numid=8,iface=MIXER,name='PC Speaker Playback Volume' > ; type=INTEGER,access=rw---,values=1,min=0,max=15,step=0 > > : values=0 > > numid=20,iface=MIXER,name='Aux Playback Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=21,iface=MIXER,name='Aux Playback Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=31,step=0 > > : values=0,0 > > numid=29,iface=MIXER,name='Mono Output Select' > ; type=ENUMERATED,access=rw---,values=1,items=2 > ; Item #0 'Mix' > ; Item #1 'Mic' > > : values=0 > > numid=24,iface=MIXER,name='Capture Source' > ; type=ENUMERATED,access=rw---,values=2,items=8 > ; Item #0 'Mic' > ; Item #1 'CD' > ; Item #2 'Video' > ; Item #3 'Aux' > ; Item #4 'Line' > ; Item #5 'Mix' > ; Item #6 'Mix Mono' > ; Item #7 'Phone' > > : values=0,0 > > numid=25,iface=MIXER,name='Capture Switch' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off > > numid=26,iface=MIXER,name='Capture Volume' > ; type=INTEGER,access=rw---,values=2,min=0,max=15,step=0 > > : values=0,0 > > numid=33,iface=MIXER,name='External Amplifier' > ; type=BOOLEAN,access=rw---,values=1 > > : values=off |
From: Lee R. <rlr...@jo...> - 2005-10-28 18:46:46
|
On Fri, 2005-10-28 at 19:40 +0200, conrad berhörster wrote: > Hello > can anyone explain this enties in generell or is there a documentation. ?? Um, it's pretty much self explanatory. In order to capture from the mic, you need to go to the "Capture" section of your mixer app and unmute the "Mic" control and raise it's volume. Exactly the same as on Windows or MacOS. Lee |
From: conrad <con...@gm...> - 2005-10-28 19:13:26
|
hello lee,=20 Hmmm, just to be more concrete: what is the numid standing for: what kind of id is this, ALSA, card, mixer.= =20 and is _every_ MultiIO card had to show this details?=20 Am Freitag, 28. Oktober 2005 20:45 schrieb Lee Revell: > On Fri, 2005-10-28 at 19:40 +0200, conrad berh=F6rster wrote: > > Hello > > can anyone explain this enties in generell or is there a documentation. > > ?? > > Um, it's pretty much self explanatory. In order to capture from the > mic, you need to go to the "Capture" section of your mixer app and > unmute the "Mic" control and raise it's volume. Exactly the same as on > Windows or MacOS. well, not exactly the same. In windows, i have a slider and a mute check bo= x.=20 B))=20 sizu c~ |
From: Lee R. <rlr...@jo...> - 2005-10-28 20:52:11
|
On Fri, 2005-10-28 at 21:09 +0200, conrad berhörster Hello mmmmmmmm wrote: > hello lee, > Hmmm, just to be more concrete: > what is the numid standing for: what kind of id is this, ALSA, card, mixer. > and is _every_ MultiIO card had to show this details? > These are ALSA internal, don't worry about them. They are just used to save and restore mixer state. amixer was not intended to be user friendly, it's for debugging, and to allow mixer control from the command line. > Am Freitag, 28. Oktober 2005 20:45 schrieb Lee Revell: > > On Fri, 2005-10-28 at 19:40 +0200, conrad berhörster wrote: > > > Hello > > > can anyone explain this enties in generell or is there a documentation. > > > ?? > > > > Um, it's pretty much self explanatory. In order to capture from the > > mic, you need to go to the "Capture" section of your mixer app and > > unmute the "Mic" control and raise it's volume. Exactly the same as on > > Windows or MacOS. > well, not exactly the same. In windows, i have a slider and a mute check box. > B)) > sizu c~ > If you use the Gnome (preferably 2.12, which limits the view to a standard subset of controls by default) or KDE mixer or alsamixer then you have a slider and check box too. Although, the Gnome 2.12 mixer on my Ubuntu Breezy system seems to have a bug - with my Audigy2 ZS I don't have a "Capture" tab, and all the Capture controls appear on the playback tab. Lee |