Gin
|
A silky smooth parameter. More...
Inherits gin::Parameter.
Public Member Functions | |
SmoothedParameter (Processor &p, juce::String uid_, juce::String name_, juce::String shortName_, juce::String label_, float minValue_, float maxValue_, float intervalValue_, float defaultValue_, float skewFactor_=1.0f, std::function< juce::String(const gin::Parameter &, float)> textFunction_=nullptr) | |
SmoothedParameter (Processor &p, juce::String uid_, juce::String name_, juce::String shortName_, juce::String label_, juce::NormalisableRange< float > range_, float defaultValue_, std::function< juce::String(const gin::Parameter &, float)> textFunction_=nullptr) | |
void | prepareToPlay (double sampleRate, int) override |
void | reset () override |
void | setUserValue (float v) override |
void | setUserValueNotifingHost (float v) override |
void | setValue (float valueIn) override |
float | getProcValue (int stepSize) override |
void | setSmoothingTime (float t) |
bool | isSmoothingActive () override |
Protected Attributes | |
T | smoother |
A silky smooth parameter.
Use getProcValue(int) to get the next smoothed value of the parameter.
SmoothedParameter< T >::SmoothedParameter | ( | Processor & | p, |
juce::String | uid_, | ||
juce::String | name_, | ||
juce::String | shortName_, | ||
juce::String | label_, | ||
float | minValue_, | ||
float | maxValue_, | ||
float | intervalValue_, | ||
float | defaultValue_, | ||
float | skewFactor_ = 1.0f , |
||
std::function< juce::String(const gin::Parameter &, float)> | textFunction_ = nullptr |
||
) |
References SmoothedParameter< T >::smoother.
SmoothedParameter< T >::SmoothedParameter | ( | Processor & | p, |
juce::String | uid_, | ||
juce::String | name_, | ||
juce::String | shortName_, | ||
juce::String | label_, | ||
juce::NormalisableRange< float > | range_, | ||
float | defaultValue_, | ||
std::function< juce::String(const gin::Parameter &, float)> | textFunction_ = nullptr |
||
) |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
void SmoothedParameter< T >::setSmoothingTime | ( | float | t | ) |
References SmoothedParameter< T >::smoother.
|
override |
References SmoothedParameter< T >::smoother.
|
protected |
Referenced by SmoothedParameter< T >::getProcValue(), SmoothedParameter< T >::isSmoothingActive(), SmoothedParameter< T >::prepareToPlay(), SmoothedParameter< T >::reset(), SmoothedParameter< T >::setSmoothingTime(), SmoothedParameter< T >::setUserValue(), SmoothedParameter< T >::setUserValueNotifingHost(), SmoothedParameter< T >::setValue(), and SmoothedParameter< T >::SmoothedParameter().