Skip to content

PeakDetector

詳細情報

メンバー

PeakDetector()

PeakDetector::PeakDetector(const int lag=5, const float threshold=3.5, const float influence=0.5)

引数

  • constint lag
  • constfloat threshold
  • constfloat influence

~PeakDetector()

PeakDetector::~PeakDetector()

detect()

int PeakDetector::detect(float sample)

引数

  • float sample

戻り値

int

getAvg()

float PeakDetector::getAvg()

戻り値

float

getStd()

float PeakDetector::getStd()

戻り値

float