Saturday, April 9, 2011

Audio Production with Linux - The Poor Man's Studio

Linux has always been a high performance operating system for any use, and in an audio production environment, where low latency is of prime importance, Linux is of course the primary choice. In the following pages I will elaborate how I use Linux ( Fedora Planet CCRMA, to be exact ) to record my music.

-----------------------------
The Poor Man's Studio
-----------------------------

by Shaji Khan

-------------------------------
Part. I Preparing the system
-------------------------------

- Hardware

- Software

- Kernel

- Which distro to use?


--------------------------------
Part. II The anatomy of music
--------------------------------

- Outline the goal to be achieved

- The physiology of Sound Track: Layers

- Basic concept of keys, scales, tempo

- Binary formats and conversion among different formats


-----------------------------
Part. III Music production
-----------------------------

- Record drum track make realistic

- Record Bass

- Record from a Guitar

- Record from a Digital Synthesizer

- Recording Vocals

- Mixing and volume balancing

- Post production

- Maintenance of quality

- Music publishing and promotion of album

- Online publishing ( Jamendo.com, Opsound and others )

- Making the video

- You tube and video formats


---------------------------------
Part 4. Miscellaneous appendix
---------------------------------

- Writing lyrics

- Guitar riffs

- Chords with distortion effect

- Using LADSPA effects

- Making a virtual stompbox for your Guitar

- High quality software synthesizers



End of Series











-----------------------------
The Poor Man's Studio
-----------------------------
by Shaji Khan

-------------------------------
Part. I Preparing the system
-------------------------------


Ever since the conception of consciousness, the expression of elevated emotion has been considered as Art. This expression has over the ages transcoded itself to many different forms as pertaining to the contemporary popular society, but the one universal mode of expression has been music; historically, music production as an art form has been the privilege of an elite class. However, with decline in the price of technology and freely available open source software, music production has come within the grasp of the common man.


HARDWARE

Coming directly to the point, the aim of this article is to point the ordinary (Linux) user in the right direction so that he may be well equipped to take the first steps towards music production on Linux, and indeed any posix system (BSD-UNIX included). Each reader shall follow his or her own heart. We can only direct them at certain key places. The first choice, and the only decision that demarcates the hobbyist from the professional is the choice of what hardware to use. Today, with the falling prices of computers, most desktops boast of on-board audio chipsets that clock up to 192kHz - that is, professional studio quality. Of course, if you intend to actually run a studio with Linux, you need to have a multi-channel soundcard with ALSA support. Of course, most popular cards from major vendors are supported. Don’t try to club together multiple cards to record many channels; it won’t work that way. USB soundcards tend to cause issues, your mileage may vary. All in all, the soundcard you have inside your PC will do fine if you don’t intend to record more than one instrument at a time. I personally use an AC97soundcard that goes upto 48 kHz. This isn’t much, but I ensure high quality at all possible times by managing different things at various stages of the production process.



As for processors, those clocked higher will be better, and dual cores would be better than single cores. I personally have an Intel Pentium 41.5 GHz; very old, but with a realtime patched kernel I have minimal latency issues.



Along with a good soundcard, you should have a good speaker system or at least a good pair of headphones. If you have an old hifi-system with an aux input lying around, that will do fine as well. Just plug it in to the computer’s output jack with a crossover cable i.e. which has a 3.5mm pin at one end and component output plugs at the other. Be sure about what genre you want to record with what audio hardware, because it will be hard for you to record heart pumping bass if you cannot hear it yourself.



CONCLUSION : if you don’t want to open a recording studio, whatever your present configuration, the computer you have right now will do fine, and in fact you will yourself be amazed at the result you will get from your old computer. That is the power of Linux and open source software.



SOFTWARE

FIRST OF ALL, THE ONE THING TO pay attention to is that on Linux, audio production is all built upon the JACK audio server. Jack not only gives you the ability to record unlimited audio records from multiple channels to various virtual parts, you can actually feed video from one running program to another thereby creating a virtual studio inside your computer. This point is extremely important as it allows you to make do with things like virtual synthesizers and software guitar processors instead of paying huge amounts of money for the real thing. This is, after all, the poor man’s studio.

So, first of all things, the JACK server should be installed. There are two versions available, the outdated 0.118 branch and the upcoming 1.94 branch, and the one you install should depend on how old your distro is. Things that should be installed with JACK for a fully functioning audio platform are :-

- Ardour Hard Disk Recording System

- Hydrogen virtual drum machine

- Various synthesizers like

* amSynth

* alsa modular Synth

* Zynaddsubfx

* Spiral Synth Modular

* Bristol

- Various Guitar Effects Processors

* Rakarrack

* GNUitar

* Guitarix

- LADSPA plugin suite

* TAPS plugins

* CAPS plugins

* CALF plugins

* Steve Harris’ plugins

- Various encoders / decoders and players

* Vorbis tools ( oggenc, oggdec )

* FLAC

* MPlayer

* Lame ( for encoding to mp3 and therefore optional )

- Various miscellaneous editors for those ‘minor’ touches

* Sweep

* Audacity

* Sox

* Ecasound

Now, a very important question. What Kernel should we use? This is important because the Kernel will be the heart of the studio, and should be minimally bulky and overtly responsive. It is advised to patch the latest Kernel version from kernel.org with Ignor’s real time kernel patch, and to compile as little stuff in the kernel as possible to keep the lightweight and responsive.

Nowadays, there are plenty of distros that are specifically designed for audio production. I do not prefer them, because :-

- They might not have the latest software version.

- They are most hard to maintain.

I prefer a standard linux distro ( in my case Federa ) and compile each program by hand to finetune it to my needs and to make it use any specific extension available on my architecture.

No comments:

Post a Comment