JUCE: ADSR::Parameters Struct Reference

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.

## ◆ decay

float ADSR::Parameters::decay = 0.1f

Decay time in seconds.

## ◆ sustain

float ADSR::Parameters::sustain = 1.0f

Sustain level.

Referenced by ADSR::setParameters().

## ◆ release

float ADSR::Parameters::release = 0.1f

Release time in seconds.

Referenced by ADSR::noteOff().

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

- juce_ADSR.h