iPlug2 - C++ Audio Plug-in Framework
|
PowCurve parameter shaping. More...
#include <IPlugParameter.h>
Public Member Functions | |
ShapePowCurve (double shape) | |
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... | |
![]() | |
virtual void | Init (const IParam ¶m) |
Initializes the shape instance. More... | |
Public Attributes | |
double | mShape |
PowCurve parameter shaping.
Definition at line 105 of file IPlugParameter.h.
|
inlineoverridevirtual |
Implements IParam::Shape.
Definition at line 108 of file IPlugParameter.h.
References IParam::Shape::GetDisplayType(), IParam::Shape::NormalizedToValue(), and IParam::Shape::ValueToNormalized().
|
overridevirtual |
Implements IParam::Shape.
Definition at line 41 of file IPlugParameter.cpp.
|
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 51 of file IPlugParameter.cpp.
References IParam::GetMax(), and IParam::GetMin().
|
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 56 of file IPlugParameter.cpp.
References IParam::GetMax(), and IParam::GetMin().