Recording sound with PulseAudio from Line-In and Microphone, not working
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Recording sound with PulseAudio from Line-In and Microphone, not working
Would like some help to get sound input to work so that can record from line-in and from microphone using PulseAudio sound server with Gnome Sound Recorder 2.30.0. From installation of Suse 11.3.
Problem recording sound with gnome-sound-recorder 2.30.0. Trying to use both line-in and microphone. Neither shows up as selectable in gnome-sound-recorder. The only choice for device in gnome-sound-recorder is "capture", but it is not recording any sound. Using pulseaudio, and have all installed:
Also have the pa esd support installed which links /usr/bin/esd to esdcompat.
When connecting a sound source to the line-in of the sound card, get output to the headphone jack. Pulseaudio shows nothing in the meter for pavumeter. Muting volume does not change volume output from line-in to the headphones. Sound output in Banshee is working, and opening a wav file in gnome-sound-recorder gives sound output for the wav file.
Trying the alsa_input as a "PULSE_SOURCE=alsa_input..." to gnome-sound-recorder gives no sound recording from line-in or mic.
From Pulseaudio Volume Control, the recording tab shows "no application is currently recording audio" but will show gnome-sound-recorder when trying to record from it; configuration is set to "analong stereo duplex". Input devices shows: "monitor of source of simultaneous output to internal audio analog stereo" and "monitor of internal audio analog stereo". Both input devices show no sound coming in while sound is connected to line-in and playing on the headphones.
From Pulseaudio FAQ, www.pulseaudio.org, considered audio group 2, which uses HAL and console kit to dynamically give access to currently active user.
Code:
cat /proc/modules | grep snd
Code:
snd_pcm_oss 47613 0 - Live 0xf7c31000
snd_mixer_oss 16751 1 snd_pcm_oss, Live 0xf7bfa000
snd_seq 57343 0 - Live 0xf7be4000
snd_via82xx 22603 3 - Live 0xfacd4000
snd_ac97_codec 106049 1 snd_via82xx, Live 0xfacab000
ac97_bus 1066 1 snd_ac97_codec, Live 0xfa06d000
snd_pcm 87978 4 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 0xfa049000
snd_timer 21669 2 snd_seq,snd_pcm, Live 0xfa01d000
snd_page_alloc 8041 2 snd_via82xx,snd_pcm, Live 0xfa00b000
snd_mpu401_uart 6929 1 snd_via82xx, Live 0xf8ffd000
snd_rawmidi 22277 1 snd_mpu401_uart, Live 0xf8fdb000
snd_seq_device 6566 2 snd_seq,snd_rawmidi, Live 0xf877d000
gameport 10289 3 snd_via82xx,ns558, Live 0xf81ec000
snd 65724 15 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device, Live 0xf8170000
soundcore 7379 1 snd, Live 0xf8030000
After nearly 30 hours of trying to get line-in and microphone to work with Pulseaudio, I gave up in frustration and sent Pulseaudio to the crapper. It worked for audio output, but failed on audio input. Tried all the settings that I could think of. Tried what pulseaudio web sites said to try. Could have been a simple setting. Really expected sound to work out of the box with Pulseaudio like it did before with alsa.
Went back to alsa. Deleted all Pulseaudio and added alsa and esound for gnome. After 2 hours, it works for line-in. Have not checked microphone yet, but it should be working too. The alsa mixer gui looks like it uses really old graphics. Hasn't it been updated to reflect the newer Linux guis?
But now the speaker icon on the gnome panel has disappeared, that used to allow adjusting the sound level. Right clicking the panel to "add to panel" only has a different "volume adjuster" icon that is deprecated and does nothing if you try to add it. How do I get the original gnome volume control icon back? And, there was a problem with the gnome panel volume control icon, it only went up to 100%, which resulted in low volume, and opening the gnome sound utility allowed adjusting the volume up to 150% with amplifier control, and then the gnome panel would show it as 150% with a pop-up and right clicking it would allow you to either mute the sound or edit sound preferences (where you could adjust it up to 150%).
I would still like to figure out how to get Pulseaudio to work for sound input with line-in and microphone. Have other Linux users been able to get it to work? It could just be a simple setting that I had wrong.
The alsa mixer gui looks like it uses really old graphics. Hasn't it been updated to reflect the newer Linux guis?
Alsa uses an ncurses interface. The plus is that you can have the ncurses graphical interface without starting a GUI. For those of us who don't like or need to use a window manager for everything all the time, this means we can configure ALSA easily from the command line.
I consider that a plus.
I have had trouble with pulse on some computers. I don't consider it ready for prime time. I've never had problems with alsa.
There's a difference between cutting edge and over the edge.
Alsa uses an ncurses interface. The plus is that you can have the ncurses graphical interface without starting a GUI.
You mean running
Code:
$ alsamixer
from the command line. Hadn't thought about it using ncurses. I've used that form of alsamixer, although I was talking about the alsamixer gui application.
Quote:
There's a difference between cutting edge and over the edge.
Pulse audio did have a lot of nice features about it, but if it does not work what good is it, right? Has anyone been able to get PulseAudio to work with Line-in and Microphone? And if so, what settings did you use...it could be I had the wrong settings.
One bad part about Linux sound, is that the volume levels have always seemed very low compared to the same system with windows. Have not found a solution to this. It seems that the sound driver sound levels are mixed up in Linux. While it is not part of this post, I thought that I'd mention it as PulseAudio is supposed to be the next great thing for sound in Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.