sendProgramChange(_:bankMSB:bankLSB:onChannel:)
Sends MIDI Program Change and Bank Select events to the instrument.
Declaration
func sendProgramChange(_ program: UInt8, bankMSB: UInt8, bankLSB: UInt8, onChannel channel: UInt8)Parameters
- program:
Specifies the program (preset) number within the bank to load. The valid range is
0to127. - bankMSB:
Specifies the most significant byte value for the bank to select. The valid range is
0to127. - bankLSB:
Specifies the least significant byte value for the bank to select. The valid range is
0to127. - channel:
The channel number to send the event to. The valid range is
0to15.