|
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... | |
| 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 | mMul = 1.0 |
| double | mAdd = 1.0 |
Exponential parameter shaping.
Definition at line 126 of file IPlugParameter.h.
|
inlineoverridevirtual |
Implements IParam::Shape.
Definition at line 129 of file IPlugParameter.h.
|
inlineoverridevirtual |
Implements IParam::Shape.
Definition at line 130 of file IPlugParameter.h.
|
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.
| double IParam::ShapeExp::mAdd = 1.0 |
Definition at line 135 of file IPlugParameter.h.
| double IParam::ShapeExp::mMul = 1.0 |
Definition at line 134 of file IPlugParameter.h.