GainParameter

A parameter with [-inf to value] dB log mapping

class GainParameter : FloatParameter {}

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.

setDecimalPrecision
void setDecimalPrecision(int digits)

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

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