I've been looking for an easy way to record the sound output from the onboard audio chipset. Searched the forums but could not find a solution, so...
You have to define the input device, or source, that will be used by default.
This is particularly useful when you want to regularly record the general audio stream (and not a particular external source).
The PulseAudio configuration file is to be copied to the $HOME via the following command:
Code: Select all
cp /etc/pulse/client.conf ~/.config/pulse/client.conf
Then, also in a terminal, the names of the available input devices are identified:
Code: Select all
pacmd list-sources | egrep 'index|name:|muted|device.description|active'
The command output is equivalent to what is displayed in the pavucontrol GUI under the "Input Devices" tab; the default source is the device associated with the physical connectors of the sound card (line-in, microphone, etc.), which is not necessarily appropriate to record soundcard output. To capture the internal audio stream by default, we modify the ~/.config/pulse/client.conf file:
By default, the line we are interested in is commented out :
So it must be uncommented and completed with the name of the input device identified above; e.g. :
Code: Select all
default-source = alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
Once saved, the change takes effect immediately, so there's no need to restart anything... especially the PulseAudio daemon.
Next step : install the "GNOME sound recorder" package.
Code: Select all
sudo apt-get install gnome-sound-recorder
Now you can record anything you want.