2#ifndef GRAMODS_SOUND_SOUNDBURSTDETECTOR
3#define GRAMODS_SOUND_SOUNDBURSTDETECTOR
5#include <gmSound/SoundDetector.hh>
13class SoundBurstDetector :
public SoundDetector {
18 ~SoundBurstDetector();
44 std::vector<std::vector<float>>
detectSound()
override;
50 std::unique_ptr<Impl> _impl;
void setCooldown(float t)
Sets the cooldown time for a detection, i.e.
Definition SoundBurstDetector.cpp:34
std::vector< std::vector< float > > detectSound() override
Reads off new samples from the capture device, if such are available, then detect sound based over th...
Definition SoundBurstDetector.cpp:41
void setThreshold(float r)
Sets the threshold used for detecting a sound event in the range 0-1.
Definition SoundBurstDetector.cpp:27
The module provides sound handling functionality for the implementation of sound screen or sound tabl...
Definition config.hh:15
Gramods, short for Graphics Modules, is a collection of weakly inter dependent and useful APIs for Vi...
Definition config.hh:25
Definition SoundBurstDetector.cpp:14