共用方式為


AVAudioEngine.ConnectMidi 方法

定義

多載

ConnectMidi(AVAudioNode, AVAudioNode[], AVAudioFormat, AUMidiOutputEventBlock)
ConnectMidi(AVAudioNode, AVAudioNode, AVAudioFormat, AUMidiOutputEventBlock)

ConnectMidi(AVAudioNode, AVAudioNode[], AVAudioFormat, AUMidiOutputEventBlock)

[Foundation.Export("connectMIDI:toNodes:format:block:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ConnectMidi (AVFoundation.AVAudioNode sourceNode, AVFoundation.AVAudioNode[] destinationNodes, AVFoundation.AVAudioFormat format, AudioUnit.AUMidiOutputEventBlock tapHandler);
abstract member ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode[] * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit
override this.ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode[] * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit

參數

sourceNode
AVAudioNode
destinationNodes
AVAudioNode[]
format
AVAudioFormat
屬性

適用於

ConnectMidi(AVAudioNode, AVAudioNode, AVAudioFormat, AUMidiOutputEventBlock)

[Foundation.Export("connectMIDI:to:format:block:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ConnectMidi (AVFoundation.AVAudioNode sourceNode, AVFoundation.AVAudioNode destinationNode, AVFoundation.AVAudioFormat format, AudioUnit.AUMidiOutputEventBlock tapHandler);
abstract member ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit
override this.ConnectMidi : AVFoundation.AVAudioNode * AVFoundation.AVAudioNode * AVFoundation.AVAudioFormat * AudioUnit.AUMidiOutputEventBlock -> unit

參數

sourceNode
AVAudioNode
destinationNode
AVAudioNode
format
AVAudioFormat
屬性

適用於