Contents

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 0 to 127.

  • value:

    The value of the pressure. The valid range is 0 to 127.

  • channel:

    The channel number to send the event to. The valid range is 0 to 15.

See Also

Sending information to the MIDI instrument