JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
juce::MPEZone Struct Reference

This struct represents an MPE zone. More...

#include "juce_MPEZoneLayout.h"

Public Types

enum class  Type { lower , upper }
 

Public Member Functions

 MPEZone (Type type, int memberChannels=0, int perNotePitchbend=48, int masterPitchbend=2)
 
bool isLowerZone () const noexcept
 
bool isUpperZone () const noexcept
 
bool isActive () const noexcept
 
int getMasterChannel () const noexcept
 
int getFirstMemberChannel () const noexcept
 
int getLastMemberChannel () const noexcept
 
bool isUsingChannelAsMemberChannel (int channel) const noexcept
 
bool isUsing (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

Type zoneType
 
int numMemberChannels
 
int perNotePitchbendRange
 
int masterPitchbendRange
 

Static Public Attributes

static constexpr int lowerZoneMasterChannel
 
static constexpr int upperZoneMasterChannel
 

Detailed Description

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.

@tags{Audio}

Definition at line 41 of file juce_MPEZoneLayout.h.

Member Enumeration Documentation

◆ Type

enum class juce::MPEZone::Type
strong

Definition at line 43 of file juce_MPEZoneLayout.h.

Constructor & Destructor Documentation

◆ MPEZone()

juce::MPEZone::MPEZone ( Type  type,
int  memberChannels = 0,
int  perNotePitchbend = 48,
int  masterPitchbend = 2 
)

Definition at line 47 of file juce_MPEZoneLayout.h.

Member Function Documentation

◆ getFirstMemberChannel()

int juce::MPEZone::getFirstMemberChannel ( ) const
noexcept

Definition at line 60 of file juce_MPEZoneLayout.h.

◆ getLastMemberChannel()

int juce::MPEZone::getLastMemberChannel ( ) const
noexcept

Definition at line 61 of file juce_MPEZoneLayout.h.

◆ getMasterChannel()

int juce::MPEZone::getMasterChannel ( ) const
noexcept

Definition at line 59 of file juce_MPEZoneLayout.h.

◆ isActive()

bool juce::MPEZone::isActive ( ) const
noexcept

Definition at line 57 of file juce_MPEZoneLayout.h.

◆ isLowerZone()

bool juce::MPEZone::isLowerZone ( ) const
noexcept

Definition at line 54 of file juce_MPEZoneLayout.h.

◆ isUpperZone()

bool juce::MPEZone::isUpperZone ( ) const
noexcept

Definition at line 55 of file juce_MPEZoneLayout.h.

◆ isUsing()

bool juce::MPEZone::isUsing ( int  channel) const
noexcept

Definition at line 70 of file juce_MPEZoneLayout.h.

◆ isUsingChannelAsMemberChannel()

bool juce::MPEZone::isUsingChannelAsMemberChannel ( int  channel) const
noexcept

Definition at line 64 of file juce_MPEZoneLayout.h.

◆ operator!=()

bool juce::MPEZone::operator!= ( const MPEZone other) const

Definition at line 88 of file juce_MPEZoneLayout.h.

◆ operator==()

bool juce::MPEZone::operator== ( const MPEZone other) const

Definition at line 83 of file juce_MPEZoneLayout.h.

◆ tie()

static auto juce::MPEZone::tie ( const MPEZone z)
static

Definition at line 75 of file juce_MPEZoneLayout.h.

Member Data Documentation

◆ lowerZoneMasterChannel

constexpr int juce::MPEZone::lowerZoneMasterChannel
staticconstexpr

Definition at line 94 of file juce_MPEZoneLayout.h.

◆ masterPitchbendRange

int juce::MPEZone::masterPitchbendRange

Definition at line 101 of file juce_MPEZoneLayout.h.

◆ numMemberChannels

int juce::MPEZone::numMemberChannels

Definition at line 99 of file juce_MPEZoneLayout.h.

◆ perNotePitchbendRange

int juce::MPEZone::perNotePitchbendRange

Definition at line 100 of file juce_MPEZoneLayout.h.

◆ upperZoneMasterChannel

constexpr int juce::MPEZone::upperZoneMasterChannel
static

Definition at line 95 of file juce_MPEZoneLayout.h.

◆ zoneType

Type juce::MPEZone::zoneType

Definition at line 97 of file juce_MPEZoneLayout.h.


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