sendPressure(forKey:withValue:onChannel:)
Sends a MIDI Polyphonic key pressure event to the instrument.
Declaration
func sendPressure(forKey key: UInt8, withValue value: UInt8, onChannel channel: UInt8)Parameters
- key:
The key (note) number to which the pressure event applies. The valid range is
0to127. - value:
The value of the pressure. The valid range is
0to127. - channel:
The channel number to send the event to. The valid range is
0to15.