JUCE  v6.1.6 (6.0.8-1114)
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 Member Functions

 Parameters ()=default
 
 Parameters (float attackTimeSeconds, float decayTimeSeconds, float sustainLevel, float releaseTimeSeconds)
 

Public Attributes

float attack = 0.1f
 
float decay = 0.1f
 
float release = 0.1f
 
float sustain = 1.0f
 

Detailed Description

Holds the parameters being used by an ADSR object.

@tags{Audio}

Constructor & Destructor Documentation

◆ Parameters() [1/2]

juce::ADSR::Parameters::Parameters ( )
default

◆ Parameters() [2/2]

juce::ADSR::Parameters::Parameters ( float  attackTimeSeconds,
float  decayTimeSeconds,
float  sustainLevel,
float  releaseTimeSeconds 
)
inline

Member Data Documentation

◆ attack

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

◆ decay

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

◆ release

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

◆ sustain

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

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