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
0to127. - value:
Value for the controller. The valid range is
0to127. - channel:
The channel number to send the event to. The valid range is
0to15.