MuseScore  3.4
Music composition and notation
Public Member Functions | Public Attributes | List of all members
Zone Struct Reference

#include <zone.h>

Collaboration diagram for Zone:
Collaboration graph
[legend]

Public Member Functions

 Zone ()
 
 ~Zone ()
 
bool match (Channel *, int key, int velo, Trigger, double rand, int cc, int ccVal)
 
void updateCCGain (Channel *c)
 

Public Attributes

Samplesample = 0
 
long long offset = 0
 
int seq = 0
 
int seqLen = 0
 
int seqPos = 0
 
char keyLo = 0
 
char keyHi = 127
 
char veloLo = 0
 
char veloHi = 127
 
char keyBase = 60
 
int tune = 0
 
double pitchKeytrack = 100.0
 
float volume = 1.0
 
float lVol = .5
 
float rVol = .5
 
float ampVeltrack = 100
 
float ampegDelay = 0.0
 
float ampegStart = 0.0
 
float ampegAttack = 1.0
 
float ampegHold = 0.0
 
float ampegDecay = 0.0
 
float ampegSustain = 1.0
 
float ampegRelease = 200.0
 
float ampegVel2Delay = 0.0
 
float ampegVel2Attack = 0.0
 
float ampegVel2Hold = 0.0
 
float ampegVel2Decay = 0.0
 
float ampegVel2Sustain = 0.0
 
float ampegVel2Release = 0.0
 
float rtDecay = 0.0
 
float delay = 0.0
 
int pan = 0
 
float group_volume = 1.0
 
float global_volume = 1.0
 
bool isCutoffDefined
 
float cutoff
 
int fil_keytrack
 
int fil_keycenter
 
int fil_veltrack
 
FilterType fil_type = FilterType::lpf_2p
 
Trigger trigger = Trigger::ATTACK
 
LoopMode loopMode = LoopMode::NO_LOOP
 
OffMode offMode = OffMode::FAST
 
int group = 0
 
int offBy = 0
 
long long loopStart
 
long long loopEnd
 
double loRand = 0.0
 
double hiRand = 1.0
 
std::map< int, double > gainOnCC
 
double ccGain = 1.0
 
int onLocc [128]
 
int onHicc [128]
 
int locc [128]
 
int hicc [128]
 
bool useCC = false
 

Constructor & Destructor Documentation

◆ Zone()

Zone::Zone ( )

◆ ~Zone()

Zone::~Zone ( )

Member Function Documentation

◆ match()

bool Zone::match ( Channel c,
int  key,
int  velo,
Trigger  et,
double  rand,
int  cc,
int  ccVal 
)

◆ updateCCGain()

void Zone::updateCCGain ( Channel c)

Member Data Documentation

◆ ampegAttack

float Zone::ampegAttack = 1.0

◆ ampegDecay

float Zone::ampegDecay = 0.0

◆ ampegDelay

float Zone::ampegDelay = 0.0

◆ ampegHold

float Zone::ampegHold = 0.0

◆ ampegRelease

float Zone::ampegRelease = 200.0

◆ ampegStart

float Zone::ampegStart = 0.0

◆ ampegSustain

float Zone::ampegSustain = 1.0

◆ ampegVel2Attack

float Zone::ampegVel2Attack = 0.0

◆ ampegVel2Decay

float Zone::ampegVel2Decay = 0.0

◆ ampegVel2Delay

float Zone::ampegVel2Delay = 0.0

◆ ampegVel2Hold

float Zone::ampegVel2Hold = 0.0

◆ ampegVel2Release

float Zone::ampegVel2Release = 0.0

◆ ampegVel2Sustain

float Zone::ampegVel2Sustain = 0.0

◆ ampVeltrack

float Zone::ampVeltrack = 100

◆ ccGain

double Zone::ccGain = 1.0

◆ cutoff

float Zone::cutoff

◆ delay

float Zone::delay = 0.0

◆ fil_keycenter

int Zone::fil_keycenter

◆ fil_keytrack

int Zone::fil_keytrack

◆ fil_type

FilterType Zone::fil_type = FilterType::lpf_2p

◆ fil_veltrack

int Zone::fil_veltrack

◆ gainOnCC

std::map<int, double> Zone::gainOnCC

◆ global_volume

float Zone::global_volume = 1.0

◆ group

int Zone::group = 0

◆ group_volume

float Zone::group_volume = 1.0

◆ hicc

int Zone::hicc[128]

◆ hiRand

double Zone::hiRand = 1.0

◆ isCutoffDefined

bool Zone::isCutoffDefined

◆ keyBase

char Zone::keyBase = 60

◆ keyHi

char Zone::keyHi = 127

◆ keyLo

char Zone::keyLo = 0

◆ locc

int Zone::locc[128]

◆ loopEnd

long long Zone::loopEnd

◆ loopMode

LoopMode Zone::loopMode = LoopMode::NO_LOOP

◆ loopStart

long long Zone::loopStart

◆ loRand

double Zone::loRand = 0.0

◆ lVol

float Zone::lVol = .5

◆ offBy

int Zone::offBy = 0

◆ offMode

OffMode Zone::offMode = OffMode::FAST

◆ offset

long long Zone::offset = 0

◆ onHicc

int Zone::onHicc[128]

◆ onLocc

int Zone::onLocc[128]

◆ pan

int Zone::pan = 0

◆ pitchKeytrack

double Zone::pitchKeytrack = 100.0

◆ rtDecay

float Zone::rtDecay = 0.0

◆ rVol

float Zone::rVol = .5

◆ sample

Sample* Zone::sample = 0

◆ seq

int Zone::seq = 0

◆ seqLen

int Zone::seqLen = 0

◆ seqPos

int Zone::seqPos = 0

◆ trigger

Trigger Zone::trigger = Trigger::ATTACK

◆ tune

int Zone::tune = 0

◆ useCC

bool Zone::useCC = false

◆ veloHi

char Zone::veloHi = 127

◆ veloLo

char Zone::veloLo = 0

◆ volume

float Zone::volume = 1.0

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