OpenShot Library | libopenshot-audio 0.2.0
juce::MPEZoneLayout::Zone Struct Reference

This struct represents an MPE zone. More...

#include <juce_MPEZoneLayout.h>

Public Member Functions

 Zone (const Zone &other)=default
 
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 operator== (const Zone &other) const noexcept
 
bool operator!= (const Zone &other) const noexcept
 

Public Attributes

int numMemberChannels
 
int perNotePitchbendRange
 
int masterPitchbendRange
 

Friends

class MPEZoneLayout
 

Detailed Description

This struct represents an MPE zone.

It can either be a lower or an upper zone, where:

  • A lower zone encompasses master channel 1 and an arbitrary number of ascending MIDI channels, increasing from channel 2.
  • An upper zone encompasses master channel 16 and an arbitrary number of descending MIDI channels, decreasing from channel 15.

It also defines a pitchbend range (in semitones) to be applied for per-note pitchbends and master pitchbends, respectively.

Definition at line 85 of file juce_MPEZoneLayout.h.

Member Function Documentation

◆ isLowerZone()

bool juce::MPEZoneLayout::Zone::isLowerZone ( ) const
inlinenoexcept

Definition at line 89 of file juce_MPEZoneLayout.h.

◆ isUpperZone()

bool juce::MPEZoneLayout::Zone::isUpperZone ( ) const
inlinenoexcept

Definition at line 90 of file juce_MPEZoneLayout.h.

◆ isActive()

bool juce::MPEZoneLayout::Zone::isActive ( ) const
inlinenoexcept

Definition at line 92 of file juce_MPEZoneLayout.h.

◆ getMasterChannel()

int juce::MPEZoneLayout::Zone::getMasterChannel ( ) const
inlinenoexcept

Definition at line 94 of file juce_MPEZoneLayout.h.

◆ getFirstMemberChannel()

int juce::MPEZoneLayout::Zone::getFirstMemberChannel ( ) const
inlinenoexcept

Definition at line 95 of file juce_MPEZoneLayout.h.

◆ getLastMemberChannel()

int juce::MPEZoneLayout::Zone::getLastMemberChannel ( ) const
inlinenoexcept

Definition at line 96 of file juce_MPEZoneLayout.h.

◆ isUsingChannelAsMemberChannel()

bool juce::MPEZoneLayout::Zone::isUsingChannelAsMemberChannel ( int  channel) const
inlinenoexcept

Definition at line 99 of file juce_MPEZoneLayout.h.

◆ operator==()

bool juce::MPEZoneLayout::Zone::operator== ( const Zone other) const
inlinenoexcept

Definition at line 105 of file juce_MPEZoneLayout.h.

◆ operator!=()

bool juce::MPEZoneLayout::Zone::operator!= ( const Zone other) const
inlinenoexcept

Definition at line 110 of file juce_MPEZoneLayout.h.

Friends And Related Symbol Documentation

◆ MPEZoneLayout

Definition at line 117 of file juce_MPEZoneLayout.h.

Member Data Documentation

◆ numMemberChannels

int juce::MPEZoneLayout::Zone::numMemberChannels

Definition at line 112 of file juce_MPEZoneLayout.h.

◆ perNotePitchbendRange

int juce::MPEZoneLayout::Zone::perNotePitchbendRange

Definition at line 113 of file juce_MPEZoneLayout.h.

◆ masterPitchbendRange

int juce::MPEZoneLayout::Zone::masterPitchbendRange

Definition at line 114 of file juce_MPEZoneLayout.h.


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