Hello,
I am confused on how to change the channel of the program command in MIDI.
What I am trying to accomplish is to change the program (instrument) on channel 1, 2, 3.... instead of the default 0.
Using noteOn analogy:
void noteOn(byte channel, byte note, byte attack_velocity) { //Send a MIDI note-on message. Like pressing a piano key
talkMIDI( (0x90 | channel), note, attack_velocity); //channel ranges from 0-15
I thought this would work for program change :
talkMIDI(0xC0|channel, instrument, 0);
But it is not changing the channel instrument ( changing channel to 1 or 2)
Anyone know how to change the channel using the change program command?