All too often the musically inclined seem to feel a bit left out of the Linux, open source community. At least that was the way for a long time. And then came along a few new tools and a few recording-specific distributions (such as 64 Studio and Linux Multimedia Studio) and the open source music world was turned on its head. Now you see tools for recording, editing, sampling, and more. With Linux (and open source) you can create an entire symphony of music, without ever touching a real instrument (although the real thing is certainly preferred).
One of the tools you will want to play around with is the Hydrogen Drum Machine. The goal of Hydrogen is to offer users a professional, yet easy to use, tool to allow the creation of drum tracks for recording purposes. With this tool, and a little rhythm, you can have a drum track created in minutes. In this tutorial I will show you how to install Hydrogen and then begin using it to get your first drum track up and running.
Before we get to the installation, you might want to know what Hydrogen has to offer. With this tool you will find:
And much more. So, are you ready to rock?
Installation is actually quite easy. If you are running a modern Ubuntu distribution, you can fire up either Synaptic or The Ubuntu Software Center, search for "hydrogen" (no quotes), and select for installation. Outside of that, the only other binary files available for download are for Debian, Mac, and (experimental) Windows. Outside of binaries, you can install from source (you will need QT3 installed) by following these instructions:
Download the source.
That's it. You should now find Hydrogen in Applications > Sound & Video.
When you fire up Hydrogen you should find three modules open in the main window (see Figure 1):
To begin creating a song you first focus on the Pattern editor. Come up with your pattern and then create it, piece by piece, by clicking on the instrument you want to add in the beat you want it. So if you want a kick drum to hit on beats one and two you would click the kick drum line at beats one and two. Do this with all the instruments you want to use to create the pattern.
Create more than one pattern so you can vary your song (otherwise the same pattern will repeat over and over). To create a new pattern click on the "+" sign to open up the next pattern (the patterns start at zero). Once you have created all the patterns you need go to the Song editor.
In the song editor you will create a song by adding patterns in strings to create a song. Say you have created a pattern for the first four sections of a song, a pattern for the next four sections, and another pattern for the final four sections (might be a short song). For this your song would look like that shown in Figure 2.
With the song pieced together, you can go to the mixer and adjust the sounds of your piece. To play the song you would go to the mixer, click Song in the MODE section, and click the Play button. When you are satisfied with your piece, you can save it or export it from the File menu.
Included with Hydrogen are a few demos you can play with by going to the File menu and selecting Open Demo. That is a good way to see how to really get involved with Hydrogen by viewing a much more complex sampling of patterns and songs.
You will be surprised at what you can create with this open source drum machine. Add this to your stable of open source recording tools to piece together an entire open source recording studio.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.