Guitarix And Ubuntu For Live Use

I’m working on finishing up some articles and videos of demoing Guitarix in a live performance setting. Until then, here’s some screenshots of my rig in action! The last picture is what the laptop looks like when you put Guitarix in “Live” mode. The buttons at the bottom light up as you use MIDI triggers to turn on/off effects, so you can easily see what’s switched on. Also, if you have a pedal mapped to volume or wah, it shows what position the pedal is at. (That’s going to get a video demo as soon as I find the time!)

You can store presets in banks, so you can set up your sounds according to songs and sets.

New Music Project

For the last few months, I’ve been working on a new music project with my good friend Luke McNeely. It’s mostly 8-bit “chiptune” music, made using old-school video game sounds and instruments. Don’t laugh, it’s a lot harder than it looks! But between the two of us, we’ve spent thousands of hours listening to really amazing music written by greats like Takashi Tateishi, played through Nintendo and Atari game consoles.

We decided to call our group “Not Entirely Unlike Chiptune” as an homage to Douglas Adams. So, if you like old video game music, were a child of the 80’s and 90’s, or just want to hear something different, check us out on Twitter and Soundcloud.

Our first official project is an 8-bit tribute album of one of our favorite bands, Five Iron Frenzy. We’re releasing the songs as we go, rather than holding out till we’re finished. Feel free to check it out!

https://soundcloud.com/notentirelyunlikechiptune/

8-Bit Frenzy

MIDI Controllers: Not Just For Keyboards

I’ve been working on my new guitar pedalboard, with the idea to have a 1U rack space and two rows of pedals. This should give me more possibilities in less space than a monster controller pedal, using stuff I already have. However, with a rack effect unit (and even some pedals now), you need some way to control it.

(This picture is a bit different than it will look when finished, but you can see the 1U rack unit. The MIDI pedal will go where the Roland interface is in this pic)

Pedalboard

Next to go on the board is some sort of MIDI pedal that is capable of sending Program Change signals to the rack unit. Ultimately, I’d like one that does Program Change, Continuous Controller, and a tap-tempo MIDI clock. As far as I know (and I’ve researched it endlessly) I can get two of those features in a pedal, but not all three. It just doesn’t exist as far as I know, outside of custom $1000 setups.

Well, if I had to choose between two of those features, one would have to be Program Change. And as far as MIDI clock tap-tempo, I only know of a few pedals that can do that. The cheapest and most flexible would probably be the Molten Voltage “Tempode” pedal. I also discovered that Molten Voltage offers a pedal with the same functionality, plus simple up/down program changes called the Master Control. For the price of a Rocktron MIDI Xchange, I can get the same functionality with tap-tempo MIDI clock and start/stop.

So, how exactly does this MIDI stuff work, and what do PC, CC, and MIDI Clock messages do, exactly? And why do you need them? It depends on what you have on your board, and how you want to control it. Lots of new effect pedals can use MIDI too, including ones from Boss, Strymon, TC Electronics, Line6, Eventide, and so on. Continue reading “MIDI Controllers: Not Just For Keyboards”

Linux For Guitarists Episode 2

If you managed to make it through the first step of getting Linux installed on a computer, then we’re ready to go to the next step, which is finding a decent audio interface to use for live guitar performance. This is Linux for Guitarists, Episode 2.

If you want to play guitar through your computer, you’re going to need some way to plug it in. The best way to do it is with an audio interface. Specifically, you want to look for one that has a “Hi-Z” input. This makes the input jack have the correct impedance for your guitar to sound right. If you want a better explanation of why this is, check out this video on Impedance by Nick Jaffe.

I’ll give you fair warning: most manufacturers are going to cheaper platforms, and putting most of their interface’s features in software. I mean, they only have to write the driver software once, and it costs them nothing to duplicate it. Hardware costs money! So what that means for us is that a lot of these will only work in the most basic ways in Linux. If you know this going into it, you won’t get as frustrated, but I’ll tell you now, there’s only a handful of interfaces that work 100%. One of them is what I have, a Roland UA-25EX. It has hardware switches for settings and a hardware compressor, hardware everything, and it’s USB class-compliant, so it just works.

You may not be able to find one of these, so what you want to look for is something that specifically says “USB Class-Compliant.” That means if you plug it into anything, it will at least work to get audio in and out. The advanced features probably won’t work, but that’s generally not a problem. If you want to see what interfaces are known to work, you can go to the Alsa home page and look through the list. Also, most Firewire interfaces will work, but again, you’re gonna want to check and make sure. I have heard reports that the Focusrite Scarlett 2i4 works perfectly in Linux, but I don’t have one to test yet. It’s still in production, so if you can’t find a Roland UA-25EX give the Focusrite a try.

To install an interface in Linux, you just plug it in. The audio drivers are already built into the kernel, so if it works at all, it should just work. You can plug your guitar into the Hi-Z port, and see if you can get it to record something. If you can get it to work at all, you’re set! It’s all playing with software from here.

I’ll also add, you’ll probably want to find an interface that has MIDI in and out too, but if you can’t, you can always get a simple USB to MIDI cable. They sell them on Amazon for like $19, and they’ll work fine for what we’re going to be doing with it.

Okay, that’s about it! Next episode, we’re going to talk about the two main software packages, Guitarix and Rakarrak. We’ll be talking about how to get a decent guitar tone to start with, and then we’ll get into effects later on.

Again, thanks for reading, and keep on rocking!

Linux For Guitarists – Getting Started

I’ve been messing around with Linux since about 2001, been playing guitar since about 1992. I’ve done lots of projects with Linux over the years, but the last couple of years I wanted to use Linux as a platform to make music with. I’m not a professional blogger, nor a video expert, but I know a lot about being a geek and being a musician, which is why you’re here. I originally wanted to do Youtube videos, but I’m really better at writing. It would be a lot more informal, like hanging with your Geeky tech buddy. But in the end, I just didn’t have time to make videos of the quality I’d like. So for now, I’m your Geeky tech pal who’s a Linux Guru and just so happens to love playing guitar. Welcome to Linux for Guitarists, Episode 1.

There’s been plenty of stuff written about Ardour, and a bunch of other open-source music tools, which is fantastic. But when I started to try to learn more about guitar-specific stuff, specifically performance-oriented software, I discovered there’s actually very little out there.

Now, a lot of people are intimidated by Linux, and I understand, but it’s not that bad. It gets a bad rap from people that haven’t really used it that much. But I’m very comfortable with it, so I feel pretty good about helping you with it. I’m not gonna go into the reasoning behind it*, but let’s just say, if you want to use something besides Windows or OSX, for whatever reason, you’re in the right place. Continue reading “Linux For Guitarists – Getting Started”

MIDI Effect Sequencing Software For Guitarists

As many of you know, I’m working on a complete open-source solution to doing guitar amp and effects emulation in Linux. Because, you know, I’m a geek like that. So far, I’ve had great success with Guitarix and SooperLooper, and added a few other tools and utilities to make everything work smoothly. I have to say, considering what the equivalent software would cost, I’ve been pretty impressed with Guitarix. (Rakkarak might someday be a viable performance alternative… it just needs a complete UI redesign. Yes, it’s really that bad.)

One of the guitar effects that I’ve been curious about is an effect sequencer. Some hardware equivalents would be something like the Electro Harmonix 8 Step Program, which lets you sequence a signal that goes to the external control pedal jack of another effect. (Demo video and good explanation of step sequencers (not mine) is here) Continue reading “MIDI Effect Sequencing Software For Guitarists”

Take The Red Pill..

Not sure what to call this… it started as a funky NES chiptune, and kind of morphed into a techneaux/dubstep/art piece. Throw in some clips from one of my favorite movies, a little 808 beat, and there you go. Most everything is done with pretty simplistic square wave synths, nothing really fancy going on there. I used a lot of “slightly” modified waveforms… took a square, and added a bit of noise. It gives it more of a genuine chiptune feel, more lo-fi. There’s a few other tricks in there, specifically using square/noise waves and filters to do percussion. I’m still learning, but it came out okay. Hope you like it!

My Guitar Setup

Some of you may have been wondering what my actual guitar setup looks like, so after some prodding from the Google+ Worship Guitarists Community, I decided to make a short video and explain what I’ve got and why I’m using it. Let me know if you have any questions.

In my quest to minimize, I will probably be rearranging some of this equipment, but I will still keep an actual amp setup in case my computer crashes in some way. Just wish MIDI controller pedals were cheaper on Ebay! Sheesh.

QMidiRoute, and CPU Scaling In Ubuntu Studio

How many of you are aware of the program “QMidiRoute”? It lets you transform any kind of MIDI input into any other… it doesn’t have the power of something like Mididings, but it’s got a GUI and is very easy to use. What do I use it for?

On my live looping guitar setup, I wanted to be able to control three programs with one MIDI foot controller, an old ART X-15. The pedal isn’t programmable, so for me to split up messages, I use QMidiRoute. It goes something like this:

I’m using Rakarrak for guitar sounds (I also use Guitarix, which sounds better), and I’m pretty much using it in stompbox mode, i.e. just turning single effects on and off. The mapping uses a single CC# and different distinct values to turn individual fx on/off (which is dumb). I can put the pedal in CC mode, but I can’t make it do that… qmidiroute can do that for me. Also, any PC signals automatically change presets in Rakarrak, which I don’t want… so I have qmidiroute discard anything it doesn’t have a specific rule for.

For SooperLooper, I want to be able to use PC messages 1-10 to record, dub, change loops, and so on. It doesn’t need any translations, so I have my MIDI messages going straight to it. It only does what you map it to, so no other changes are needed for it.

For Hydrogen, I want to use my second bank of PC messages (11-20) to control it, but Hydrogen doesn’t recognize PC signals, only notes or CC values. Once again, qmidiroute to the rescue… I can make specific PC changes translate into an actual note, which I can then use to trigger controls or one-shots from Hydrogen.

You can also have multiple configurations, and make a shortcut that loads that particular file on startup, which makes it easy to use in a live performance setting! You just add it to your Jack patch panel, save it, and the next time you fire it up, it’s automatically configured and patched in.

Check it out! It can also route signals to two different output ports, which lets you split notes or note ranges (or PC and CC ranges) to two different outputs.

qmidiroute

This leads me to my next problem to tackle… I hadn’t been able to run guitar effects very well, due to random CPU spikes and latency issues. In my research to build my laptop into a live performance machine, I stumbled across some interesting information about CPU frequency scaling, and how in XFCE it is extremely wonky… I did some research, and discovered how to manually override the wonky settings with a program called “cpufreq-set” (in package “cpufrequtils”).

I also noticed how my laptop would go out of performance mode whenever I started Jack, which caused all kinds of problems with latency. So, I added a couple of scripts in the Jack configuration tab, which forces the CPUs into Performance Mode when Jack starts, and puts them back in economy mode when Jack stops. (I had to add superuser rights to the program cpufreq-set to do this).

Here’s the page with all the info on cpufrequtils, and a screenshot of my Jack startup/shutdown scripts.

http://www.pantz.org/software/cpufreq/usingcpufreqonlinux.html

Screenshot - 06222013PM

You can see the numbers, those are forcing the CPUs to run at a max of 2.2Ghz and a min of 800Mhz, respectively.