Go to the documentation of this file.
22 #ifndef INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_C_H
23 #define INCLUDED_ANALOG_PROBE_AVG_MAG_SQRD_C_H
54 static sptr make(
double threshold_db,
double alpha = 0.0001);
56 virtual bool unmuted()
const = 0;
57 virtual double level()
const = 0;
58 virtual double threshold()
const = 0;
60 virtual void set_alpha(
double alpha) = 0;
61 virtual void set_threshold(
double decibels) = 0;