The Advantages of Choosing an Audio Orientated Linux Distribution
Linux distributions have a lot to offer and some are geared more towards certain tasks than others. There is nothing wrong with stock distributions, and any distro can be tweaked to work well for whichever task you wish, provided that you know how to tailor them to that specific task. If you are working with audio, however, choosing a distro specifically geared towards that purpose can save you a lot of hassle.
Audio orientated distributions aren't just stock distributions with audio software installed on top. This is a misconception that a lot of people have, and it is a misleading one. A lot of people don't see the benefits of using one, and instead they just install the audio software they want to use on any given distro. With audio distros there are many layers that are carefully chosen to give you an operating system that will perform well for all aspects of audio production. As well as the end user software being up to date, there are a lot of tweaks under the hood that add up to give you a much better and stable experience with superior performance for realtime audio, compared to any stock distribution.
Why not a stock distribution?
It is an unfortunate fact that much of the troubleshooting on audio software forums and IRC channels ends with a similar conclusion, that it is not the software that's the problem but rather how the users distro is set up, that it is using outdated software libraries, etc. If you have the technical know-how, time and interest to work through these issues, it's not as much of a problem. However for someone who just wants to get down to making music, it is important to not have to deal with these issues. Fortunately, there are some passionate users out there who have helped create audio orientated distributions to make it easier for you to get your audio work done.
Recommended audio distros
There are a number of Linux audio distros, but the two that LMP recommend are KXStudio and AVLinux. We feel they are the best compilations currently available and, as they are both quite popular, it also means they are well tested and stable. They both also have very active communities.
AV Linux is geared towards a complete 'Install, get to work and leave it alone' type of scenario with updates and optional packages completely at the user's discretion, whereas KXStudio is more of a rolling platform with regular automatic updates like a traditional distro.
Advantages – in detail
From an end user point of view, this is an important aspect. If you choose an audio distribution, you don't have to run the latest Linux distros to get up-to-date audio software. You can have the latest and greatest without having to compile the software yourself; it's all done for you. You will also have access to much more audio software than is available in stock repositories.
In addition to the latest user end software, other things such as software libraries, that are important to Linux audio, are also updated more often. These are things that aren't visible to the end user but they do make a difference. They are useful in that they often allow for newer versions of software to be made available to you and they can also help with the stability of audio software in general.
AVLinux, based on Debian 6 which was released in 2011, runs up to date audio software on a very stable base
Linux audio distros are very stable. This is because of the fact that they update their software, while remaining on stable base releases. In the case of KXStudio and AVLinux, software is often made available soon after official releases for that software are made. This means you can have a more stable base, for example Ubuntu LTS or Debian Stable, and not be stuck with older audio software. It's a win-win situation.
Up to date version of LMMS running in KXStudio 14.04
Specific audio performance tweaks
Realtime audio performance is important to many when working with audio software. What this means in real terms is having the recorded signal played back through your playback system without any audible delay. This is important when monitoring your performance. Latency is inherent in computers but there are things that can be done to minimize it.
There are many tweaks, big and small, that Linux distros make under the hood that are beneficial to this and general audio performance. As an end user, you don't need to know the technical ins and outs of what these do. You just need to know that the end result is that audio processes are prioritized by the operating system, thus, allowing you to more easily achieve stable and/or low latency audio.
The maintainers of stock Linux distributions and their repositories take care to get things as correct as possible, however, audio production software and the general Linux audio ecosystem can be very complex. There are often issues that need to be worked out, even with stable distribution releases.
Since the maintainers of audio orientated distributions are so familiar with audio related issues in Linux, they do their best to make sure these areas are as trouble free as possible. They have more direct experience with the inner workings of Linux audio software and its libraries. Also, another thing to consider is that with popular audio distros, the users often pick up on problems as well and report them to the maintainers. Audio orientated distros are far better tested in this regard.
The AVLinux forums
The KXStudio forums are hosted at Linuxmusicians.com
Convenient JACK set up
Almost all Linux distros use PulseAudio for managing audio. While it works well for desktop audio, PulseAudio isn't suited to professional audio. Furthermore, it has been known to clash with JACK in some cases. For these reasons, audio distros usually don't come with PulseAudio installed but rather route all audio, desktop and otherwise, through JACK.
Audio distros have JACK set up in a way so you have to deal with it as little as possible. This includes using bridges between general desktop audio and JACK. All this is done in the background so you don't even need to be aware of it. This makes for a very convenient audio set up that allows you to enjoy normal desktop audio from your browser, media players, etc, as well as from JACK software.
KXStudio has JACK set to run automatically upon login. From the end user point of view, all audio just works. There is no starting and stopping JACK. You will have to make sure that JACK is set up with your audio interface initially, but after that you can almost forget it is there.
Cadence in KXStudio. Note the option to auto-start JACK at login
One thing that almost all audio distros have in common is a lightweight or stripped down desktop environment. For example, AVLinux comes with XFCE, while KXStudio comes with a stripped down version of KDE that is more lightweight than the stock KDE (disabled effects, etc). These decisions are made to maximize available system resources. Newer, and more fully featured, desktop environments have heavier overheads. This can affect audio performance. The choice of a low demand environment on many audio distros helps you get the most out of the hardware you already have.
A lot of people like fancy desktop effects but these can put strain on the computer if you are, for example, trying to utilize realtime monitoring or if you are mixing with a lot of plugins. The use of lightweight/stripped down desktop environments can help towards making audio performance more reliable. Aside from realtime performance, they can get more out of your system than heavier and non-optimized systems.
AVLinux uses the lightweight desktop environment XFCE
Not Just for Audio
If you are focused on using Linux for audio, there really are no downsides to choosing an audio orientated distro. Some non-audio software might be outdated but if you are working with mostly audio software, you can be sure that this software will be up to date. Also note that while these distros focus on audio, many also cater towards the wider multimedia ecosystem and also often include up to date version of graphics and video editing software (Inkscape, Kdenlive, Blender, etc). If you are serious about any aspect of multimedia, you will be far better served by using an audio distribution that leans towards those requirements.
Inkscape and GIMP in KXStudio
If you are using Ubuntu and are interested in using a system more tailored towards audio production, you don't necessarily need to reinstall. KXStudio is based on Ubuntu/Debian. It comes as a live disc that you can try out or install but its software repositories can also be added to any existing Ubuntu or Debian install. There are instructions on how to do this in the FAQ section of the website -
I am running Ubuntu/Debian. How do I update to KXStudio without having to do a reinstall?
Updating from Ubuntu to KXStudio is as simple as copying and pasting a few lines in a terminal
If you want a stable audio work environment and don't want to do the tweaking yourself, there is no better starting point than an audio orientated Linux distribution. You will have access to all your usual desktop software alongside an up-to-date, stable audio recording environment.
Written by Conor Mc Cormack