startNote(_:withVelocity:onChannel:)
Sends a MIDI Note On event to the instrument.
Declaration
func startNote(_ note: UInt8, withVelocity velocity: UInt8, onChannel channel: UInt8)Parameters
- note:
The note number (key) to play. The valid range is
0to127. - velocity:
Specifies the volume to play the note at. The valid range is
0to127. - channel:
The channel number to send the event to. The valid range is
0to15.