22 #ifndef AUDIO_MPU401_H 23 #define AUDIO_MPU401_H 25 #include "audio/mididrv.h" 42 byte getNumber() {
return _channel; }
43 virtual void release() { _allocated =
false; }
45 virtual void send(uint32 b);
48 virtual void noteOff(byte note);
49 virtual void noteOn(byte note, byte velocity);
50 virtual void programChange(byte program);
51 virtual void pitchBend(int16 bend);
54 virtual void controlChange(byte control, byte value);
55 virtual void pitchBendFactor(byte value);
58 virtual void sysEx_customInstrument(uint32 type,
const byte *instr, uint32 datasize) {}
80 virtual uint32 property(
int prop, uint32 param);
83 virtual MidiChannel *getPercussionChannel() {
return &_midi_channels[9]; }
void(* TimerProc)(void *refCon)
Definition: timer.h:42
Definition: mididrv.h:300
Definition: mididrv.h:520
virtual uint32 getBaseTempo(void)
Definition: mpu401.h:79