JUCE
Public Attributes | List of all members
ADSR::Parameters Struct Reference

Holds the parameters being used by an ADSR object. More...

Public Attributes

float attack = 0.1f
 Attack time in seconds. More...
 
float decay = 0.1f
 Decay time in seconds. More...
 
float sustain = 1.0f
 Sustain level. More...
 
float release = 0.1f
 Release time in seconds. More...
 

Detailed Description

Holds the parameters being used by an ADSR object.

Member Data Documentation

◆ attack

float ADSR::Parameters::attack = 0.1f

Attack time in seconds.

Referenced by ADSR::applyEnvelopeToBuffer().

◆ decay

float ADSR::Parameters::decay = 0.1f

Decay time in seconds.

Referenced by ADSR::applyEnvelopeToBuffer().

◆ sustain

float ADSR::Parameters::sustain = 1.0f

Sustain level.

Referenced by ADSR::applyEnvelopeToBuffer(), and ADSR::setParameters().

◆ release

float ADSR::Parameters::release = 0.1f

Release time in seconds.

Referenced by ADSR::applyEnvelopeToBuffer().


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