2 #define NOTE_ON (0b1001)
3 #define NOTE_OFF (0b1000)
5 #define INSTRUMENT (0b1100)
6 #define CONTROL (0b1011)
11 #define BALANCE (0x08)
uint8_t instrument
counter to keep track of what instrument is on the MIDI channel
void change_instrument(uint8_t channel, uint8_t instrument)
void write_test_note(void)
void change_volume(uint8_t chan, uint8_t vol)
void pitch_bend(uint8_t channel, int16_t value)
void send_note_off(uint8_t channel, uint8_t vel, uint8_t pitch)
void send_note(uint8_t channel, uint8_t vel, uint8_t pitch)
void send_controller_command(uint8_t channel, uint8_t controller, uint8_t value)
void send_byte(uint8_t byte)