Platforms to show: All Mac Windows Linux Cross-Platform
AVAudioUnitMIDIInstrumentMBS class
Super class: AVAudioUnitMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundationNode | MBS AVFoundation Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An AVAudioUnitMIDIInstrument subclass can be used in a chain that processes realtime input (live) and has general concept of music events, for example, notes.
Available in OS X v10.10 and later.
Subclass of the AVAudioUnitMBS class.
- 12 methods
- method Constructor(audioComponentDescription as AVAudioComponentDescriptionMBS)
- method sendController(Controller as Integer, Value as Integer, Channel as Integer)
- method sendMIDIEvent(midiStatus as Integer, data1 as Integer)
- method sendMIDIEvent(midiStatus as Integer, data1 as Integer, data2 as Integer)
- method sendMIDISysExEvent(data as MemoryBlock)
- method sendPitchBend(pitchbend as Integer, Channel as Integer)
- method sendPressure(pressure as Integer, Channel as Integer)
- method sendPressureForKey(Key as Integer, value as Integer, Channel as Integer)
- method sendProgramChange(program as Integer, bankMSB as Integer, bankLSB as Integer, Channel as Integer)
- method sendProgramChange(program as Integer, Channel as Integer)
- method startNote(note as Integer, Velocity as Integer, Channel as Integer)
- method stopNote(note as Integer, Channel as Integer)
Super class AVAudioUnitMBS
- 2 events
- event LevelMonitor(Level0 as Double, Level1 as Double, Level2 as Double, Level3 as Double, Level4 as Double, Level5 as Double, Level6 as Double, Level7 as Double, tag as Variant)
- event PropertyListener(ID as UInt32, Scope as UInt32, Element as UInt32)
- 6 properties
- property audioComponentDescription as AVAudioComponentDescriptionMBS
- property audioUnitHandle as Integer
- property lastError as Integer
- property ManufacturerName as String
- property Name as String
- property Version as Integer
- 12 methods
- method AddPropertyListener(ID as UInt32)
- method Constructor Private
- method Constructor(audioComponentDescription as AVAudioComponentDescriptionMBS) Private
- method CreateView(PreferredSize as NSSizeMBS) as NSViewMBS
- method Destructor
- method GetParameter(ID as UInt32, Scope as UInt32, Element as UInt32) as Single
- method GetProperty(ID as UInt32, Scope as UInt32, Element as UInt32) as Memoryblock
- method GetPropertyInfo(ID as UInt32, Scope as UInt32, Element as UInt32, byref WriteAble as Boolean) as UInt32
- method installLevelMonitor(CallsPerSecond as Integer, tag as Variant = nil)
- method RemovePropertyListener(ID as UInt32)
- method SetParameter(ID as UInt32, Scope as UInt32, Element as UInt32, Value as Single, inBufferOffsetInFrames as UInt32 = 0)
- method SetProperty(ID as UInt32, Scope as UInt32, Element as UInt32, data as Memoryblock)
Super class AVAudioNodeMBS
- event Tap(bus as Integer, bufferSize as UInt32, format as AVAudioFormatMBS, buffer as AVAudioPCMBufferMBS, time as AVAudioTimeMBS, tag as Variant)
- 8 properties
- property AUAudioUnitHandle as Integer
- property engine as AVAudioEngineMBS
- property Handle as Integer
- property lastRenderTime as AVAudioTimeMBS
- property latency as Double
- property numberOfInputs as Integer
- property numberOfOutputs as Integer
- property outputPresentationLatency as Double
- 8 methods
- method Constructor Private
- method inputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- method installTapOnBus(busIndex as Integer, bufferSize as UInt32 = 0, format as AVAudioFormatMBS = nil, tag as Variant = nil)
- method nameForInputBus(busIndex as Integer) as string
- method nameForOutputBus(busIndex as Integer) as string
- method outputFormatForBus(busIndex as Integer) as AVAudioFormatMBS
- method removeTapOnBus(busIndex as Integer)
- method reset
- shared method available as boolean
Sub classes:
Blog Entries
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVAudioUnitMBS - AVAudioUnitReverbMBS