JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ADSR::Parameters Struct Reference

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

#include <juce_ADSR.h>

Collaboration diagram for juce::ADSR::Parameters:

Public Attributes

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

Detailed Description

Holds the parameters being used by an ADSR object.

Member Data Documentation

◆ attack

float juce::ADSR::Parameters::attack = 0.1f

Attack time in seconds.

Referenced by juce::ADSR::calculateRates().

◆ decay

float juce::ADSR::Parameters::decay = 0.1f

Decay time in seconds.

Referenced by juce::ADSR::calculateRates().

◆ release

float juce::ADSR::Parameters::release = 0.1f

Release time in seconds.

Referenced by juce::ADSR::calculateRates().

◆ sustain

float juce::ADSR::Parameters::sustain = 1.0f

Sustain level.

Referenced by juce::ADSR::setParameters().


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