Menu

midi comand for change bank

Guillem
2019-10-18
2020-06-12
  • Guillem

    Guillem - 2019-10-18

    Hi,
    I have made a midi controller with arduino and I can choose the presets of
    the same bank but I cannot jump from the bank.
    Is it possible to change the bank and preset with a program change command?
    What would be the midi command?

     
  • brummer

    brummer - 2019-10-18

    Hi
    To switch the bank the Bank Select LSB 32 message is supported.
    This needs to be followed by a Program change message to set the preset to be used from the bank.
    Many Midi controllers send the LSB message with any Program change message, even when the bank didn't change.

     
  • Guillem

    Guillem - 2019-10-20

    Thanks for your help brummer.
    I tried a lot of combinations of midi messages but I haven't got it yet.
    I know that the purpose of this discussion board is support guitarix and not arduino but if you can help me I would appreciate it very much.
    I use the Arduino MIDI Library for send commands but I still can't get out of the bank.
    http://arduinomidilib.sourceforge.net/a00001.html

    MIDI.sendControlChange(0x0B, 1, 0);
    MIDI.sendProgramChange(1, 1);
    

    For example, what message do I have to send to go to preset 3 of bank 0?ç

    Thanks a lot.

     
  • brummer

    brummer - 2019-10-21

    Yea, I'm not into the arduino, but it should be something like:

    MIDI.sendControlChange(0x20, 0, 1);  // LSB 32, banknum, channel
    MIDI.sendProgramChange(3, 1);         // program, channel
    

    were you could replave the hex 0x20 as well with the digit 32.
    Channel could be any channel, because guitarix usualy listen to all channels.

    When the program number is higher then the stored presets in the bank, the messages get ignored.

     
  • Guillem

    Guillem - 2019-10-21

    It has worked, thank you very much for your help!!!!!!!!!1
    Sincere greetings!!!

     
  • tuxin nadiyard

    tuxin nadiyard - 2020-06-12

    Hi,
    Thank you very much !!!
    I am actually building a "portable" home studio based on RealTime RPI 4 that includes guitarix and an USB Arduino foot pedal to apply presets.
    This post helped me a lot to build messages i have to send with Arduino to guitarix !
    Thanks to you, it works like a charm :)

    Regards

     

Anonymous
Anonymous

Add attachments
Cancel