Change MIDI channel using buttons

Glad to hear!

I am :slight_smile:

Hey Pieter P
Is it cool to credit you on the finished code and link up the website to the library on my github please?
Sharing it with a build guide for my MIDI gameboy synth controller :wink:

Could you post the final code for your interface? Thanks.

Sure.

Hi @PieterP! Can you explain to me how I can change channels on NoteButtonMatrix?
This is a sample NBM that I have and its don't work :frowning_face:

Bank<16> bank(1);

IncrementDecrementSelector<16> selector = {
  bank,
  {15, 14},
  Wrap::Wrap,
};

const AddressMatrix<2,8> notes = {{
  { 64, 65, 66, 67, 68, 69, 70, 71 },
  { 72, 73, 74, 75, 76, 77, 78, 79 },
}};

Bankable::NoteButtonMatrix<2, 8> button_matrix = {
  {bank, BankType::CHANGE_CHANNEL},
  {2, 3},
  { btn_mux_one.pin(0), btn_mux_one.pin(1), btn_mux_one.pin(2), btn_mux_one.pin(3), btn_mux_one.pin(4), btn_mux_one.pin(5), btn_mux_one.pin(6), btn_mux_one.pin(7) },
  notes,
  CHANNEL_1,
};

P.S.: Thank you for your great work on this cool lib

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.