Rakarrack: Guitar FX For Linux

Linux-based guitar effects processors haven't exactly been flourishing recently. Until recently, the guitar FX processors page at linux-sound.org listed twelve projects, of which the most recent maintenance date is 2006. Clearly, not a flourishing domain for Linux audio developers. Not that Linux lacks realtime effects processing capabilities: Pd can be pressed into any audio service imaginable, the JACK Rack can be configured for LADSPA-based effects, but they are not organized and optimized specifically for guitarists. However, a thirteenth entry has joined the collection at linux-sound.org, and this entry is most definitely organized, optimized, and intended for guitarists.

Rakarrack

After contemplating the depleted condition of Linux guitar processing software, Josep Andreu (author of the outstanding Holborn Linux Sound Utils) joined forces with developers Daniel Vidal and Hernan Ordiales to create a new effects processor for penguinistic guitar slingers. Rakarrack is the first result of this collaboration.

Rakarrack includes ten effects processing modules, 80 preset patches, a built-in tuner, and a monophonic pitch-to-MIDI converter. The processing modules have been derived mostly from the DSP capabilities of Paul Nasca's excellent ZynAddSubFX synthesizer, but further tweaked for a "best fit" to the sonic needs of guitarists. MIDI messages can control overall volume and program changes, but alas, as of version 0.1.2 parameter control via MIDI is not implemented. The order of multi-effects chains can be defined by the user, unit status can be saved as a preset, and a preset collection can be saved as a bank (80 presets can be stored in a bank).

Getting It

If Rakarrack is not yet available in your distribution's software repositories you'll have to build it from the source package. You'll need a standard C/C++ build environment for Linux, plus the libraries and development packages for ALSA, JACK, and the FLTK graphics toolkit. See the README file for the full list of dependencies.

If the dependencies are satisfied, run ./configure; make; make install and you're done.

Figure 1: Rakarrack


The processing types have been selected for their common appeal to guitarists. I can't fully describe each one but the chart in Figure 2 lists the effect types, their number of parameters, and the number of basic presets. That chart should give readers a good idea of Rakarrack's level of detail.

Effect			Parameters 	Presets
-----------------------------------------------
10-band EQ		12		 3
Compressor		 6		 3	
Distortion		11		 4
Overdrive		11		 2
Echo			 7 		 9
Chorus			11		 5
Phaser			12		 6
Flanger			11		 5
Reverb			10		13
Parametric EQ		10		 3	

Figure 2: Rakarrack's modules


As I said, full descriptions aren't possible here, but we can consider a couple of these modules in some greater detail.

The first EQ is a 10-band linear equalizer with extra controls for Q (resonant peak) and overall gain. Each slider controls a range of 128 integer values numbered from -64 to 63. The sliders move smoothly, with fine-grained audio response, though some numeric display quantization occurs even at 1280x1024 video resolution. The three presets provide Plain (i.e. flat), Pop, and Jazz equalization curves. While these presets are good and useful in their own right, their true purpose is to provide basic templates for programming your own custom settings.

I Google'd for "linear equalizer" and discovered a fair amount of mathematics that might be relevant, but I'm still unclear whether Rakarrack's linear EQ is related to what my search revealed. Further clarification from my readers would be most welcome. Whatever I learn, this equalizer is an excellent processing module.

The Reverb module is a fine-grained reverberator with nine parameter sliders and two drop-down preset menus. The first menu supplies various prepared environments (cathedral, hall, room, et cetera), the second provides two further type definitions, one for Freeverb and one for Random. The Freeverb selection of course refers to an implementation of Jezar's famous reverberator, but I'm unclear how the Random selection works. Two banks of sliders control the reverb's time-domain and frequency-domain parameters. The top set controls the wet/dry balance, panning, reverb time, initial delay time, and the delay time for the early reflections. The bottom set controls room size, the high-pass and low-pass filters, and the high-frequency damping. Like the linear EQ, the module's controls were smoothly responsive, and its sound quality is first-rate.

Using It

To get started, just click on the Rakarrack desktop icon or enter rakarrack at an xterm prompt, and the display seen in Figure 1 will appear. Open your JACK connectivity manager (QJackCtl or Patchage are good choices) and connect your guitar's audio output port to Rakarrack's input ports (its output connections will be made automatically). Click the FX On button, select a patch in the Presets panel, and you are ready for Rakarrack.

Rakarrack can process any kind of audio input signal, but it is clear that the current crop of presets has been designed by and for guitarists. With 80 presets to check out Rakarrack will keep you busy for a day just testing its default goodies. The included collection is a model for the Right Way to present this type of software, and I send huge kudos to Carlos Pino, Eugenio Rubio, Alberto Mendez, and the development crew for their efforts. I'm sure many players will find no need to go beyond these excellent designs, though of course the dev team will love it if you create and contribute some more.

The tuner, MIDI program change, and MIDI volume control all worked as advertised. See the Settings dialog (Figure 3) to set your global MIDI receive channel and input source.

Figure 3: The Settings dialog


A few words about the MIDI converter: Pitch-to-MIDI conversion is not an entirely new feature in guitar effects processors, but Rakarrack is the first Linux application to include an on-board converter. At this time the feature is experimental, so don't expect perfect results without expending some effort. The conversion is monophonic, meaning it will convert only single notes, and you will likely need to adjust the trigger sensitivity to achieve the least latency and avoid falsely triggered notes. A second slider controls the output velocity. Alas, there is no "amplitude to MIDI" conversion stage yet, but a second slider lets the user define the MIDI output velocity value.

Documentation

User-level documentation (in English, Spanish, Portuguese, and French) can be called from the Help menu (Figure 4). The manual provides a good overview of the program and its components, but it does not describe the individual modules in any detail. However, in a program like Rakarrack the best documentation is the software itself. Take an existing preset, toggle the states of its modules, adjust parameters at will, and you'll soon have a very clear notion of what Rakarrack can do. Nevertheless, a shiny printable manual would be nice, especially one with a breakdown of each module and some in-depth advice on programming your own patch presets and banks.

Figure 4: The Rakarrack manual


Some example recordings can be heard at the Rakarrack Web site. Be sure to check them out, they include some beautiful work from the redoubtable Carlos Pino (who has also contributed a number of presets to the default collection), including his lovely Viajes.

If you need further assistance, the developers can be reached via the standard comm channels, including mail list, a Sourceforge-based forum, and the #rakarrack IRC channel at Freenode.

What's Missing, What's Coming Up

I can't really complain about anything in Rakarrack's current release, but of course I have a Wish List. Support for a carefully selected set of LADSPA plugins would be nice, particularly if it included the emulators in Tim Goetze's CAPS collection. Realtime parameter control via MIDI would be most welcome, as would parameter randomization for patch edits. Oh, and support for LASH and JACK MIDI would be nice too.

Figure 5: The Settings dialog in Rakarrack 0.2.0


I built Rakarrack 0.2.0 from the CVS sources. Since by definition a development version is unfinished I'll just tantalize you with a peek at some of the new features under construction. Users will have more control over the JACK routing (Figure 5), and more processing modules are on the way, including wah effects, a harmonizer, and a cabinet simulator. Very exciting developments indeed.

Outro

Well, now that I'm done here I'm going right back to playing with Rakarrack. This program is by far the best standalone guitar effects processor currently available for Linux, and the 0.2.0 release promises to take it to the next level. Don't you love it when great things get better ?

______________________

Similis sum folio de quo ludunt venti.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Just tried it out -- really nice!

IGnatius T Foobar's picture

I just got Rakarrack running on my laptop, running Ubuntu 8.10. The build process was a little rough, mainly because the configure script misses a couple of dependencies which then cause the compile to fail if you don't have them. You need Jack, XPM, FLTK all ready to roll before attempting Rakarrack.

I also wasn't familiar with Jack, so I didn't get any sound until I realized that you actually have to patch your sound card's capture into Rakarrack, and Rakarrack into your sound card's output, before it'll make any sound. Hint for testing: while getting things set up, use an audio source that plays continuously on its own (I used a drum loop from my synth) so you don't have to keep picking up the guitar to test it.

Anyway, once I got it running ... I was very impressed! The sound quality was surprisingly good for effects implemented in software. You would have to spend a lot of money to get hardware that can outpace Rakarrack. I'm definitely planning on becoming more familiar with its controls and then using it for real gigs. The only downside is that a laptop computer seems kind of cheesy when you're used to ruggedized floor pedals and nice rack-mount equipment. Perhaps someday I'll build a rack mount machine with a touch screen for a dedicated Rakarrack appliance.

Definitely try this one out. It's a winner!

rakarrack is in the Debian repository

Anonymous's picture

Well as of Jan 2010, Rakarrack is in the Debian repository.
Haven't tried it yet, but its there, for the taking through Synaptic. you don't have to build it yourself anymore.

Jan 22 2010

Transmogrifox's picture

Rakarrack 0.4.2 is released. Significant feature improvements and bug fixes. A good number of new default presets, too. The new version is worth the build. No new dependencies from 0.3.0, so those who have successfully built older versions will find compiling 0.4.2 a trivial matter.

To clarify the comment above: Rakarrack is in Debian Sid and Debian Testing (Squeeze). For those using Lenny, you will have to add testing or unstable repositories to get this package. The version in Debian repos is 0.3.0.

I am uncertain how long it will take for 0.4.2 to trickle down to the various Distro repositories, but Ubuntu and Fedora are likely to be quick to push new versions.

doesnt work

jibl's picture

I couldn't get it to work... I tried it on 3 computers, 2 os's, suse and fedora... the thing just sits there. pretends like its going to load on the tool bar then disappears never makes a show??? there are no instructions as to how to get it to running. Ive downloaded stuff till IM blue in the face. trying this and that thinking maybe it doesnt have all the dependencies? I say if your going to make something, also make instructions step by step, what it needs, if it isn't going to run automatically! uninstalled reinstalled.... tried the live kernal, jack (another no instruction piece of software that wont work) perhaps the rest of you were lucky enough to have the right combination of software already installed....

nice work

Anonymous's picture

Dave Phillips' articles are consistently excellent and interesting. Keep 'em coming, please!

I have yet to try it out,

Anonymous's picture

I have yet to try it out, but why do these people keep using garbage GUI toolkits to create their apps when there are much better ones around. Qt comes to mind. They would have had direct access to the phonon multimedia framework by using that instead (with xine, gstreamer backends).

The sounds may be great. A great GUI makes it much more appealing to the masses.

Author's reply

Dave Phillips's picture

I agree that a nice GUI toolkit provides attraction, but I can't resist replying with this URL:

DreamOnPro

Enjoy !

Similis sum folio de quo ludunt venti.

Rakarrack Rocks!

Zak's picture

This is an exciting development indeed. I hope to see this project grow. Though I do agree that ladspa support would be a good addition. I got very good results by placing Jack-Rack running a single AmpVTS between my guitar and Rakarrack. A much warmer sound, as well as much more complex distorsion effects. I single "Amp" slot would be a good idea, just to contain a CAPs Amp.

Always love your articles, Mr Phillips! I hope to see you around the JAD forum. You gotta try openSUSE 11.0/JAD 2.0. Good things made better!

God bless!

That's pretty funny and hits

Anonymous's picture

That's pretty funny and hits it dead on for some of the garbage music that is produced. That said, a professional GUI does go hand in hand with a quality audio/DSP engine
if people know what they are doing. Most of this app is not really original development anyway. It might be better than other things like it around, but it is hardly a novel approach. A fine GUI would have taken it that much further towards being novel. Also, as much as Linux enthusiasts would like not to believe, looks do count in terms of adoption. Qt looks better and is more widely available by default in distros than FLTK.

Great job

elcesar's picture

Great job Holb. I guess this is the reason why you have been completely out for the past months.

I just discovered this

Anonymous's picture

I just discovered this program last week. It blows the socks off any other guitar effects applications I've seen for Linux. (although, the default theme I got looked horrible) I've love to see how this evolves, keep up the good work guys!

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState