This struct represents an MPE zone. More...
#include <juce_MPEZoneLayout.h>
Public Types | |
enum | Type { Type::lower, Type::upper } |
Public Member Functions | |
MPEZone ()=default | |
MPEZone (Type type, int memberChannels=0, int perNotePitchbend=48, int masterPitchbend=2) | |
int | getFirstMemberChannel () const noexcept |
int | getLastMemberChannel () const noexcept |
int | getMasterChannel () const noexcept |
bool | isActive () const noexcept |
bool | isLowerZone () const noexcept |
bool | isUpperZone () const noexcept |
bool | isUsing (int channel) const noexcept |
bool | isUsingChannelAsMemberChannel (int channel) const noexcept |
bool | operator!= (const MPEZone &other) const |
bool | operator== (const MPEZone &other) const |
Static Public Member Functions | |
static auto | tie (const MPEZone &z) |
Public Attributes | |
int | masterPitchbendRange = 2 |
int | numMemberChannels = 0 |
int | perNotePitchbendRange = 48 |
Type | zoneType = Type::lower |
Static Public Attributes | |
static constexpr int | lowerZoneMasterChannel = 1 |
static constexpr int | upperZoneMasterChannel = 16 |
This struct represents an MPE zone.
It can either be a lower or an upper zone, where:
It also defines a pitchbend range (in semitones) to be applied for per-note pitchbends and master pitchbends, respectively.
|
strong |
|
default |
|
inline |
|
inlinenoexcept |
References isLowerZone(), lowerZoneMasterChannel, and upperZoneMasterChannel.
|
inlinenoexcept |
References isLowerZone(), lowerZoneMasterChannel, numMemberChannels, and upperZoneMasterChannel.
Referenced by isUsingChannelAsMemberChannel().
|
inlinenoexcept |
References isLowerZone(), lowerZoneMasterChannel, and upperZoneMasterChannel.
Referenced by isUsing().
|
inlinenoexcept |
References numMemberChannels.
Referenced by juce::MPEZoneLayout::isActive().
|
inlinenoexcept |
References lower, and zoneType.
Referenced by getFirstMemberChannel(), getLastMemberChannel(), getMasterChannel(), and isUsingChannelAsMemberChannel().
References getMasterChannel(), and isUsingChannelAsMemberChannel().
References getLastMemberChannel(), isLowerZone(), lowerZoneMasterChannel, and upperZoneMasterChannel.
Referenced by isUsing().
|
inlinestatic |
References juce::gl::z.
Referenced by operator!=(), and operator==().
|
staticconstexpr |
Referenced by getFirstMemberChannel(), getLastMemberChannel(), getMasterChannel(), and isUsingChannelAsMemberChannel().
int juce::MPEZone::masterPitchbendRange = 2 |
int juce::MPEZone::numMemberChannels = 0 |
Referenced by getLastMemberChannel(), and isActive().
int juce::MPEZone::perNotePitchbendRange = 48 |
|
static |
Referenced by getFirstMemberChannel(), getLastMemberChannel(), getMasterChannel(), and isUsingChannelAsMemberChannel().
Type juce::MPEZone::zoneType = Type::lower |
Referenced by isLowerZone(), and isUpperZone().