Skip to content

Midi Channel Change by Button Press #237

Answered by franky47
Niknator asked this question in Q&A
Discussion options

You must be logged in to vote

While there is a built-in concept of an input channel (to simplify filtering out what your device is listening to), there is no equivalent for sent messages.

You can keep a global variable that represents the output channel, and use two buttons to increment/decrement its value. This value would then be used when calling MIDI.sendXYZ functions.

For persistance, you could store this value in the Arduino's EEPROM memory, and load it at setup time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by franky47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants