class Core::AudioFaderGainInterpolator
Overview
Fader interpolator where value is a gain factor applied to the audio signal. More…
#include <coreaudiointerpolator.h> class AudioFaderGainInterpolator: public Core::Interpolator { public: // methods static float getMaxFactor(); float normalizedToDb(float normalized) const; float dbToNormalized(float value) const; virtual float normalizedToRange(float normalized) const; virtual float rangeToNormalized(float value) const; };
Inherited Members
public: // methods CStringPtr getName() const; void setName(CStringPtr _name); float getMinRange() const; float getMaxRange() const; float getMidRange() const; virtual void setRange(float minRange, float maxRange, float midRange = 1.f); virtual float normalizedToRange(float normalized) const; virtual float rangeToNormalized(float value) const;
Detailed Documentation
Fader interpolator where value is a gain factor applied to the audio signal.
Methods
virtual float normalizedToRange(float normalized) const
Convert from normalized domain [0..1] to value range [min..max].
virtual float rangeToNormalized(float value) const
Convert from value range [min..max] to normalized domain [0..1].