Contents

sendController(_:withValue:onChannel:)

Sends a MIDI controller event to the instrument.

Declaration

func sendController(_ controller: UInt8, withValue value: UInt8, onChannel channel: UInt8)

Parameters

  • controller:

    Specifies a standard MIDI controller number. The valid range is 0 to 127.

  • value:

    Value for the controller. 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