AUMIDIBase

Superclasses : none
Subclasses : AUMIDIEffectBase, MusicDeviceBase
Header : AUMIDIBase

class AUMIDIBase 

This is a base class for units that handle MIDI.


Methods

Constructor


AUMIDIBase

public constructor


 AUMIDIBase(AUBase* inBase);



Destructor


~AUMIDIBase

public virtual destructor


 virtual ~AUMIDIBase();



MIDI


HandleAllNotesOff

protected virtual method


 virtual void HandleAllNotesOff(int inChannel);

Override this method to handle the this type of MIDI event.



HandleAllSoundOff

protected virtual method


 virtual void HandleAllSoundOff(int inChannel);

Override this method to handle the this type of MIDI event.



HandleChannelPressure

protected virtual method


 virtual void HandleChannelPressure(
          int                             inChannel,
          UInt8                           inValue,
          long                            inStartFrame
    );

Override this method to handle the this type of MIDI event.



HandleControlChange

protected virtual method


 virtual void HandleControlChange(
          int                             inChannel,
          UInt8                           inController,
          UInt8                           inValue,
          long                            inStartFrame
    );

Override this method to handle the this type of MIDI event.



HandleMidiEvent

protected virtual method


 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.



HandleNoteOff

protected virtual method


 virtual void HandleNoteOff(
          int                             inChannel,
          UInt8                           inNoteNumber,
          UInt8                           inVelocity,
          long                            inStartFrame
    );

Override this method to handle the this type of MIDI event.



HandleNoteOn

protected virtual method


 virtual void HandleNoteOn(
          int                             inChannel,
          UInt8                           inNoteNumber,
          UInt8                           inVelocity,
          long                            inStartFrame
    );

Override this method to handle the this type of MIDI event.



HandlePitchWheel

protected virtual method


 virtual void HandlePitchWheel(
          int                             inChannel,
          UInt8                           inPitch1,
          UInt8                           inPitch2,
          long                            inStartFrame
    );

Override this method to handle the this type of MIDI event.



HandlePolyPressure

protected virtual method


 virtual void HandlePolyPressure(
          int                             inChannel,
          UInt8                           inKey,
          UInt8                           inValue,
          long                            inStartFrame
    );

Override this method to handle the this type of MIDI event.



HandleProgramChange

protected virtual method


 virtual void HandleProgramChange(
          int                             inChannel,
          UInt8                           inValue
    );

Override this method to handle the this type of MIDI event.



HandleResetAllControllers

protected virtual method


 virtual void HandleResetAllControllers(int inChannel);

Override this method to handle the this type of MIDI event.



HandleSysEx

protected virtual method


 virtual void HandleSysEx(
          unsigned char*                  inData,
          UInt32                          inLength
    );

Override this method to handle the this type of MIDI event.



MIDIEvent

public nonvirtual method


 ComponentResult MIDIEvent(
          UInt32                          inStatus,
          UInt32                          inData1,
          UInt32                          inData2,
          UInt32                          inOffsetSampleFrame
    );



SysEx

public nonvirtual method


 ComponentResult SysEx(
          UInt8*                          inData,
          UInt32                          inLength
    );



Other


ComponentEntryDispatch

public static method


 static ComponentResult ComponentEntryDispatch(
          ComponentParameters*            params,
          AUMIDIBase*                     This
    );



DelegateGetProperty

public virtual method


 virtual ComponentResult DelegateGetProperty(
          AudioUnitPropertyID             inID,
          AudioUnitScope                  inScope,
          AudioUnitElement                inElement,
          void*                           outData
    );



DelegateGetPropertyInfo

public virtual method


 virtual ComponentResult DelegateGetPropertyInfo(
          AudioUnitPropertyID             inID,
          AudioUnitScope                  inScope,
          AudioUnitElement                inElement,
          UInt32&                         outDataSize,
          Boolean&                        outWritable
    );



DelegateSetProperty

public virtual method


 virtual ComponentResult DelegateSetProperty(
          AudioUnitPropertyID             inID,
          AudioUnitScope                  inScope,
          AudioUnitElement                inElement,
          const void*                     inData,
          UInt32                          inDataSize
    );



GetXMLNames

protected virtual method


 virtual ComponentResult GetXMLNames(CFURLRef *outNameDocument);



HandleMIDIPacketList

public nonvirtual method


 ComponentResult HandleMIDIPacketList(const MIDIPacketList *pktlist);



HandleNonNoteEvent

protected virtual method


 virtual void HandleNonNoteEvent (
          UInt8                           status,
          UInt8                           channel,
          UInt8                           data1,
          UInt8                           data2,
          UInt32                          inStartFrame
    );



Data


Other


mAUBaseInstance

private instance variable


 AUBase& mAUBaseInstance;