Catch up with the audio and music tools on Ubuntu Hardy
Updates: per readers’ request, I have added Hardy backports to all packages mentioned in this article (except Pulseaudio where the appropriate section isn’t clear) in my PPA. I have also added newer ALSA packages.
Many Ubuntu users have chosen to stick out with Hardy, the Long Term Support (LTS) release, supported until April 2011 (or 2013 for the server edition). But support mostly means security fixes, not necessarily updated versions of popular software; the Hardy Backports project doesn’t necessarily keep pace with our favorite packages. In my case, I wanted the latest version of Rosegarden (1.7.2), the audio / MIDI / score editor and sequencer.
Fortunately, there is a way to enjoy fresh software while still postponing the dreaded dist-upgrade (or clean reinstall) marathon for as long as Hardy remains supported. The solution is to download source packages from later distributions, compile them on your system, and install the resulting binary packages.
You can either add entries to /etc/apt/sources.list and then run apt-get source … (disruptive because it enables “future” versions for all packages), or use dget manually:
dget http://ftp.debian.org/debian/pool/main/p/pulseaudio/pulseaudio_0.9.10-3.dsc dpkg-source -x pulseaudio_0.9.10-3.dsc
Either way, to build the package you then
cd pulseaudio-* debuild -uc -us -b cd ..; dpkg -i # your packages here
(if the build fails you may need to install extra -dev libraries). Some good places to scout for updated versions include:
- Debian Sid (Unstable) packages
- Intrepid packages
- Intrepid updates
- Ubuntu Jaunty packages (the next version of Ubuntu, unreleased as of this post)
In all cases, you can go directly to a package by appending its name to the above URL’s; and once you got to a package page, you will find a link to the .dsc file you need to dget (as explained above) on the right side. Keep in mind that not all packages will compile on Hardy — you will have to experiment.
Back to audio packages — the reason I mentioned the Debian Sid pulseaudio package is because (unlike Ubuntu) it includes module-jack-sink, which allows Pulseaudio to run on top of the low-latency jackd daemon. This means you can have Jack and some music applications (like a soft synth and Rosegarden) running perfectly, and still be able watch YouTube videos (without having to kill and later restart Jackd). As with any Pulseaudio on Hardy setup, you will still need libflashsupport in order for Mozilla to be able to connect to Pulseaudio (same with Opera).
I also recommend the following: jackd 0.1.116 (again from Debian Sid); Fluidsynth 1.0.8 (from Intrepid); qjackctl 0.3.4 (from Ubuntu Jaunty); and finally, rosegarden 1.7.2, for which I couldn’t find any distribution to leech from — use the version in my PPA (obtained by updating the Intrepid package to the latest upstream release). The PPA page contains the instructions for enabling it in APT.