Voss Connection Detection
1
Detect a connector click using realtime code on Bela hardware
|
void addFilteredFrame(const FilteredFrame &)
Addd a new set of samples to the buffers.
FilteredDataBuffer(const float &fs, bool half_offset=false)
Initialize a RawDataBuffer, which is filled by the main loop.
void clear()
Clear the buffer, i.e. set the write pointer back to 0.
array< float, NUMBER_FILTERED_CHANNELS > FilteredFrame
An array containing data with length corresponding to a single processed frame. Its length correspond...
FilteredData data
Raw sample buffers containing the data.
bool full() const
Check if buffer is full. A full buffer should be clear() - ed afterwards (prior to extracting the sta...
array< Channel, NUMBER_FILTERED_CHANNELS > FilteredData
unsigned int us
Used to much to not abbreviate.
Configuration parameters for connection detection.
Class containing filtered data. It is responsible for aggregating signal samples at the full audio sa...
us timeStamp
Storage for statistics data.