Superclasses :
none
Subclasses :
AUMIDIEffectBase, MusicDeviceBase
Header : AUMIDIBase
class AUMIDIBase
This is a base class for units that handle MIDI.
Methods
Constructor
AUMIDIBase(AUBase* inBase);
Destructor
|
public virtual destructor
|
virtual ~AUMIDIBase();
MIDI
virtual void HandleAllNotesOff(int inChannel);
Override this method to handle the this type of MIDI event.
virtual void HandleAllSoundOff(int inChannel);
Override this method to handle the this type of MIDI event.
virtual void HandleChannelPressure(
int inChannel,
UInt8 inValue,
long inStartFrame
);
Override this method to handle the this type of MIDI event.
virtual void HandleControlChange(
int inChannel,
UInt8 inController,
UInt8 inValue,
long inStartFrame
);
Override this method to handle the this type of MIDI event.
virtual OSStatus HandleMidiEvent(
UInt8 inStatus,
UInt8 inChannel,
UInt8 inData1,
UInt8 inData2,
long inStartFrame
);
This method dispatches a MIDI event to one of the other handler
methods declared in this class.
virtual void HandleNoteOff(
int inChannel,
UInt8 inNoteNumber,
UInt8 inVelocity,
long inStartFrame
);
Override this method to handle the this type of MIDI event.
virtual void HandleNoteOn(
int inChannel,
UInt8 inNoteNumber,
UInt8 inVelocity,
long inStartFrame
);
Override this method to handle the this type of MIDI event.
virtual void HandlePitchWheel(
int inChannel,
UInt8 inPitch1,
UInt8 inPitch2,
long inStartFrame
);
Override this method to handle the this type of MIDI event.
virtual void HandlePolyPressure(
int inChannel,
UInt8 inKey,
UInt8 inValue,
long inStartFrame
);
Override this method to handle the this type of MIDI event.
virtual void HandleProgramChange(
int inChannel,
UInt8 inValue
);
Override this method to handle the this type of MIDI event.
virtual void HandleResetAllControllers(int inChannel);
Override this method to handle the this type of MIDI event.
virtual void HandleSysEx(
unsigned char* inData,
UInt32 inLength
);
Override this method to handle the this type of MIDI event.
ComponentResult MIDIEvent(
UInt32 inStatus,
UInt32 inData1,
UInt32 inData2,
UInt32 inOffsetSampleFrame
);
ComponentResult SysEx(
UInt8* inData,
UInt32 inLength
);
Other
static ComponentResult ComponentEntryDispatch(
ComponentParameters* params,
AUMIDIBase* This
);
virtual ComponentResult DelegateGetProperty(
AudioUnitPropertyID inID,
AudioUnitScope inScope,
AudioUnitElement inElement,
void* outData
);
virtual ComponentResult DelegateGetPropertyInfo(
AudioUnitPropertyID inID,
AudioUnitScope inScope,
AudioUnitElement inElement,
UInt32& outDataSize,
Boolean& outWritable
);
virtual ComponentResult DelegateSetProperty(
AudioUnitPropertyID inID,
AudioUnitScope inScope,
AudioUnitElement inElement,
const void* inData,
UInt32 inDataSize
);
virtual ComponentResult GetXMLNames(CFURLRef *outNameDocument);
ComponentResult HandleMIDIPacketList(const MIDIPacketList *pktlist);
virtual void HandleNonNoteEvent (
UInt8 status,
UInt8 channel,
UInt8 data1,
UInt8 data2,
UInt32 inStartFrame
);
Data
Other
|
private instance variable
|
AUBase& mAUBaseInstance;