OpenShot Audio Library | OpenShotAudio  0.3.0
juce::MPEZoneLayout::Zone Struct Reference

#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 isUsing (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
 

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 81 of file juce_MPEZoneLayout.h.


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