iPlug2 - C++ Audio Plug-in Framework
|
Base struct for parameter shaping. More...
#include <IPlugParameter.h>
Public Member Functions | |
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... | |
Base struct for parameter shaping.
Definition at line 75 of file IPlugParameter.h.
|
inlinevirtual |
Definition at line 77 of file IPlugParameter.h.
|
pure virtual |
Implemented in IParam::ShapeLinear, IParam::ShapePowCurve, and IParam::ShapeExp.
Referenced by IParam::InitDouble().
|
pure virtual |
Implemented in IParam::ShapeLinear, IParam::ShapePowCurve, and IParam::ShapeExp.
|
inlinevirtual |
Initializes the shape instance.
param | The parent parameter |
Reimplemented in IParam::ShapeExp.
Definition at line 84 of file IPlugParameter.h.
|
pure virtual |
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 |
Implemented in IParam::ShapeLinear, IParam::ShapePowCurve, and IParam::ShapeExp.
|
pure virtual |
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 |
Implemented in IParam::ShapeLinear, IParam::ShapePowCurve, and IParam::ShapeExp.