Linux And Music Open Source Music Software & The AGNULA Project Published in SOS February 2003 Reviews : Software Open Source Music Software & The AGNULA Project Rosegarden is a sophisticated MIDI + Audio sequencer, which also incorporates a high-quality score editor.
If you use a computer at all in your recording setup, you'll know that the performance and stability of machines running general-purpose operating systems hasn't yet come close to that of dedicated studio hardware. That dedicated hardware might be like a computer inside, but it runs an 'embedded' operating system that is tailored for the purpose, with rock-solid reliability. Most of the desktop computers in the world run a derivative of Windows 95 or the Mac's System 7, and it's a fact that the manufacturers of both know that their time is up. In the case of PC users, Microsoft would like to see their customers move to the NT-based Windows XP, while Apple has also abandoned its existing codebase with the launch of the UNIX-based OS X. In the network era, computers that crash, lose data and work inconsistently are no longer acceptable. As more and more people have come to depend on computers for earning a living, a migration of some sort from the legacy operating systems becomes essential. Meanwhile, the computing power available to individuals continues to grow at rapid rate, meaning that off-the-shelf hardware can now process multiple tracks of digital audio in real time, something that not even the most well-equipped studio could do a generation ago. The UNIX family, which includes Mac OS X and Linux, has long been the mainstay of university computer departments, but the original UNIX concept has fragmented into many incompatible proprietary versions. Because Linux belongs to everyone and no-one, it is now being invested in by many of the big UNIX companies, including IBM, Sun, SGI and HP. By contrast, Mac OS X belongs to Apple, so we are unlikely to see other companies contributing significantly to it. It's a common misconception that Linux was created by a lone student in Finland. In fact Linus Torvalds still leads the project to this day, more than 10 years after he began it, but the operating system has been contributed to by thousands of people. It builds on the considerable work of developers who had dreamt for many years of making a free UNIX, many of whom worked on the GNU project. The sense in which 'free' is used by the GNU project is not the same as in 'freeware': it refers to developer and user freedom rather than zero cost. Confusingly, Free Software can be sold, while software that can be downloaded at no cost often places restrictions on user freedom. But there are plenty of complete Linux systems that you can download for free, or buy on CD-ROMs for near the cost of production. The familiar software licence that comes with a Windows or Mac application only allows you to use that software in specific ways, and non-compliance with the conditions of the licence can even lead to prosecution. Usually the software you get is a binary an executable file made of ones and zeros that isn't human-readable. It's like a sealed black box, and if anything goes wrong or you don't like a certain feature, there's not much you can do about it except complain to the vendor. The vendor's response can only be that you should upgrade the binary, since the source code from which the program is made is a trade secret. With 'open source' software, the source code of the program is made available for those who need it. This not only helps the software developers, who can fix problems directly, but also those users who can hire a developer to sort the program out. There are usually fewer restrictions on binaries too for example, you can often install open source software on multiple machines without infringing the licence. The next step in the process is what separates Mac OS X from Linux. OS X is based on a very liberally licensed codebase known as BSD, which allows developers who make fixes to keep the improvements to themselves if they want to. This is one of the reasons why you can't just download OS X for free, even though it's based on freely available software. The licence under which Linux and the majority of software for it is released is known as the GNU GPL, or General Public Licence. It insists that any improvements to GPL-licenced source code have to be made available under the same terms, and generally patches are sent back to the original developer. This continual feedback process has lead to the refinement of most of the software that runs the Internet the Apache web server, for example as well as Linux itself. Of course, there is nothing to stop programs from the proprietary tradition being made available for Linux. As long as those programs don't make secret changes to Linux itself, then they are perfectly acceptable to most users and developers. The message that anyone porting their program to Linux will be forced to make it Free Software has been put about by the likes of Microsoft but this is clearly not the case. As one spokesperson for the company put it, IBM has a lot of intellectual property and a lot of lawyers, and they aren't worried about the possibility. For more information on Free Software, see www.gnu.org. The Linux Advantage At the pinnacle of creative power computing, Hollywood studios are squeezing every processor cycle out of the fastest hardware currently available to design and render ever-greater special effects scenes. If these computers are capable of creating the graphics used in The Two Towers, the second film in Lord Of The Rings trilogy for example, then they should have the power and stability to be able to handle any sound recording job we can throw at them. The suprise is that the film studios are not all using super-expensive hardware and esoteric operating systems to perform this mission-critical work. Increasingly, they are using off-the-shelf hardware that is not fundamentally different from today's desktop computers, and they are running the freely available Linux operating system.
But a far more compelling reason for the migration is the quality and flexibility of Linux. Machines powered by Linux have been known to run for months or even years without needing a reboot, let alone crashing. In the UNIX world that's not unusual, but that kind of reliability hasn't been seen on desktop computers before. And the open source development model means that users can get the software they want, rather than just choose from what's on offer. Another factor often cited by people who have migrated to Linux is the supportive and knowledgeable user community. If you have a problem with your Linux machine, there are lots of places to ask for help both with local user groups and on the Internet. Linux users tend to be self-documenting: when they find the solution to a problem, they will often create a web page describing the fix to share their knowledge. Ardour is a multitrack hard disk recorder which offers an interface modelled on hardware units such as the Tascam MX2424, and also boasts DAW-style on-screen editing Could the recording industry be the next creative sector to adopt Linux? Mac hardware is firmly entrenched in professional studios for the time being, but due to the open source nature of Linux, the free OS is available for many different processors, including the PowerPC architecture of the G3 and G4 chips. While most Linux users have Intel Pentium or AMD Athlon-based computers, several companies already make packaged versions of Linux for PowerPC machines, including Mandrake, SuSE and Yellow Dog. This makes the PC/Mac debate somewhat irrelevant in the Linux world. Because it's part of the UNIX family, Linux could be the closest thing to Mac OS X that someone who currently has a Windows machine could get. The Stanford University Centre for Computer Research in Music and Acoustics (CCRMA) already produces pre-packaged audio applications and system components for Linux, as part of its Planet CCRMA project. However, this isn't much help to people working in the sound industry with little or no UNIX experience. Although both Linux and Mac OS X hide UNIX quite well under some very elegant graphical interfaces, there is no doubt that UNIX can be confusing to someone from a Windows or traditional Mac background. It's probably no more difficult than moving from Mac to Windows or vice versa, but nevertheless an element of retraining will be required when migrating to any UNIX-based operating system. With a different version of Windows or Mac OS coming out every couple of years, though, people will have to retrain anyway. And the Linux desktop can be themed to resemble Windows or Mac OS for a smoother transition. AGNULA
As far as the musician and pro audio user is concerned, there are four key components of a Linux system. The kernel the actual Linux core can be customised for very low latency, which is essential for any kind of multitracking or synchronisation. The Advanced Linux Sound Architecture or ALSA provides drivers for pro and consumer soundcards (see table on the last page of this article). JACK is the internal audio system which connects between applications at a low level, while LADSPA stands for the Linux Audio Developers Simple Plug-in API. LADSPA is a bit like Steinberg's VST plug-in system, but in an open source style the many VST plug-ins available to download from the Internet at no cost don't generally include source code.
Beta versions of the two AGNULA distributions are due shortly, with stable releases expected in 2003. In the Linux community, the widest possible testing of beta versions is encouraged to enable high standards of quality control. With modern hard disks being so large, there is usually plenty of room to install Linux in its own partition, and keep the existing operating system intact. Disk partitioning is well worth doing for Windows machines anyway, since it keeps your sound data well away from the operating system, and therefore safe if you ever have to reformat your C drive. Most current Linux distributions feature a wizard to help you set up partitions and dual-booting, so it's likely that AGNULA will too. Since AGNULA will cost very little to try out, except perhaps in the time taken to learn about the software, there's not much to lose. Both AGNULA distributions will be free for download, intially built for the Intel x86 architecture (Pentium and Athlon), and will be probably be available on CD-ROM too. The project also plans to make the distributions available for PowerPC chips and the new generation of 64-bit processor systems later next year. Audacity is another Linux-based audio recording and editing package. The drawback to any new desktop operating system is usually a lack of applications. Fortunately, although Linux is relatively new to the sound industry, it has already been under development for a decade. While Windows and Mac applications can run under Linux on the relevant processor using various kinds of emulator and virtual machine, lots of native Linux audio software is already available. The full range of programs available on other platforms is covered, from notation editors to DJ software. Many excellent free music applications for Linux are stable or close to stable release, and will be included with AGNULA. Here are just a few of them: Software engineer and musician Richard Bown comes from London, and is one of the lead developers on the Rosegarden project. He's been working on Rosegarden over the last seven years, but until recently he still needed to use Windows or a Mac to record and produce his music. While making his last album, Richard wondered if Rosegarden would one day allow him to do the same on Linux, and now believes it can.
Sweep is a multitrack audio editor with a difference: it can also be used for virtual scratching. Many Free Software effects plug-ins are available under the LADSPA standard. This makes Sweep possibly the first audio program that could be used both in a serious production environment and as a performance tool for fully digital DJs. It was developed with the support of animation studio Pixar, who presumably needed a high-quality audio editor which could be used on Linux and Sun UNIX workstations (Sweep is available freely for both). This application might be the first benefit to trickle down from the big movie studios to the Linux audio community, but it almost certainly won't be the last. Plug-ins Under Linux Steve Harris wrote many of the LADSPA effects plug-ins. He works at Southampton University and started writing experimental electronic music about 10 years ago. Steve takes up the story: "In order to expand the palette of sounds available to me I started writing simple music programs, but the computers I had then weren't fast enough to work in real time. I only learnt real signal processing skills a few years ago, when Linux started to become a useful audio system and I noticed the lack of plug-ins. I chose LADSPA mostly because I liked the design, and there are some licensing issues which make writing Free Software VST plug-ins difficult." Mark Of The Unicorn M Audio RME Roland/Edirol Turtle Beach Most USB devices are supported, as long as they are standards-compliant. For a full list, see www.alsa-project.org. Where's The Catch? So is there any reason why we shouldn't all migrate to AGNULA and Linux tomorrow? Well, if a studio has a large capital investment in proprietary systems, some of this won't be able to be carried over to a Linux platform. An example would be a large collection of plug-ins, or application software that won't run adequately in a virtual machine or emulator. However, this is often outweighed by the cost of continual upgrades of the existing system and upgrades will almost certainly be forced on both Windows and Mac users eventually. A greater problem could be back-catalogue work stored in proprietary formats. Most of the audio formats from Windows, Mac and UNIX are supported by the equivalent Linux programs, but complex projects combining multitrack audio and MIDI could be a problem. If the original software vendor supported open standards, it wouldn't be difficult to create a tool to transfer the project from one platform to another. Where that file format is binary and a trade secret, however, the user may have no choice but to fall back to standard file types for exporting projects, and some of the information might be lost. This is also a problem when moving complex projects between proprietary programs on the same platform, of course. It could be argued that since binary and secret formats keep the user hostage to their creator, they are best left behind anyway. What if you need to get that project out of the archive for a remix in 20 years' time, and the company who made the software no longer exists? Unfortunately, this is not a hypothetical situation for many institutions who have data going back to the 1970s on unreadable open-reel tapes. It may be early days for Linux desktop audio applications, and both proprietary embedded hardware and software based on trade secrets aren't going to disappear from studios overnight. A more likely scenario is that Linux machines will be introduced to perform specific tasks, and gradually increase their profile in the world of sound. Companies in the industry are almost certainly using Linux, perhaps without realising, in their computer networks already a record label with a busy web site, for example, or a studio saving its work on an embedded file storage appliance that doesn't even look like a computer. Even if you've got no time to try it out at the moment, Linux is well worth keeping an eye on.
Published in SOS February 2003 | Sunday 20th July 2008 July 2008
Click image for Contents
Other recent issues: SOS News Headlines
WIN Great Prizes in SOS Competitions!
|