Hi, recently I installed Audacity 2.0 in my openSUSE 12.1 system (PACKMAN repository version). As far as editing and playback is concerned it works as expected. Now I’m interested in recording web radio. I’ve tried several combinations (input/ouput sources, volume control and Software Playthrough option) and got various results ranging from horrible screeching noise to flat line being recorded to Audacity freezing… I can always record web radio using my laptop’s internal mic but the quality is bad. I noticed that in my Audio Information under Help at the end of the list I get the message “Unable to open Portmixer”. BTW, in the audio devices list I get the following devices
That’s probably not a problem. I’ve often seen that on setups that work perfectly. I think it is just an information thing rather than an error (though I don’t know its significance if any).
As you don’t appear to have PulsseAudio running it will depend on your ALSA drivers.
Have a look in the recording (capture) settings in AlsaMixer and see if there is an option to select “Mix” (or similar) as the capture device.
To open AlsaMix, open a terminal window and enter:
alsamixer
To exit AlsaMixer, press the Esc key.
For the AlsaMixer manual, open a terminal window and enter:
man alsamixer
To quit the AlsaMixer manual, type the letter “Q”.
Just a quick addition:
Although installing PulseAudio should provide an option for recording sounds that are playing on the computer, you need to be a bit cautious about installing PulseAudio as it links deep into the system and can be very difficult to remove if you have problems with it.
Have a look at AlsaMixer first, if you have a “Mix” option then that will probably be the easiest solution. If you don’t then we can look at other options.
It should be showing in the Device Toolbar, right?
Another thing. Today I managed to have my first line recording of web radio. Problem is the procedure is not consistently reproducible. In fact, it only happened once when I quit Audacity and the system informed me that there was still another instance of Audacity running. I had to manually kill that before I was able to start Audacity again. Something must be wrong with my audio setup.
If PulseAudio is running when Audacity is launched then it should be listed in both the recording (Input) and playback (Output) boxes of the Device Toolbar and in the “Help > Audio Device Info”.
I followed the instructions in https://forum.audacityteam.org/t/playback-issue-with-pulseaudio/23013/1 and created a /etc/asound.conf file. After reboot PulseAudio appeared as pulse in both input and output devices. However, the volume control for input is greyed out (set to max). Still, I can record fine but the quality is bad (worse than that achieved by the internal mic) with cracks all over. Also, it appears to be slightly biased towards the negative sign.
Any ideas how to improve the quality or how to un-grey out the input volume control?
That is by design. The PortAudio audio interface Audacity uses can’t consistently control the pulse input level control due to technical limitations. If you select the (hw) direct hardware choice in Device Toolbar’s input device you might be able to control the input slider.
Have you installed pulse audio device chooser? You may actually be recording from a monitor of the internal mic or similar.
Have you tried adding this to the bottom of your /etc/asound.conf file?
pcm.StereoMix {
type pulse
device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
}
You have to get the device name (after “device” above) by running
pactl list | grep -i "monitor source"
in a terminal. If this works then you should have a “StereoMix” input you can choose in Device Toolbar.
These tips are Steve’s detective work so he will be able to help you later if you still have issues.
Wow! I can’t believe my ears and eyes! Stereomix now appears in my Devices Toolbar AND the recording is perfect! What’s more, no need to adjust the input volume control (it’s still greyed out) as it is a a true WYHIWYG process.
Thank you both Gale and Steve
Pascal
PS. The device name was actually the same as yours.
Before that trick I was actually doing just that, i.e. record from the internal mic disguised as pulse. padevchooser is not available to openSUSE but I installed it now to Fedora. It’s not a widely known pulse audio utility, though it clarifies things a bit.
padevchooser is not particularly important. The important thing is that installing padevchooser will also install PulseAudio Volume Control (pavucontrol).
The main benefit of padevchooser is that it gives convenient access to pavucontrol (but pavucontrol should also be available in the applications menu, or you could create your own launcher.
pavucontrol shows a lot about what is going on in PulseAudio and provides important controls. PulseAudio recommend installing pavucontrol if PulseAudio is used.
You may find this article of interest: http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/PerfectSetup (though some of the information is now out of date).