Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
Envelope Class Reference

Public Member Functions

int32_t noteOn (bool directlyToDecay)
 
int32_t noteOn (uint8_t envelopeIndex, Sound *sound, Voice *voice)
 
void noteOff (uint8_t envelopeIndex, Sound *sound, ParamManagerForTimeline *paramManager)
 
int32_t render (uint32_t numSamples, uint32_t attack, uint32_t decay, uint32_t sustain, uint32_t release, const uint16_t *releaseTable)
 
void unconditionalRelease (EnvelopeStage typeOfRelease=EnvelopeStage::RELEASE, uint32_t newFastReleaseIncrement=4096)
 
void unconditionalOff ()
 
void resumeAttack (int32_t oldLastValue)
 
void resetTimeEntered ()
 resets time to give drone notes a lower likelihood of being culled, since they'll stay in sustain as they loop
 

Public Attributes

uint32_t pos
 
EnvelopeStage state
 
int32_t lastValue
 
int32_t lastValuePreCurrentStage
 
uint32_t timeEnteredState
 
bool ignoredNoteOff
 
uint32_t fastReleaseIncrement {1024}
 

Private Member Functions

void setState (EnvelopeStage newState)
 

Private Attributes

int32_t smoothedSustain {0}
 

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