90 |
switch(cin) { // status byte |
switch(cin) { // status byte |
91 |
|
|
92 |
case 0xB0: |
case 0xB0: |
93 |
port->DispatchControlChange(packet->data[1],packet->data[2],packet->data[0]&0x0F); |
if (packet->data[1] == 0) |
94 |
|
port->DispatchBankSelectMsb(packet->data[2],packet->data[0]&0x0F); |
95 |
|
else if (packet->data[1] == 32) |
96 |
|
port->DispatchBankSelectLsb(packet->data[2],packet->data[0]&0x0F); |
97 |
|
else |
98 |
|
port->DispatchControlChange(packet->data[1],packet->data[2],packet->data[0]&0x0F); |
99 |
break; |
break; |
100 |
|
|
101 |
case 0xD0: |
case 0xD0: |
168 |
} |
} |
169 |
|
|
170 |
String MidiInputDeviceCoreMidi::Version() { |
String MidiInputDeviceCoreMidi::Version() { |
171 |
String s = "$Revision: 1.7 $"; |
String s = "$Revision: 1.8 $"; |
172 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
173 |
} |
} |
174 |
|
|