83 void reset() noexcept;
93 bool parseControllerMessage (
int midiChannel,
102 ChannelState() noexcept;
103 bool handleController (
int channel,
int controllerNumber,
105 void resetValue() noexcept;
108 uint8 parameterMSB, parameterLSB, valueMSB, valueLSB;
113 ChannelState states[16];
155 bool use14BitValue =
true);
Holds a sequence of time-stamped midi events.
Parses a stream of MIDI data to assemble RPN and NRPN messages from their constituent MIDI CC message...
Generates an appropriate sequence of MIDI CC messages to represent an RPN or NRPN message.
#define JUCE_API
This macro is added to all JUCE public class declarations.
Represents a MIDI RPN (registered parameter number) or NRPN (non-registered parameter number) message...
bool isNRPN
True if this message is an NRPN; false if it is an RPN.
bool is14BitValue
True if the value uses 14-bit resolution (LSB + MSB); false if the value is 7-bit (MSB only).
int channel
Midi channel of the message, in the range 1 to 16.
int parameterNumber
The 14-bit parameter index, in the range 0 to 16383 (0x3fff).
int value
The parameter value, in the range 0 to 16383 (0x3fff).