View previous topic :: View next topic |
Author |
Message |
mc_bluebeard n00b
Joined: 12 Jun 2003 Posts: 59 Location: Cambridge, MA USA
|
Posted: Wed Jul 19, 2006 2:38 pm Post subject: Microphone with Alsa --- I need a tutorial! (SOLVED) |
|
|
Hi,
I'm using alsa and have to-date, no complaints. However, I need
to record my own voice now and unable to do this. I can't even seem
to find a tutorial online for how to correctly configure alsa so that i
can get recordings from my mic.
Can somebody offer me advice on how to diagnose my problem and
start to fix it?
I realize this is VERY vague. What config files, etc can I provide to help?
THX *so* much! _________________ I do not belong on this mission and I want to return to earth.
Last edited by mc_bluebeard on Wed Jul 19, 2006 7:16 pm; edited 1 time in total |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Wed Jul 19, 2006 2:52 pm Post subject: |
|
|
First, run alsamixer in a console. Verify that the microphone setting is not muted (unmute by clicking 'm'), and ensure the volume is increased for it.
Second, adjusting it in your desktop environment depends on what you are using. Which are you using? |
|
Back to top |
|
|
mc_bluebeard n00b
Joined: 12 Jun 2003 Posts: 59 Location: Cambridge, MA USA
|
Posted: Wed Jul 19, 2006 3:05 pm Post subject: thanks...unmuted, vol increased |
|
|
Thanks for your reply.
The microphone is unmuted and the volume is set to 60%.
(I noticed that, when I increase it to 100%, I succeed in
getting a screetching sound out of my speakers).
I am unable to record using the following command:
arecord -d 10 -f cd -t wav foobar.wav
The wav file ends up empty.
Any next steps? How can I give you a configuration dump or
something like that?
Thx!! _________________ I do not belong on this mission and I want to return to earth. |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Wed Jul 19, 2006 3:10 pm Post subject: |
|
|
The screeching is due to feedback. You can consider that a good sign that your microphone is working.
is arecord a KDE application? |
|
Back to top |
|
|
mc_bluebeard n00b
Joined: 12 Jun 2003 Posts: 59 Location: Cambridge, MA USA
|
Posted: Wed Jul 19, 2006 3:12 pm Post subject: arecord |
|
|
arecord is a command line app. i'm using gnome here, sans qt.
thx **so** much for your help! _________________ I do not belong on this mission and I want to return to earth. |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
Posted: Wed Jul 19, 2006 3:19 pm Post subject: |
|
|
Ok, just for the record, I don't have a desktop environment up at the moment, so I cannot test before providing advice.
So it sounds like (pardon the pun) you are running a console application (arecord), in a Gnome environment. Gnome should have it's own alsa mixer. Find it, open it, and review the settings there also. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Jul 19, 2006 3:46 pm Post subject: |
|
|
forgotten1 wrote: | The screeching is due to feedback. You can consider that a good sign that your microphone is working.
is arecord a KDE application? |
Additionally, depending on your model sound card/chip there are often several other mixers controls that affect the mic volume.
They are not always clearly mark, so it can be trial and error. (On mine I have Mic Boost and Capture Level in addition to the Mic volume slider.) |
|
Back to top |
|
|
mc_bluebeard n00b
Joined: 12 Jun 2003 Posts: 59 Location: Cambridge, MA USA
|
Posted: Wed Jul 19, 2006 4:53 pm Post subject: |
|
|
Still no luck here w/ various permutations of
Mic Boost, Mic, Mic Select, & Stereo Mic for
both Playback and Capture.
I'm dismayed here. I know this has to be a
config thing.
(Also, I'm not running and gnome sound stuff)
Any advice? Ugh!
Here's my /etc/asound.state
Code: |
state.I82801DBICH4 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 28
value.1 27
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Headphone Playback Volume'
value.0 31
value.1 31
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Master Mono Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 0
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Phone Playback Switch'
value false
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 30
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Playback Switch'
value true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 19
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Mic Boost (+20dB) Switch'
value true
}
control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Line Playback Switch'
value.0 true
value.1 true
}
control.13 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 29
value.1 29
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'CD Playback Switch'
value.0 false
value.1 false
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 29
value.1 29
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Aux Playback Switch'
value.0 false
value.1 false
}
control.17 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 28
value.1 28
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'PCM Playback Switch'
value.0 false
value.1 true
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 0
value.1 25
}
control.20 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 2
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 Aux
value.1 Aux
}
control.21 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 false
value.1 false
}
control.22 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 10
value.1 10
}
control.23 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.24 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select Capture Switch'
value Mic1
}
control.25 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Stereo Mic'
value true
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Jack Sense'
value false
}
control.27 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Line Jack Sense'
value false
}
control.28 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'External Amplifier'
value true
}
}
|
thx!! _________________ I do not belong on this mission and I want to return to earth. |
|
Back to top |
|
|
forgotten1 Guru
Joined: 11 Jan 2005 Posts: 477 Location: East Coast, USA
|
|
Back to top |
|
|
mc_bluebeard n00b
Joined: 12 Jun 2003 Posts: 59 Location: Cambridge, MA USA
|
Posted: Wed Jul 19, 2006 7:16 pm Post subject: |
|
|
that 1st one got it!
Now I have dragon nat. speaking working under
vmware. Works like a champ.
Thx for your help! Gentoo::great_community() _________________ I do not belong on this mission and I want to return to earth. |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Wed Jul 19, 2006 8:01 pm Post subject: |
|
|
mc_bluebeard wrote: | that 1st one got it!
Now I have dragon nat. speaking working under
vmware. Works like a champ.
Thx for your help! Gentoo::great_community() |
So it was another mixer: Igain?
(Make it easier for others if they read this.) |
|
Back to top |
|
|
mc_bluebeard n00b
Joined: 12 Jun 2003 Posts: 59 Location: Cambridge, MA USA
|
Posted: Wed Jul 19, 2006 8:04 pm Post subject: |
|
|
igain!
yes it was igain!
(um, wtf is igain...why so many mixers!) _________________ I do not belong on this mission and I want to return to earth. |
|
Back to top |
|
|
|