152 slope_ = exp(mysterySlope);
208 slope_ = exp(mysterySlope);
void startRelease()
Definition SFZEG.cpp:192
void noteOff()
Definition SFZEG.cpp:78
bool segmentIsExponential_
Definition SFZEG.h:65
void startNote(const EGParameters *parameters, float floatVelocity, double sampleRate, const EGParameters *velMod=nullptr)
Definition SFZEG.cpp:21
float slope_
Definition SFZEG.h:63
void startSustain()
Definition SFZEG.cpp:176
EG()
Definition SFZEG.cpp:14
void startDecay()
Definition SFZEG.cpp:137
Segment segment_
Definition SFZEG.h:58
void setExponentialDecay(bool newExponentialDecay)
Definition SFZEG.cpp:19
EGParameters parameters_
Definition SFZEG.h:59
void startHold()
Definition SFZEG.cpp:120
void startDelay()
Definition SFZEG.cpp:88
void startAttack()
Definition SFZEG.cpp:104
@ Sustain
Definition SFZEG.h:46
@ Attack
Definition SFZEG.h:43
@ Release
Definition SFZEG.h:47
@ Done
Definition SFZEG.h:48
@ Delay
Definition SFZEG.h:42
@ Decay
Definition SFZEG.h:45
@ Hold
Definition SFZEG.h:44
int samplesUntilNextSegment_
Definition SFZEG.h:64
bool exponentialDecay_
Definition SFZEG.h:61
double sampleRate_
Definition SFZEG.h:60
static const float BottomLevel
Definition SFZEG.h:66
void fastRelease()
Definition SFZEG.cpp:80
float level_
Definition SFZEG.h:62
void nextSegment()
Definition SFZEG.cpp:47
Definition SFZDebug.cpp:11
static const float fastReleaseTime
Definition SFZEG.cpp:12
#define false
Definition ordinals.h:83
Definition SFZRegion.h:22
float release
Definition SFZRegion.h:23
float hold
Definition SFZRegion.h:23
float delay
Definition SFZRegion.h:23
float sustain
Definition SFZRegion.h:23
float attack
Definition SFZRegion.h:23
float decay
Definition SFZRegion.h:23