JUCE: MidiRPNMessage Struct Reference

JUCE

Public Attributes | List of all members
MidiRPNMessage Struct Reference

Represents a MIDI RPN (registered parameter number) or NRPN (non-registered parameter number) message. More...

## Public Attributes
int | channel
| Midi channel of the message, in the range 1 to 16. More...
int | parameterNumber
| The 14-bit parameter index, in the range 0 to 16383 (0x3fff). More...
int | value
| The parameter value, in the range 0 to 16383 (0x3fff). More...
bool | isNRPN
| True if this message is an NRPN; false if it is an RPN. More...
bool | is14BitValue
| True if the value uses 14-bit resolution (LSB + MSB); false if the value is 7-bit (MSB only). More...

## Detailed Description

Represents a MIDI RPN (registered parameter number) or NRPN (non-registered parameter number) message.

## Member Data Documentation

## ◆ channel

int MidiRPNMessage::channel

Midi channel of the message, in the range 1 to 16.

## ◆ parameterNumber

int MidiRPNMessage::parameterNumber

The 14-bit parameter index, in the range 0 to 16383 (0x3fff).

## ◆ value

int MidiRPNMessage::value

The parameter value, in the range 0 to 16383 (0x3fff).

If the message contains no value LSB, the value will be in the range 0 to 127 (0x7f).

## ◆ isNRPN

bool MidiRPNMessage::isNRPN

True if this message is an NRPN; false if it is an RPN.

## ◆ is14BitValue

bool MidiRPNMessage::is14BitValue

True if the value uses 14-bit resolution (LSB + MSB); false if the value is 7-bit (MSB only).

The documentation for this struct was generated from the following file:

- juce_MidiRPN.h