Gin
Public Member Functions | Public Attributes | List of all members
ADSRComponent Class Reference

Component for adjuting ADSR curves. More...

Inheritance diagram for ADSRComponent:

Public Member Functions

 ADSRComponent ()
 
 ~ADSRComponent () override=default
 
void setParams (Parameter::Ptr attack, Parameter::Ptr decay, Parameter::Ptr sustain, Parameter::Ptr release)
 
- Public Member Functions inherited from MultiParamComponent
 MultiParamComponent ()
 
 ~MultiParamComponent () override
 
juce::Colour dimIfNeeded (const juce::Colour &c)
 
- Public Member Functions inherited from Parameter::ParameterListener
virtual ~ParameterListener ()
 

Public Attributes

std::function< std::vector< std::pair< int, float > >)> phaseCallback
 

Additional Inherited Members

- Protected Member Functions inherited from MultiParamComponent
void showBubble (const juce::String &text, const juce::Rectangle< int > &rc)
 
void hideBubble ()
 
void watchParam (Parameter *p)
 
void unwatchParam (Parameter *p)
 
void unwatchParams ()
 
virtual void paramChanged ()
 
void enablementChanged () override
 
void valueUpdated (Parameter *) override
 
void handleAsyncUpdate () override
 
- Protected Attributes inherited from MultiParamComponent
juce::Array< Parameter * > params
 
std::unique_ptr< juce::BubbleMessageComponent > bubble
 

Detailed Description

Component for adjuting ADSR curves.

Constructor & Destructor Documentation

◆ ADSRComponent()

ADSRComponent::ADSRComponent ( )

◆ ~ADSRComponent()

ADSRComponent::~ADSRComponent ( )
overridedefault

Member Function Documentation

◆ setParams()

void ADSRComponent::setParams ( Parameter::Ptr  attack,
Parameter::Ptr  decay,
Parameter::Ptr  sustain,
Parameter::Ptr  release 
)

Member Data Documentation

◆ phaseCallback

std::function<std::vector<std::pair<int,float> >)> ADSRComponent::phaseCallback

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