init
TypeScriptstatic init(description: _AudioToolbox_AudioComponentDescription): AVAudioUnitMIDIInstrumentSwift declarationinit(audioComponentDescription description: AudioComponentDescription)class · iOS 8.0+ · SDK 27.1
class AVAudioUnitMIDIInstrumentstatic init(description: _AudioToolbox_AudioComponentDescription): AVAudioUnitMIDIInstrumentSwift declarationinit(audioComponentDescription description: AudioComponentDescription)sendController(controller: number, value: number, channel: number): voidSwift declarationfunc sendController(_ controller: UInt8, withValue value: UInt8, onChannel channel: UInt8)sendMIDIEventData1(midiStatus: number, data1: number): voidSwift declarationfunc sendMIDIEvent(_ midiStatus: UInt8, data1: UInt8)sendMIDIEventData1Data2(midiStatus: number, data1: number, data2: number): voidSwift declarationfunc sendMIDIEvent(_ midiStatus: UInt8, data1: UInt8, data2: UInt8)send(eventList: SDKHandle): voidSwift declarationfunc send(_ eventList: UnsafePointer<MIDIEventList>)sendMIDISysExEvent(midiData: ArrayBuffer): voidSwift declarationfunc sendMIDISysExEvent(_ midiData: Data)sendPitchBend(pitchbend: number, channel: number): voidSwift declarationfunc sendPitchBend(_ pitchbend: UInt16, onChannel channel: UInt8)sendPressureOnChannel(pressure: number, channel: number): voidSwift declarationfunc sendPressure(_ pressure: UInt8, onChannel channel: UInt8)sendPressureForKeyWithValueOnChannel(key: number, value: number, channel: number): voidSwift declarationfunc sendPressure(forKey key: UInt8, withValue value: UInt8, onChannel channel: UInt8)sendProgramChangeBankMSBBankLSBOnChannel(program: number, bankMSB: number, bankLSB: number, channel: number): voidSwift declarationfunc sendProgramChange(_ program: UInt8, bankMSB: UInt8, bankLSB: UInt8, onChannel channel: UInt8)sendProgramChangeOnChannel(program: number, channel: number): voidSwift declarationfunc sendProgramChange(_ program: UInt8, onChannel channel: UInt8)startNote(note: number, velocity: number, channel: number): voidSwift declarationfunc startNote(_ note: UInt8, withVelocity velocity: UInt8, onChannel channel: UInt8)stopNote(note: number, channel: number): voidSwift declarationfunc stopNote(_ note: UInt8, onChannel channel: UInt8)1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AVAudioUnitMIDIInstrument.init()
inherited init: cannot prove legal (class declares 1 custom initializer)