Midi binding in guitarix

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
Hutzpah
Established Member
Posts: 38
Joined: Thu Oct 10, 2019 7:54 pm
Been thanked: 1 time

Midi binding in guitarix

Post by Hutzpah »

How do I use midi binding in guitarix?

I have Ubuntu Studio installed with Kxstudio. Using Jack and Catia its all working great, by default I can scroll through 8 patches with my midi foot controller.

But how do I customise my foot switchers?
I would like two foot switchers to act like the up and down arrows on the keyboard.
So I can quickly scroll through a group of patches.

Then use the other 6 foot switcher to select specific numbers(1 to 6).
A push in the right direction would be much appreciated.

Hutzpah
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Midi binding in guitarix

Post by tramp »

Guitarix supports Midi Program Change messages, were the program is the bank and the instrument is the preset.
Other then that you could switch bank/preset with a key combo [a-z]/[0-9] to select bank and preset.
On the road again.
Hutzpah
Established Member
Posts: 38
Joined: Thu Oct 10, 2019 7:54 pm
Been thanked: 1 time

Re: Midi binding in guitarix

Post by Hutzpah »

Hi tramp

Thanks for the post.
I managed to get it working right. The problem was on my side.
I had to change all the channels in the code of the arduino foot switch (Midi Mule).
They now are working in order I can select 8 different sound.
All sweet now.

Hutzpah :D
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Midi binding in guitarix

Post by tramp »

Nice.
So you just switch presets inside of one bank, right?
On the road again.
Hutzpah
Established Member
Posts: 38
Joined: Thu Oct 10, 2019 7:54 pm
Been thanked: 1 time

Re: Midi binding in guitarix

Post by Hutzpah »

No I made two of these foot switchers (Midi Mule).
https://thoro.de/en/guitars/midi_mule/

I had to alter the code (see below) to get the switches, to all work in the right order.
Linux with kxstudio is very powerful but its take a bit of study to get your head
around how it all works.
Only today for the first time. I managed to get guitarix, Luppp and helm working.



void loop() {
buttonGND1.poll();
if(buttonGND1.released()) {
// Serial.write("Button 1\n");
MIDI.sendProgramChange(0,1); // Send the MIDI command
ledOffAll();
analogWrite(ledPin1, 255);
Post Reply