MIKMIDIProgramChangeEvent
Objective-C
@interface MIKMIDIProgramChangeEvent : MIKMIDIChannelEvent
Swift
class MIKMIDIProgramChangeEvent : MIKMIDIChannelEvent
A MIDI program change event.
Program change events indicate a change in the patch number. These events can be sent to to a MIDI device or synthesizer to change the instrument the instrument/voice being used to synthesize MIDI.
This event is the counterpart to MIKMIDIProgramChangeCommand in the context of sequences/MIDI Files.
-
The program (aka patch) number. From 0-127.
Assuming the device or synthesizer playing this event supports the General MIDI sound set, you can find a list of instruments by their program number here: http://www.midi.org/techspecs/gm1sound.php
Declaration
Objective-C
@property (nonatomic, readonly) NSUInteger programNumber;
Swift
var programNumber: UInt { get }