Current Articles
Aug19

Written by:Chris Scheidies
Sunday, August 19, 2007 12:07 PM 

Just the thought of Linux conjures up many different variants of emotion. For some, there are thoughts of freedom; for others there are thoughts of horror as hours of lives have been lost trying to configure this beast. Does Linux have anything to offer the Pro Audio community? I hope to shed some light on this subject for you, as I do believe that Linux is a tremendous gift to the Pro Audio community and society as a whole.

I am not going to give you an entire history lesson about how Linus Torvalds created the first Linux kernel and so on. There are huge books and thousands of web sites on the subject. If you do want a history lesson I would suggest Wikipedia. I am going to discuss modern audio technologies, the Linux equivalents, different high end Linux audio programs, and different Linux flavors.

I’m involved in the 3D animation and compositing world, and in these markets Linux is the norm rather than the exception. So, if any of you do post- production work it may be beneficial to at least know what Linux is and be able to talk to your clients intelligently about it. We will also discuss the pros and cons of Linux since you need to know the good, the bad, and the ugly.

A Linux Primer

If you have never heard of Linux before there are a few things that we should discuss. First, Linux is not “set in stone” and can take many forms. It is not OSX 10.4, for example. When someone says they don't like Linux that usually means that they don't like a certain variant of it. It is probably the only variant they have tried. Linux can be used in mobile phones, Tivo, and even complete operating systems. It is so flexible (both the license and the software itself) that there are actually versions of Linux designed with the sole purpose of being used in a recording studio. Everything from the driver to the included software will get you up and running, recording music very quickly.

When a custom version of the Linux operating system is designed, it is called a distribution. This is really one of the most confusing things about Linux. Some of the more popular distributions or “flavors” of Linux are Red Hat, Suse, and Ubuntu. The license to the Linux kernel guarantees that it will always be free both in a monetary sense and in a freedom sense. No one can own Linux. To use Linux in a project you must agree to put those projects back out to the community. To learn more about the Linux license here is another Wikipedia link.  The good news is that most Linux related projects are free to the end user.

I am not a programmer. The thought of tweaking a Linux system at a low level fills me with dread. So I found ways to get a reliable Linux system running without too many tweaks. I am looking for a quick, out of the box, up and running experience. Apologies in advance if I leave someone’s favorite distribution out. I am writing this article with the Pro Audio community in mind - not the computer hacker Linux community.

Before we dive in, it would also be a good idea to discuss some of the technologies in Linux and the more traditional software equivalents. As most of you know, you can’t do audio in the computer without a low level audio driver. This ensures that latency is kept to a minimum. Windows has ASIO and WDM, OSX has Core Audio, and Linux has ALSA (Advanced Linux Sound Architecture.) The list of pro audio interfaces that are supported is staggering. This page can tell you if your sound card is supported.

Another fantastic gift to the Pro Audio world is from Propellerheads. They found that there was a need to move audio and MIDI data in real time between different applications, and thus Rewire was born. Linux has a similar technology called JACK. This works just as well as Rewire, if not better as it has more than sixty-four audio channels. The last Linux technology that needs defined is the main plugin format. Windows and Mac users have VST and Audio Units. Linux users have LADSPA (Linux Audio Developer's Simple Plugin, API.) This plugin format works amazingly well. There are hundreds of plugins available in this format and most of them are free. However, there are no commercial plugins. I would love to see URS and Waves make plugins available in LADSPA form.

Popular Distributions for Audio

So let’s take a moment to discuss Linux distributions designed for the Pro Audio user (there are several ways to get Redhat and Ubuntu turned into a Linux DAW, but it almost always seems easier to just get a distribution that’s designed for it.) Almost all of these are free so if you have a spare computer sitting around feel free to download anything in this article and play.

First stop: Ubuntu Studio. If you have not guessed it from the name, it is a modified version of the Ubuntu distribution. This distribution is designed for the Multimedia Professional.

 

Its focus is not only on audio, but video and animation as well. The strength of this distribution lies in the fact that it is based on Ubuntu. There is simply an overwhelming amount of tutorials, forums, and so forth on how to tweak and use Ubuntu on the web. It has a very nice installer and is easy to use.

The next distribution we are going to look at is 64Studio.This distribution is based on one of the oldest distributions of Linux, Debian (Ubuntu is also based on Debian.)

Like the its name, it is designed for sixty-four bit operating systems. This is a significant upgrade over Windows XP Pro, as sixty-four bit processors give you a huge performance upgrade and the ability to handle much higher RAM counts. The company that makes 64Studio, (64 Studio, LTD) offers commercial tech support for the distribution. This makes the distribution very appealing as Linux is often criticized for not having enough tech. support options. This distribution also has something for all Multimedia Professionals, but its main focus is Audio Professionals.

The last distribution to discuss is different in this aspect: it is a “live” distribution. This means a person can boot off the CD/DVD and receive a full operating system without changing the contents of your hard drive. It’s an ingenious concept, but I feel that most Audio Professionals will want their operating system installed on the computer. Luckily, you can install about any “live” distribution to the hard drive.

The name of the “live” distribution designed for audio (and not as much for video and multimedia) is Studio To Go. The cost is $150.00 (U.S.) - you are basically paying for support. It has tools built in to perform professional recording, mastering, sequencing, and notation. If you look at the picture, you can see that it has support for VST plugins (this feature is not unique to Studio To Go). The user can add notation to any of the distributions, which is wonderful that the creators of Studio To Go thought of this particular feature as a priority. Hundreds of soft synths also come with Studio To Go ready to be utilized.

Audio Software

Now that you have a Linux distribution up and running, let’s talk about what software you are going to use. First of all, you will need a DAW. The 10,000 pound gorilla in Linux multitrack digital audio workstations is Ardour. This is a fantastic application. It very much tries to emulate the feel of Pro Tools. It supports full automation, loop recording, external control surface support, LADSPA plugin support, it can sync to MIDI time code and is just a fantastic editing environment. I have used Ardour from start to finish in two different CD’s and was blown away.

One of Ardour's coolest features was its crash recovery. I have never used a DAW software that I couldn’t crash, but I have used a few that came close. When Ardour crashed, the program restarted in under five seconds, and all my inputs and outputs where routed correctly. Plus,the tracks that I had armed to record where still armed. It was almost as if it didn’t crash at all, like it took a snapshot of itself just before crashing. Amazing! In fact, never once did my clients even know that it had crashed. Unfortunately, the same can’t be said for Pro Tools. As you know, when it crashes its a big mess.

So the million dollar question will obviously be: “Is it as good as Pro Tools, Sonar, Nuendo, or Logic?”

Yes and no. The MIDI support in Ardour is very lacking although that is being worked on. Ardour performed its best for me on live recording projects and not composition. It’s a fantastic editor/recorder/mixer. I would not recommend it as a tool for song writing. The biggest negative is that learning Ardour will not get you a job. I don’t care what anyone tells you; if you want to be a studio engineer and work for someone else then you learn Pro Tools. Period. Not learning Pro Tools is like a graphic designer refusing to learn Photoshop.

Now most people on ProRec own studios, or just record their own bands. Then you don’t need to worry about what everyone else uses and you can use what ever you want. One last thing about Ardour: There is a OSX version, so you Mac users can have at it!

Next, of course, we need a dedicated audio editor. There is no clear leader here but the top three are: Audacity, Sweep, and Rezound. They are all actively developed and have similar functionality. Audacity does have both OSX and Windows versions as well so anyone can use it.

For the purpose of this article, let’s focus briefly on Sweep. Sweep has the features you would expect from an audio editor. The user can zoom with the scroll wheel. It supports LADSPA plugins, Scrubbing, 32-bit files, and live audio recording. I also love that I can change the color scheme. Sweep is a joy to use. One thing that must be said about both Linux and OSX programs: They do one thing and do it well! Many Windows programs tend to be jack of all trades, master of none, monolithic programs. I love the simple elegance that I receive when a program just does its job. That’s how I’d describe Sweep-it just works!

Next, let’s discuss two MIDI sequencing programs: Rosegarden and Hydrogen. Rosegarden is almost a full featured DAW (although I prefer the audio features in Ardour.) But its focus is MIDI sequencing. As you can see from the screen shot, it does not necessarily have the most modern look, since most Linux programs go for function over form. It reminds me of old Opcode stuff. I personally don’t care how a program looks as long as it does a fantastic job.

Rosegarden excels in a few areas. First it has excellent support for external synths. I know many readers are soft-synth only users and are amazed that anyone ever had to actually plug in a MIDI cable. But for those of us that still have fond memories of tweaking that real ADSR envelope to get the sound just right will love being able to plug everything in to a MIDI patch bay and patch right in to your old synth and tweak away, without having to change your workflow. Very nice! Rosegarden also has great notation features. It supports LADSPA as well as JACK so it can play well with most other Linux audio programs.

I would suggest that Hydrogen is like Reason’s Redrum module on steroids. It’s a pattern-based sequencer that you can load your own .wav files in and jam away. Perfect for those Hip-Hop or Electronic music folks. I love this program. Again its very simple but what it does it does very well. A user can sequence with a MIDI input device or with the pattern editor and then export the performance as a .wav file or a MIDI file. It has a full mixer and supports JACK, so you could run the audio directly into Ardour. Great stuff. Hydrogen also has Windows and OSX versions. So I expect to hear some block rockin’ beats from everyone!

Finally, after all your recording and music making is done you will need to master your project. Thats where JAMin comes into play. This is an amazing full-featured mastering suite. Think of it like T-Racks. It has a spectrum analyzer, lookahead brick-wall limiter, loudness maximizer, and all kinds of other tools that an inexperienced engineer can get in trouble with. I have used this program in a pinch when a project did not have the budget for full-fledged mastering, and the results where exceptional. A user should definitely work with a professional mastering house when possible, but if the money is not available then this is the next best thing. The user interface is clean and self explanatory. It also supports JACK so I can run my audio output from Ardour right in to it without having to bounce down to a stereo .wav file. It’s just a nice little time saver and it sounds great!

Conclusions

So what is the conclusion to all this tinkering? Is it time to throw out your current DAW and switch? That’s a tough call. Linux is as perfect an audio platform as OSX is with audio drivers being built in to the heart of the operating system. But it can be a fickle friend. If Linux breaks, it can be difficult to reconfigure. There are times when installing a program can be difficult (although most of the time it’s easier than installing a program in Windows, but not always). If your audio card does not work “out of the box” then if can be very challenging to set up if you are new to Linux.

Don’t let the zealots fool you. I love Linux but it still can be challenging to work with at times. That being said, I love having full control of my system, not having to worry about viruses or spyware  - and most of the time it is a very predictable system. Not to mention the financial situation, which is great, as the user doesn’t have to purchase any software at all. If I’m being particularly tweaky I can write whatever functionality into the software I want. If only I was a programmer. A comforting fact: no company is going to go out of business and leave the users in a pinch. If the developers get bored, another team of programmers can pick up where they left off and there are no legal issues.

I personally have not completely replaced my studio with Linux. I have a Mac that runs Reason/Pro Tools and Logic, a Windows PC that runs GigaStudio, and a Linux machine that runs Studio64 with Ardour/Hydrogen/JAMin as the main apps. This way I get the best of all worlds.

I am amazed at how far Linux has come in the last few years. The sheer amount of programming hours that has gone in to all the programs available is staggering. I don’t think it’s time to throw out Sonar, Digital Performer, or Logic for Linux but I think its fair to say that musicians and engineers do have a third platform choice now that is completely capable of competing in a Pro Audio environment. For more Linux audio information, visit my Linux for Audio forum here on ProRec.

Other Important Links: 
 
 

Tags:

26 comment(s) so far...

great read. ive been wanting to try linux but didnt dare. now that spare computer is going to get some use

By big tone on  Monday, August 20, 2007 10:55 PM

Thanks for this Chris. Very interesting. This may be in my future is vista doesn't get straightened out.
Paul

By Paul G on  Tuesday, August 21, 2007 6:44 AM

I just posted this on the Mac V. Pc article I'll copy it here. When my beige G3 started showing signs of old age I found mac expensive ,windows dislikable and both meant buying new software as OS9 was as obselete as the G3 so I took a look at Linux.I now have a PC with Mac stability a DAW (Adour) that is comarable to protools and I never have to deal with people sitting in the control room telling me how to do my job. Just thought I'd throw that at ya for fun.I guess everyone got an opinion and it really comes down to personal preferences in the end.

By retep on  Friday, August 24, 2007 1:57 AM

It's a completely new platform. The big problem is: how many plug ins are available for Ardour yet? It is imperative that it supports pc VST, or even both pc and mac VST. Can it support Digidesign Audio Engine/RTAS/TDM like DP and Logic?
What are the professional market limitations in the long run?
The Ubuntu Studio site has been down for days. That doesn't make them look very good.
Of course it is any professional's dream (and my dream) to finally have a professional alternative in a free, open source platform. If Ardour was made to mimic perfectly the Pro Tools interface it would be even more interesting! Imagine the possibilities for education. We still have to wait though. It's still a dream in Alpha stages.

By Jonathan Grand on  Friday, August 24, 2007 8:19 AM

Yes it's a new platform.There are hundreds of good quality plugins for Ardour although they don't have the eye candy of VST plugins (yet).Why is VST support imperative?Pc VST support can be compiled into Ardour.Ardour runs on Mac platform just as well as linux and can be intergrated into any digidesign/logic setup! What are the professional market limitations of anything?Ubuntustudio is still in beta stages.You don't mention any other audio distro's there's a lot more to linux than ubuntu.Try using ardour it has a lot of features pro tools hasn't got.SAE has already seen the education possibilities and become Ardours major sponsor.Those who wait and dreamers get left behind..............cheers

By retep on  Friday, August 24, 2007 8:28 PM

Whoa wtf... you need to relax ok? If you wanna get too excited go talk to the kids on Gearslutz or something. Don't talk to me with an aggressive attitude. I don't care if they're good quality or not, there's "good quality" dx plugins, doesn't mean professionals are using them. I care if they're the SAME plugins professionals are used to, with the same sound - and since RTAS is not supported, at least VST should be. Oh really I can run Ardour with HD cards instead of Pro Tools? didn't know that. Ardour must be really advanced then. So what kind of features will I find in Ardour that I can't find in Pro Tools? I'm curious about comparing those to the features that still lack in Ardour and Pro Tools has had for a while. If you're Ardour's coder, kudos to you! Really great job! But honestly, it would even be better if it was a Pro Tools clone. The industry is not gonna pick up an open source software with these limitations out of the blue. Being a pro tools clone might work though.

By Jonathan Grand on  Friday, August 24, 2007 9:35 PM

Pro-Tools clone? They might get sued for that! We don't need an exact clone. Good MIDI support is a must though. VST and VSTi support too. Those are the things I'd like to see. I think all this open source software lately is fabulous! Will it replace Cubase, Reason, and Live on my PC? Doesn't seem like it will yet, especially considering all my sound libraries. I don't need it to be a clone of any other software, I just need it to work well, and support formats. My work is mostly composition though. Great article!

By seattle_magician on  Wednesday, August 29, 2007 12:18 PM

Ardour can be compiled with VST support, but steinberg's license does not allow it to be distributed with VST support. That means only the geeky audio guys can have Ardour+VST. Let Steinberg know that you want VST support with Ardour, the Ardour developer's hands are tied.
MIDI support is coming, but I think it'll take a couple years before it's "pro quality". As retep mentioned, SAE has seen Ardour's promise and is contributing financially to see it grow. Also, Google, through it's Summer of Code program, has helped Ardour get its current MIDI functionality.

By hogiewan on  Friday, August 31, 2007 9:44 AM

Well, I'd *like* to use Ardour and other open source tools for audio, but so far I have spent dozens of hours trying to configure things and none producing audio. I have had Linux audio tools (64 Studio, and Ubuntu Studio since the day it came out) on my desktop for over a year and have yet to be able to produce anything. I find the claim that a media production distro will "will get you up and running, recording music very quickly" to be hard to swallow. Be prepared for a lot of fiddling.

If you are more knowledgeable than me (not a great accomplishment), you might look up my postings on Ubuntu Forums, especially the thread titled "M-Audio Ozone in Ubuntu?". If you have a solution to my problems, post away. I post as Aurora.

It will be a great day when I can get Linux and FOSS to work for audio production. Until then I'm stuck in proprietary-land with Pro Tools.

By SeattlePaul on  Sunday, September 02, 2007 1:41 PM

http://blog.myspace.com/index.cfm?fu...3-c21e1e118680

This is a guy from a band I just worked with. He was pretty jacked up about it and looking forward to spending more time tweaking it.

Here is some info on running Reaper on Wine on Linux:
http://www.cockos.com/forum/showthread.php?t=8776&highlight=wine+linux

By jdier on  Thursday, September 06, 2007 11:36 AM

seattlepaul, I use an old M-Audio Gina (20 bit). To get any audio at all, I have to compile the ALSA firmware. I use UbuntuStudio, which uses alsa version 1.14rc1, so I compiled that version of the firmware and everything worked perfectly.

To find the version you need (at the command prompt) type: "cat /proc/asound/version"

Download that firmware version from alsa-project.org, untar the package and (at the command prompt in that firmware folder) type: "./configure", enter then: "make", enter, then (as root) "make install"

reboot and enjoy. if you have questions about any of that, google should help or let me know here

By hogiewan on  Thursday, September 06, 2007 2:03 PM

I'm a little surprised you failed to mention the Linux Sampler ProjectI. It loads GIG files and works very much like Gigasampler (as you did mention you ran GigaStudio).

Check it out at http://www.linuxsampler.org/

They also have a separate gig editor as well.

By jhines on  Sunday, September 16, 2007 6:35 PM

" If Linux breaks, it can be difficult to reconfigure. There are times when installing a program can be difficult (although most of the time it’s easier than installing a program in Windows, but not always)."

Perhaps you can provide a specific example of this? I've been having trouble configuring my Windows audio system and I'd be curious how Linux can compare.

By lee on  Tuesday, September 18, 2007 7:53 AM

Nice read.

Here's the good news, since all these tools are open-source, expect the gap in features to close down real fast, as they can simply adapt the code. For example Ardour could rely on some other app's code base for better midi features. I'm not switching to Linux yet but I'll give it a try if I get a chance.

Linux is often a pain to setup, but once you got there it's rock solid, nothing beats it.

By Bruno D. on  Friday, October 12, 2007 1:28 AM

Great article. One thing that should be clarified: "To use Linux in a project you must agree to put those projects back out to the community." The word "project" might be misunderstood as an audio project rather than a software project. So those unfamiliar with open source concepts might take this to mean: "If you use Linux you have to give whatever you create away for free." Other than that you've created a great intro to Linux audio.

I plan on sharing this article with a few friends with home studios who usually have no idea what Linux audio is and what it can do. Keep up the good work!

By nik on  Tuesday, November 13, 2007 8:45 PM

Well written article. I have been involved with Linux for about 12 years. To make definitive statements about Linux and the open source software is like trying to make an absolute statement about the universe. It is like owning a maxed out Porche, along with a complete engineering designers guide, a state of the art shop where any part can be replicated and or built from scratch. Or, just drive your car. If your are into checking us out, come join the Linux Audio Users and or developers group.
http://lad.linuxaudio.org/subscribe/lau.html
Many of the package designers, authors, pro users are near by and wantabee s like myself are there. It is a busy address. CCRMA at Stanford U. musical department is worth a visit. This is where the 400+ patents was developed that was licensed to Yamaha under the Sondius XG tag.
http://ccrma.stanford.edu/
Linux can probably be found at NASA, the physics labs at CERN and most of the major university's.
No I am not paid to say these things. Hope it may be of some use.
Tom

By Thomas Fisher on  Tuesday, December 04, 2007 12:38 PM

So let's say I spend $150 for Studio to Go, or $160 for for 8 months of 64Studio support ($20/month). I bought the support, how much time am I going to have to actually spend surfing the web for answers and trying to figure out stuff by myself? For example, to use the Gina in hogiewan's post, would tech support take care of that for me? If my current hardware has problematic drivers, is tech support going to help me solve those problems?

By Steve on  Wednesday, December 05, 2007 2:16 AM

steve - I'm not sure how good the support is for those distros, but a quick google or a question to a user forum has always steered me right. That said, I've been using Linux for a while and am aware of it's quirks.

By hogiewan on  Wednesday, December 12, 2007 4:29 PM

You mentioned audio editors (Audacity, Sweep, Rezound). Have you looked at Traverso? It's actually billed more as a DAW than an editor, (and it's still quite beta) but it has the best UI I've ever seen in any DAW. Takes a little bit to get used to it, but it's far faster than any other I've seen/used.

By Alex on  Wednesday, December 26, 2007 12:17 AM

Interesting, I actually wrote about software I have used in production. I will check out Traverso. As of late the only DAW that has really blown my mind from a UI stand point is Tracktion.

By Chris Scheidies on  Wednesday, December 26, 2007 7:15 PM

thanks for the article! i've been on linux for years, doing sysadmin/programming/office-work, but i've always used my mac for creative tools (apart from gmip). i was wondering about linux apps that could replace Reason, and you've helped introduce me to the audio world on linux. i appreciate it.

By louis on  Sunday, April 27, 2008 12:25 PM

thanks for the article! i've been on linux for years, doing sysadmin/programming/office-work, but i've always used my mac for creative tools (apart from gmip). i was wondering about linux apps that could replace Reason, and you've helped introduce me to the audio world on linux. i appreciate it.

By louis on  Sunday, April 27, 2008 12:35 PM

Chris Scheidies: You might be interested to know that Tracktion runs pretty well on Linux under Wine then.

By Tolan Blundell on  Saturday, May 31, 2008 2:36 PM

Making my living off of audio engineering and production I've always kept a close eye on the progress of Linux dealing with a Linux based DAW and VST support.

Morale of the story...it's still just a tweakers paradise.....like anything else Linux.

Its a long way off and I'm not even sure it's ever going to get there without any commercial level support. The pros and cons of community versus commercial as it were.

Now excuse me while I go load Ubuntu on my Playstation3!

By JDK on  Sunday, June 01, 2008 5:40 PM

"I don’t care what anyone tells you; if you want to be a studio engineer and work for someone else then you learn Pro Tools. Period"

Thats funny...I'm a studio engineer working in a couple different studios...in one high end facility we use Sonar. In another multi million doallr facility we use AA3. At home I use Sonar. Sitting in the commercial studio that uses Sonar in which I am the chief engineer and tech consultant I'm looking at gold and platinum records hanging on the wall.

I make 100% of my living off this.

So your Pro Fools comment...albiet typical...and I do see where you're coming from...is not, in any way...an absolute.

By JDK on  Sunday, June 01, 2008 5:48 PM

I agree, I love Sonar. But you are the exception not the rule. Pro tools has %90 market penetration, almost every top 40 song is recorded in it and a majority of films are mixed in Pro tools. I am sorry to say Pro tools experience looks much better on a resume than Sonar experience. Your Pro fools comment surprises me, as it is simply a tool to do a job and Pro tools HD is a fantastic platform. I love mixing on an HD system with dcontrol. I also love working in Logic, Sonar and Nuendo.

By Chris on  Sunday, June 01, 2008 6:43 PM

Your name:
Your email: