|
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... | |
Public Member Functions inherited from IParam::Shape | |
| virtual Shape * | Clone () const =0 |
| virtual void | Init (const IParam ¶m) |
| Initializes the shape instance. More... | |
| virtual EDisplayType | GetDisplayType () const =0 |
| virtual double | NormalizedToValue (double value, const IParam ¶m) const =0 |
| Returns the real value from a normalized input, based on an IParam's settings. More... | |
| virtual double | ValueToNormalized (double value, const IParam ¶m) const =0 |
| Returns the normalized value from a real value, based on an IParam's settings. More... | |
Public Attributes | |
| double | mShape |
PowCurve parameter shaping.
Definition at line 114 of file IPlugParameter.h.
| IParam::ShapePowCurve::ShapePowCurve | ( | double | shape | ) |
Definition at line 36 of file IPlugParameter.cpp.
|
inlineoverridevirtual |
Implements IParam::Shape.
Definition at line 117 of file IPlugParameter.h.
|
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().
| double IParam::ShapePowCurve::mShape |
Definition at line 122 of file IPlugParameter.h.