TracktionEngine
Public Attributes | List of all members
tracktion::engine::ExpEnvelope::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 tracktion::engine::ExpEnvelope::Parameters::attack = 0.1f

Attack time in seconds.

Referenced by tracktion::engine::ExpEnvelope::setParameters().

◆ decay

float tracktion::engine::ExpEnvelope::Parameters::decay = 0.1f

Decay time in seconds.

Referenced by tracktion::engine::ExpEnvelope::setParameters().

◆ sustain

float tracktion::engine::ExpEnvelope::Parameters::sustain = 1.0f

Sustain level.

Referenced by tracktion::engine::ExpEnvelope::setParameters().

◆ release

float tracktion::engine::ExpEnvelope::Parameters::release = 0.1f

Release time in seconds.

Referenced by tracktion::engine::ExpEnvelope::setParameters().


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