iPlug2 - C++ Audio Plug-in Framework
|
Exponential parameter shaping. More...
#include <IPlugParameter.h>
Public Member Functions | |
void | Init (const IParam ¶m) override |
Initializes the shape instance. More... | |
Shape * | Clone () const override |
IParam::EDisplayType | GetDisplayType () const override |
double | NormalizedToValue (double value, const IParam ¶m) const override |
Returns the real value from a normalized input, based on an IParam's settings. More... | |
double | ValueToNormalized (double value, const IParam ¶m) const override |
Returns the normalized value from a real value, based on an IParam's settings. More... | |
Public Attributes | |
double | mMul = 1.0 |
double | mAdd = 1.0 |
Exponential parameter shaping.
Definition at line 117 of file IPlugParameter.h.
|
inlineoverridevirtual |
Implements IParam::Shape.
Definition at line 120 of file IPlugParameter.h.
|
inlineoverridevirtual |
Implements IParam::Shape.
Definition at line 121 of file IPlugParameter.h.
References IParam::Shape::Init(), IParam::InitAngleDegrees(), IParam::InitBool(), IParam::InitDouble(), IParam::InitEnum(), IParam::InitFrequency(), IParam::InitGain(), IParam::InitInt(), IParam::InitMilliseconds(), IParam::InitPercentage(), IParam::InitPitch(), IParam::InitSeconds(), IParam::Shape::NormalizedToValue(), IParam::StringToValue(), and IParam::Shape::ValueToNormalized().
|
overridevirtual |
Initializes the shape instance.
param | The parent parameter |
Reimplemented from IParam::Shape.
Definition at line 61 of file IPlugParameter.cpp.
References IParam::GetMax(), and IParam::GetMin().
|
overridevirtual |
Returns the real value from a normalized input, based on an IParam's settings.
value | The normalized value as a double to be converted |
param | The IParam to do the calculation against |
Implements IParam::Shape.
Definition at line 72 of file IPlugParameter.cpp.
|
overridevirtual |
Returns the normalized value from a real value, based on an IParam's settings.
value | The real value as a double to be converted |
param | The IParam to do the calculation against |
Implements IParam::Shape.
Definition at line 77 of file IPlugParameter.cpp.