|
| AUFXPlugin (AudioUnit component) |
| constructor for plugin object More...
|
|
| ~AUFXPlugin () |
| destructor for plugin object More...
|
|
virtual ComponentResult | Version () |
|
virtual ComponentResult | Initialize () |
| the AU init function More...
|
|
virtual OSStatus | GetPropertyInfo (AudioUnitPropertyID inID, AudioUnitScope nScope, AudioUnitElement inElement, UInt32 &outDataSize, Boolean &outWritable) |
| queries from host about plugin properties More...
|
|
virtual OSStatus | GetProperty (AudioUnitPropertyID inID, AudioUnitScope inScope, AudioUnitElement inElement, void *outData) |
| queries from host to get property information More...
|
|
virtual OSStatus | SetProperty (AudioUnitPropertyID inID, AudioUnitScope inScope, AudioUnitElement inElement, const void *inData, UInt32 inDataSize) |
| open and close the GUI object More...
|
|
virtual ComponentResult | GetParameterInfo (AudioUnitScope inScope, AudioUnitParameterID inParameterID, AudioUnitParameterInfo &outParameterInfo) |
| get information about each AU parameter that was initialized More...
|
|
virtual ComponentResult | GetPresets (CFArrayRef *outData) const |
| return a static array of preset information structures More...
|
|
virtual OSStatus | NewFactoryPresetSet (const AUPreset &inNewFactoryPreset) |
| user has selected a new preset More...
|
|
virtual bool | SupportsTail () |
|
virtual Float64 | GetTailTime () |
|
virtual Float64 | GetLatency () |
|
virtual ComponentResult | SetParameter (AudioUnitParameterID inID, AudioUnitScope inScope, AudioUnitElement inElement, AudioUnitParameterValue inValue, UInt32 inBufferOffsetInFrames) |
| this just calls base class More...
|
|
virtual OSStatus | Render (AudioUnitRenderActionFlags &ioActionFlags, const AudioTimeStamp &inTimeStamp, UInt32 inNumberFrames) |
| first function to be called during buffer process cycle More...
|
|
virtual OSStatus | ProcessBufferLists (AudioUnitRenderActionFlags &ioActionFlags, const AudioBufferList &inBuffer, AudioBufferList &outBuffer, UInt32 inFramesToProcess) |
| process the de-interleaved channel buffers More...
|
|
virtual ComponentResult | Reset (AudioUnitScope inScope, AudioUnitElement inElement) |
| reset function for AU and core More...
|
|
virtual ComponentResult | GetParameterValueStrings (AudioUnitScope inScope, AudioUnitParameterID inParameterID, CFArrayRef *outStrings) |
| get parameter string-lists (for string-list params only) More...
|
|
virtual ComponentResult | RestoreState (CFPropertyListRef inData) |
| called when a user preset is updated; may also be called during init; note the call sequence depends on the host and AULab calls early init functions in a different order that Logic. More...
|
|
virtual UInt32 | SupportedNumChannels (const AUChannelInfo **outInfo) |
| return an array of AUChannelInfo structures with input and output channel combinations More...
|
|
virtual OSStatus | HandleNoteOn (UInt8 inChannel, UInt8 inNoteNumber, UInt8 inVelocity, UInt32 inStartFrame) |
| specialized MIDI handler for only this message; CURRENTLY NOT USED, see HandleMidiEvent More...
|
|
virtual OSStatus | HandleNoteOff (UInt8 inChannel, UInt8 inNoteNumber, UInt8 inVelocity, UInt32 inStartFrame) |
| specialized MIDI handler for only this message; CURRENTLY NOT USED, see HandleMidiEvent More...
|
|
virtual OSStatus | HandlePitchWheel (UInt8 inChannel, UInt8 inPitch1, UInt8 inPitch2, UInt32 inStartFrame) |
| specialized MIDI handler for only this message; CURRENTLY NOT USED, see HandleMidiEvent More...
|
|
virtual OSStatus | HandleControlChange (UInt8 inChannel, UInt8 inController, UInt8 inValue, UInt32 inStartFrame) |
| specialized MIDI handler for only this message; CURRENTLY NOT USED, see HandleMidiEvent More...
|
|
virtual OSStatus | HandleMidiEvent (UInt8 status, UInt8 channel, UInt8 data1, UInt8 data2, UInt32 inStartFrame) |
| specialized MIDI handler to add events to the plugin's queue More...
|
|
char * | getMyComponentDirectory (CFStringRef bundleID) |
| helper function to get a path to the location where THIS library is loaded More...
|
|
void | setAUParameterChangeEvent (unsigned int controlID, double actualValue) |
| safely issue a parameter change event More...
|
|
double | getAUParameter (unsigned int controlID) |
| safely get a parameter value More...
|
|
| AUFXPlugin (AudioUnit component) |
|
virtual ComponentResult | Version () |
|
virtual ComponentResult | Initialize () |
|
virtual OSStatus | GetPropertyInfo (AudioUnitPropertyID inID, AudioUnitScope nScope, AudioUnitElement inElement, UInt32 &outDataSize, Boolean &outWritable) |
|
virtual OSStatus | GetProperty (AudioUnitPropertyID inID, AudioUnitScope inScope, AudioUnitElement inElement, void *outData) |
|
virtual OSStatus | SetProperty (AudioUnitPropertyID inID, AudioUnitScope inScope, AudioUnitElement inElement, const void *inData, UInt32 inDataSize) |
|
virtual ComponentResult | GetParameterInfo (AudioUnitScope inScope, AudioUnitParameterID inParameterID, AudioUnitParameterInfo &outParameterInfo) |
|
virtual ComponentResult | GetPresets (CFArrayRef *outData) const |
|
virtual OSStatus | NewFactoryPresetSet (const AUPreset &inNewFactoryPreset) |
|
virtual bool | SupportsTail () |
|
virtual Float64 | GetTailTime () |
|
virtual Float64 | GetLatency () |
|
virtual ComponentResult | SetParameter (AudioUnitParameterID inID, AudioUnitScope inScope, AudioUnitElement inElement, AudioUnitParameterValue inValue, UInt32 inBufferOffsetInFrames) |
|
virtual OSStatus | Render (AudioUnitRenderActionFlags &ioActionFlags, const AudioTimeStamp &inTimeStamp, UInt32 inNumberFrames) |
|
virtual OSStatus | ProcessBufferLists (AudioUnitRenderActionFlags &ioActionFlags, const AudioBufferList &inBuffer, AudioBufferList &outBuffer, UInt32 inFramesToProcess) |
|
virtual ComponentResult | Reset (AudioUnitScope inScope, AudioUnitElement inElement) |
|
virtual ComponentResult | GetParameterValueStrings (AudioUnitScope inScope, AudioUnitParameterID inParameterID, CFArrayRef *outStrings) |
|
virtual ComponentResult | RestoreState (CFPropertyListRef inData) |
|
virtual UInt32 | SupportedNumChannels (const AUChannelInfo **outInfo) |
|
virtual OSStatus | HandleNoteOn (UInt8 inChannel, UInt8 inNoteNumber, UInt8 inVelocity, UInt32 inStartFrame) |
|
virtual OSStatus | HandleNoteOff (UInt8 inChannel, UInt8 inNoteNumber, UInt8 inVelocity, UInt32 inStartFrame) |
|
virtual OSStatus | HandlePitchWheel (UInt8 inChannel, UInt8 inPitch1, UInt8 inPitch2, UInt32 inStartFrame) |
|
virtual OSStatus | HandleControlChange (UInt8 inChannel, UInt8 inController, UInt8 inValue, UInt32 inStartFrame) |
|
virtual OSStatus | HandleMidiEvent (UInt8 status, UInt8 channel, UInt8 data1, UInt8 data2, UInt32 inStartFrame) |
|
char * | getMyComponentDirectory (CFStringRef bundleID) |
| helper function to get a path to the location where THIS library is loaded More...
|
|
void | setAUParameterChangeEvent (unsigned int controlID, double actualValue) |
| safely issue a parameter change event More...
|
|
double | getAUParameter (unsigned int controlID) |
| safely get a parameter value More...
|
|
The AUFXPlugin is the ASPiK plugin shell for Audio Units plugin. It contains the plugin kernel and all necessary intefaces, implemented as separate C++ obejcts.
NOTES:
- derived from AUMIDIEffectBase to allow MIDI input/output if desired; it is not necessary to use MIDI but it is bSCAvailable
- however, AUMIDIEffectBase does not allow exposing a sidechain so we get around this issue by setting the AU effet type to "aufx" even though it is really "aumu" – this will only generate a warning during validation but is otherwise secure.
- the required interfaces are implemented on member objects that handle the thread-safe transfer of parameter information
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7