Navigation Menu

Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
Bank change Msb
Browse files Browse the repository at this point in the history
  • Loading branch information
pichenettes committed Nov 21, 2013
1 parent 769fc19 commit bfad92f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions midi/midi.h
Expand Up @@ -22,6 +22,7 @@

namespace midi {

const uint8_t kBankMsb = 0x00;
const uint8_t kBankLsb = 0x20;
const uint8_t kModulationWheelMsb = 0x01;
const uint8_t kModulationWheelJoystickMsb = 0x02;
Expand Down
2 changes: 1 addition & 1 deletion shruthi/midi_dispatcher.h
Expand Up @@ -65,7 +65,7 @@ class MidiDispatcher : public midi::MidiDevice {
uint8_t channel,
uint8_t controller,
uint8_t value) {
if (controller == midi::kBankLsb) {
if (controller == midi::kBankMsb) {
current_bank_ = value;
} else {
display.set_status('\x05');
Expand Down

0 comments on commit bfad92f

Please sign in to comment.