Contents

midiNote

The MIDI note number.

Declaration

var midiNote: Float { get set }

Discussion

If the instrument within the AVMusicTrack destination audio unit supports fractional values, you use this to generate arbitrary tunings. The valid range of values depends on the destination audio unit, and is usually between 0.0 and 127.0.

See Also

Configuring a Note On Event