79 void reset() noexcept;
83 [[deprecated ("Use tryParse() instead")]]
84 bool parseControllerMessage (
int midiChannel,
104 int controllerNumber,
105 int controllerValue);
113 void resetValue()
noexcept;
116 uint8 parameterMSB = 0xff, parameterLSB = 0xff, valueMSB = 0xff, valueLSB = 0xff;
121 ChannelState states[16];
163 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...
MidiRPNDetector() noexcept=default
Constructor.
Generates an appropriate sequence of MIDI CC messages to represent an RPN or NRPN message.
#define JUCE_LEAK_DETECTOR(OwnerClass)
This macro lets you embed a leak-detecting object inside a class.
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).
unsigned char uint8
A platform-independent 8-bit unsigned integer type.
Represents a MIDI RPN (registered parameter number) or NRPN (non-registered parameter number) message...