Raspberry + Guitarix (IR)

Bring your custom casings, arduinos, raspberry pi's, axoloti's and other creative hardware projects

Moderators: khz, MattKingUSA

Bullet0070
Posts: 4
Joined: Sat Oct 21, 2017 1:50 pm

Raspberry + Guitarix (IR)

Postby Bullet0070 » Sat Oct 21, 2017 2:01 pm

Hi! Im REALLY new to raspberry stuff. I've built a couple of analog pedals myself(TubeScreamer, OCD Overdrive, BOSS MT-2), and now im thinking of building a IR (Impulse Response) loader using Raspberry Pi + Guitarix. I've never used Linux and in fact i haven't ever had a Raspberry yet. Im collecting info of best way to do it. I think that the fact that i dont need to make it a multieffect pedal makes it easier(or does it?). So, what exactly do i need to start with? What Raspberry do i need? 2, 3, B, Zero? How to make it work with my soundcard? (Currently im using M-Audio M-track 2.0 but its huge, so to make it more like "pedal size" i'll stick to something like Behhringer UCA-222"). Do i need something else to buy?
I've searched along the web but all the projects are multieffects processors with a lot of footswitches, so they are really hard projects and imposible to undarstand for me at this point. I need ONLY IR loader, thats it.
Sorry me for being such a newbie, we all begin at some point) Thank you.

Jack Winter
Establlshed Member
Posts: 190
Joined: Sun May 28, 2017 3:52 pm

Re: Raspberry + Guitarix (IR)

Postby Jack Winter » Sat Oct 21, 2017 5:09 pm

I'd pick the latest version of the rpi, if for nothing else it's newer and faster.

Also note that possibly you need nothing more than jack and jconvolver: http://kokkinizita.linuxaudio.org/linuxaudio/
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

Bullet0070
Posts: 4
Joined: Sat Oct 21, 2017 1:50 pm

Re: Raspberry + Guitarix (IR)

Postby Bullet0070 » Sat Oct 21, 2017 5:51 pm

Thank you for your reply. I will definetely check out jconvolver. Do you mean i will not even need any audio interface? Or am i missunderstood you, because i obviously need some audio interface to plug my guitar in and get processed sound fron interface output.Correct me if im wrong

Jack Winter
Establlshed Member
Posts: 190
Joined: Sun May 28, 2017 3:52 pm

Re: Raspberry + Guitarix (IR)

Postby Jack Winter » Sun Oct 22, 2017 9:29 am

Of course you will need some way to in/out-put audio, so a sound card of some sort is needed. What I meant is that maybe JACK and jconvolver (and possibly a realtime kernel) might be all you need software wise. Note that I don't have any personal experience with a rpi, but have run into people building rt kernels for it.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc 8) For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux

Bullet0070
Posts: 4
Joined: Sat Oct 21, 2017 1:50 pm

Re: Raspberry + Guitarix (IR)

Postby Bullet0070 » Mon Oct 23, 2017 11:16 am

Ok, i've installed Ubuntu on my laptop just to figure out how to work with linux. Ive managed to install Guitarix and it successfully worked. The next question now is: i can do the same thing using raspberry, but how do i control it? Of course i can use keyboard and mouse, but it obviously isnt that "pedal-like" usage,so i want to have it controlled via midi signals. I mean changing gain amount, turning effects on/off. I have an Arduino with HC-06 bluetooth module so i can make Arduino to recieve signal from smartphone. So, the Raspberry somehow gets incoming info from Arduino via USB and then somehow converts this signals to MIDI. I think thats possible, but how to make Raspberry load and configure itself? I mean i turn raspberry ON and it starts up Guitarix, QJackctl, makes all connections without my commands. How to do that?

User avatar
tramp
Establlshed Member
Posts: 1104
Joined: Mon Jul 01, 2013 8:13 am

Re: Raspberry + Guitarix (IR)

Postby tramp » Mon Oct 23, 2017 3:46 pm

Hi

So, welcome to Linux. :)
Bullet0070 wrote:The next question now is: i can do the same thing using raspberry, but how do i control it? Of course i can use keyboard and mouse, but it obviously isnt that "pedal-like" usage,so i want to have it controlled via midi signals. I mean changing gain amount, turning effects on/off. I have an Arduino with HC-06 bluetooth module so i can make Arduino to recieve signal from smartphone. So, the Raspberry somehow gets incoming info from Arduino via USB and then somehow converts this signals to MIDI.


Yes, here is a project which doing a Guitarix midi controller using an Arduino Leonardo.
https://github.com/snappy46/GuitarixMidiController

And here is one which doing a "guitarix pedal" on a ODROID-C2
https://github.com/rabits/onebutton
and control it via socket over Bluetooth.
https://github.com/rabits/onecontrol

Bullet0070 wrote:I think thats possible, but how to make Raspberry load and configure itself? I mean i turn raspberry ON and it starts up Guitarix, QJackctl, makes all connections without my commands. How to do that?


A simple startup script will do that, guitarix remember it's connections and will recreate them on startup. So you just need to start jackd and then guitarix, script-wise.

Other then that, any controller in guitarix could connected to a MIDI CC port via midi learn. Instrument/Program change messages been connected as default to Bank/Preset.
So if you wish to use guitarix as a plain IR loader in this case, you best save your presets with the IR's loaded and the Convolver running, any other effect, including the amp, could be switched of, if you prefer. Then you could control the IR loading via Instrument/Program change messages.

regards
hermann

User avatar
tramp
Establlshed Member
Posts: 1104
Joined: Mon Jul 01, 2013 8:13 am

Re: Raspberry + Guitarix (IR)

Postby tramp » Sat Oct 28, 2017 8:14 am

tramp wrote:Instrument/Program change messages been connected as default to Bank/Preset.


Other than that I've just added the possibility to switch to next/previous preset with Midi CC or Note On messages.
This works as well in headless mode, you just need to connect it via midi learn in GUI mode.


Return to “DIY projects”

Who is online

Users browsing this forum: No registered users and 1 guest