ASPiK SDK
Loading...
Searching...
No Matches
LogTaperDelegate< T, RealPrecision > Class Template Reference

The LogTaperDelegate object encapsulates a log parameter. Note that the standard log potentiometer in electronics is actually anti-log! This is used in the construction of AAX parameters. More...

#include <LogTaperDelegate.h>

Inheritance diagram for LogTaperDelegate< T, RealPrecision >:

Public Member Functions

 LogTaperDelegate (T minValue=0, T maxValue=1)
 
LogTaperDelegate< T, RealPrecision > * Clone () const
 
T GetMinimumValue () const
 
T GetMaximumValue () const
 
T ConstrainRealValue (T value) const
 
T NormalizedToReal (double normalizedValue) const
 
double RealToNormalized (T realValue) const
 

Protected Member Functions

T Round (double iValue) const
 
double calcLogParameter (double fNormalizedParam) const
 
double calcLogPluginValue (double fPluginValue) const
 

Detailed Description

template<typename T, int32_t RealPrecision = 1000>
class LogTaperDelegate< T, RealPrecision >

The LogTaperDelegate object encapsulates a log parameter. Note that the standard log potentiometer in electronics is actually anti-log! This is used in the construction of AAX parameters.

NOTES:

  • uses MMA Concave Transform & Inverse Concave Transform for log bahavior
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 file: