One Logo Pool Ball
AVFAudio · IOS API REFERENCE

AVMIDINoteEvent

class · iOS 16.0+ · SDK 27.1

class AVMIDINoteEvent

Members (9)

init · iOS 16.0+

init

TypeScript
static init(channel: number, keyNum: number, velocity: number, duration: number): AVMIDINoteEvent
Swift declaration
init(channel: UInt32, key keyNum: UInt32, velocity: UInt32, duration: AVMusicTimeStamp)
get · iOS 16.0+

channel

TypeScript
get channel(): number
Swift declaration
var channel: UInt32 { get set }
set · iOS 16.0+

channel

TypeScript
set channel(value: number)
Swift declaration
var channel: UInt32 { get set }
get · iOS 16.0+

duration

TypeScript
get duration(): number
Swift declaration
var duration: AVMusicTimeStamp { get set }
set · iOS 16.0+

duration

TypeScript
set duration(value: number)
Swift declaration
var duration: AVMusicTimeStamp { get set }
get · iOS 16.0+

key

TypeScript
get key(): number
Swift declaration
var key: UInt32 { get set }
set · iOS 16.0+

key

TypeScript
set key(value: number)
Swift declaration
var key: UInt32 { get set }
get · iOS 16.0+

velocity

TypeScript
get velocity(): number
Swift declaration
var velocity: UInt32 { get set }
set · iOS 16.0+

velocity

TypeScript
set velocity(value: number)
Swift declaration
var velocity: UInt32 { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

AVMIDINoteEvent.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All AVFAudio types →