Split keyboard

Hello how are you? I am new to this world, could I create a split keyboard, with a midi usb input and the output the keyboard divided into 2, one part to channel 1 and another to channel 2?

Comments

  • Hello Gabriel,

    There's nothing built into WebMidi.js specifically for that but you can definitely do it using a simple condition. When a note comes in through the USB, simply check its note number, if it's lower than your split threshold, send it to channel 1, otherwise send it to channel 2.

    Cheers!