Notes about Linux (Gentoo) - Sound

(Or, back to main notes index)



  • Following command to rip CDs:
ogg: rip -b 192 -c -e -f "T-S" -T
mp3: rip -q 3 -c -e -f "T-S" -T -L -v
  • Following command to rip CDs with jack and generate an ogg file:
cd /home/shared/music/justripped; jack --create-dirs --query-now --rename --bitrate 192 --quality 6 --rename-fmt 'l_t' --rename-fmt-va 'l_t'--remove-files; eject; sleep 60; rm jack*;
  • If MusicMagixMixer does not work try:
to deactivate vnc in xorg.conf
Insert into mmm.ini the following
host=music2.predixis.com
proxyport=80
Or just to switch off the network.
  • If you have more than 1 sound soundcard in your system you can choose the right one in mplayer by:
Have a look at the file /proc/asound/pcm
In that file have a look at the numbers at the beginning like 00-01
In mplayer give the option "-ao alsa:device=hw=0.1"
  • To save a radio stream using mplayer run "mplayer -dumpstream <streamaddress>"
  • The configuration files of Amarok are located under:
- ~/.kde/share/apps/amarok (stored in a SQLite database)
- ~/.kde/share/config/amarokrc
  • Use Pulseaudio to stream audio from multiple clients to a central server.
  • Ardour: a multi-track recorder.
  • To avoid that Amarok displays a message saying something like Xine was unable to initialize any audio drivers, modify in the configuration (ev. directly edit the file ~/.kde/share/apps/amarok/xine-config) the parameters as follows:
    audio.device.alsa_default_device:plughw:0,0
    audio.device.alsa_front_device:plughw:0,0
(have a look at cat /proc/asound/pcm for the device numbers)