Class thl::dsp::utils::SmoothedValue#

class SmoothedValue#

Public Types

enum ValueSmoothingType#

Values:

enumerator Linear#

Public Functions

SmoothedValue()#
void reset(double sample_rate, double time_in_seconds, ValueSmoothingType smoothing_type = Linear)#
void set_target_value(float target_value)#
void set_current_and_target_value(float target_value)#
float get_smoothed_value(std::size_t num_samples = 1)#