ASPiK SDK
Steinberg::Vst::ASPiK::LogParameter Class Reference

The LogParameter object encapsulates a log parameter. Note that the standard log potentiometer in electronics is actually anti-log! More...

#include <customparameters.h>

Inheritance diagram for Steinberg::Vst::ASPiK::LogParameter:

Public Member Functions

 LogParameter (const TChar *title, ParamID tag, const TChar *units=0, ParamValue minPlain=0., ParamValue maxPlain=1., ParamValue defaultValuePlain=0., int32 stepCount=0, int32 flags=ParameterInfo::kCanAutomate, UnitID unitID=kRootUnitId)
 
virtual void toString (ParamValue normValue, String128 string) const
 
virtual bool fromString (const TChar *string, ParamValue &normValue) const
 
virtual ParamValue toPlain (ParamValue _valueNormalized) const
 
virtual ParamValue toNormalized (ParamValue plainValue) const
 
virtual ParamValue getMin () const
 
virtual void setMin (ParamValue value)
 
virtual ParamValue getMax () const
 
virtual void setMax (ParamValue value)
 
 LogParameter (const TChar *title, ParamID tag, const TChar *units=0, ParamValue minPlain=0., ParamValue maxPlain=1., ParamValue defaultValuePlain=0., int32 stepCount=0, int32 flags=ParameterInfo::kCanAutomate, UnitID unitID=kRootUnitId)
 
virtual void toString (ParamValue normValue, String128 string) const
 
virtual bool fromString (const TChar *string, ParamValue &normValue) const
 
virtual ParamValue toPlain (ParamValue _valueNormalized) const
 
virtual ParamValue toNormalized (ParamValue plainValue) const
 
virtual ParamValue getMin () const
 
virtual void setMin (ParamValue value)
 
virtual ParamValue getMax () const
 
virtual void setMax (ParamValue value)
 

Protected Member Functions

float calcLogParameter (float fNormalizedParam) const
 
float calcLogPluginValue (float fPluginValue) const
 
float calcLogParameter (float fNormalizedParam) const
 
float calcLogPluginValue (float fPluginValue) const
 

Protected Attributes

ParamValue minPlain
 
ParamValue maxPlain
 

Detailed Description

The LogParameter object encapsulates a log parameter. Note that the standard log potentiometer in electronics is actually anti-log!

Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included with ASPiK
Version
Revision : 1.0
Date
Date : 2018 / 09 / 7

The documentation for this class was generated from the following files: