Page 1 of 1

Raspberry + Guitarix (IR)

Posted: Sat Oct 21, 2017 2:01 pm
by Bullet0070
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.

Re: Raspberry + Guitarix (IR)

Posted: Sat Oct 21, 2017 5:09 pm
by Jack Winter
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/

Re: Raspberry + Guitarix (IR)

Posted: Sat Oct 21, 2017 5:51 pm
by Bullet0070
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

Re: Raspberry + Guitarix (IR)

Posted: Sun Oct 22, 2017 9:29 am
by Jack Winter
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.

Re: Raspberry + Guitarix (IR)

Posted: Mon Oct 23, 2017 11:16 am
by Bullet0070
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?

Re: Raspberry + Guitarix (IR)

Posted: Mon Oct 23, 2017 3:46 pm
by tramp
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

Re: Raspberry + Guitarix (IR)

Posted: Sat Oct 28, 2017 8:14 am
by tramp
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.