This tutorial works on every version of Ubuntu begining from the version 10, with some little details.
Music production on linux is very powerfull, but as many things on linux, it needs some efforts to make it work properly.
With the last versions of ubuntu, the hardware is almost everytime recognized, so you won’t have much problem with that. As well as for the hardware consumption.
I think the best is to install the sound server, and some applications. the rest is a matter of creativity.
Here i explain technically what is needed to begin.
First refer to this article :
JACK is the realtime daemon for managing sound streams inside the OS
so install it :
apt-get install jackd
Install the graphical interface for jack qjackctl http://linuxmao.org/tiki-index.php?page=Qjackctl
apt-get install qjackctl
This interface helps launching/stopping jack daemon, and connecting sound programs.
The default sound server in ubuntu is called pulseaudio (running over ALSA drivers), so we need to make it work with jack :
apt-get install pulseaudio-module-jack
and restart pulseaudio :
If you don’t do that, the program using the default sound server won’t be able to track their sound streams to the hardware.
(this help thread can help you configure pulse audio to work perfectly with jack : http://askubuntu.com/questions/572120/how-to-use-jack-and-pulseaudio-alsa-at-the-same-time-on-the-same-audio-device)
Last detail, you must give to audio streams the right to do realtime.
open the file :
sudo nano /etc/security/limits.conf
Then add those lines :
@audio - rtprio 99 @audio - nice -10 @audio - memlock 250000
Note : On ubuntu 12.04 : sudo gpasswd -a nom_utilisateur audio to give us the right to make realtime
You can route streams from other programs to ardour using jack, record, and add effects to the sound.
sudo apt-get install ardour
then lauch it : ardour5
on Ubuntu 12, launch “ardour4”
keep all default answers at the first run wizard, then choose JACK instead of ALSA, ignore the warning, then open a new work session
try that ardour works using a click and listen that the sound is going out (click on the metronom then click on play button)
refer to the official doc for more information on how to use it : http://doc.ubuntu-fr.org/ardour
Or this : http://fr.flossmanuals.net/ardour/_all (config ardour +jack using qjackctl)
Here is the ardour community portal : https://community.ardour.org/node/13842
other insteresting programs
It has ofcourse many features like adding realtime sound effects, sound editing…
go to the download page : http://www.renoise.com/download
download and extract renoise tar.gz
launch the install script :
Connect to jack and use renoise with ardour
Problem : renoise uses alsa-midi when ardour uses jack-midi.
So, you must first install a2jmidid
apt-get install a2jmidid
then run a2jmidid
Now, you can find a2j device in jack connection kit.
Launch Ardour and renoise, automatically connected to jackd
In renoise : prefs, audio : device type = jack, midi : in device and out device = renoise midi in/out Sync
and enable “jack transport sync”
In ardour midi prefs, tick “send midi clock”
In the jack connection kit, connect Ardour “Clock” to a2j, I mean MTC to Renoise MIDI In.
synchronize your tempos (fx 100bpm in ardour and 100bpm in renoise)
try that it works clicking on play, and see the tracks in ardour and renoise being synchronized.
compose and enjoy
Other links :
Problems with renoise and jack : http://tutorials.renoise.com/wiki/Linux_FAQ#Realtime_Threads