25 inline void reset(
float sampleRate,
float rampLengthInSeconds)
27 jassert(sampleRate > 0 && rampLengthInSeconds >= 0);
28 m_muteDelta = 1.0f / (sampleRate * rampLengthInSeconds);
Definition MuteValueGenerator.h:6
float m_muteValue
Definition MuteValueGenerator.h:64
float m_muteDelta
Definition MuteValueGenerator.h:65
bool m_requestMute
Definition MuteValueGenerator.h:66
bool calculateNextValue()
Calculate the next mute value.
Definition MuteValueGenerator.h:35
void reset(float sampleRate, float rampLengthInSeconds)
Reset to a new sample rate and ramp length.
Definition MuteValueGenerator.h:25
float getValue()
Returns the current mute value.
Definition MuteValueGenerator.h:61
void setMuteDirection(bool requestMute)
Set mute direction.
Definition MuteValueGenerator.h:12
bool isFullyMuted()
Query whether mute is fully muted or not.
Definition MuteValueGenerator.h:18
Definition AirAbsorptionFilter.cpp:2