22 #ifndef ZVISION_MIDI_H 23 #define ZVISION_MIDI_H 35 void noteOn(uint8 channel, uint8 noteNumber, uint8 velocity);
36 void noteOff(uint8 channel);
37 void setVolume(uint8 channel, uint8 volume);
38 void setBalance(uint8 channel, int8 balance);
39 void setPan(uint8 channel, int8 pan);
40 void setProgram(uint8 channel, uint8 prog);
42 int8 getFreeChannel();
43 bool isAvailable()
const {
48 bool _available =
false;
54 chan() : playing(
false), note(0) {}
56 void send(uint8 status, uint8 data1 = 0x00, uint8 data2 = 0x00);
57 uint8 _startChannel = 0;
58 uint8 _maxChannels = 16;
60 chan _activeChannels[16];
Definition: focus_list.h:27
Definition: mididrv.h:311