PowFloatParameter

Float parameter following a x^N type mapping (eg: something that doesn't fit in the other categories)

Constructors

this
this(int index, string name, string label, double min, double max, double defaultValue, double shape)
Undocumented in source.

Members

Functions

fromNormalized
double fromNormalized(double normalizedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
toNormalized
double toNormalized(double value)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From FloatParameter

value
double value()

Gets current value.

valueAtomic
double valueAtomic()

Same as value but doesn't use locking, and doesn't use ordering. Which make it a better fit for the audio thread.

minValue
double minValue()
Undocumented in source. Be warned that the author may not have intended to support it.
maxValue
double maxValue()
Undocumented in source. Be warned that the author may not have intended to support it.
defaultValue
double defaultValue()
Undocumented in source. Be warned that the author may not have intended to support it.
setFromGUINormalized
void setFromGUINormalized(double normalizedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
setDecimalPrecision
void setDecimalPrecision(int digits)

Sets the number of decimal digits after the dot to be displayed.

setFromGUI
void setFromGUI(double value)
Undocumented in source. Be warned that the author may not have intended to support it.
setNormalized
void setNormalized(double hostValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getNormalized
double getNormalized()
Undocumented in source. Be warned that the author may not have intended to support it.
getNormalizedDefault
double getNormalizedDefault()
Undocumented in source. Be warned that the author may not have intended to support it.
toStringN
void toStringN(char* buffer, size_t numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
stringFromNormalizedValue
void stringFromNormalizedValue(double normalizedValue, char* buffer, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
normalizedValueFromString
bool normalizedValueFromString(const(char)[] valueString, double result)
Undocumented in source. Be warned that the author may not have intended to support it.
isDiscrete
bool isDiscrete()
Undocumented in source. Be warned that the author may not have intended to support it.
toNormalized
double toNormalized(double value)

Override it to specify mapping from parameter values to normalized [0..1]

fromNormalized
double fromNormalized(double value)

Override it to specify mapping from normalized [0..1] to parameter value

Meta