Voss Connection Detection
1
Detect a connector click using realtime code on Bela hardware
|
Time delay determination between two signals, based on cross-correlation and windowing of the data. More...
#include <timedelay.h>
Public Member Functions | |
TimeDelay (const float &fs) | |
Initialize a time delay finder. More... | |
float | determineDelay (const Channel &mic1, const Channel &mic2) |
Determine the delay between two microphone signals. A positive signal means that mic 1 comes [t] time later than mic 0. More... | |
~TimeDelay () | |
Time delay determination between two signals, based on cross-correlation and windowing of the data.
Definition at line 12 of file timedelay.h.
TimeDelay::TimeDelay | ( | const float & | fs | ) |
Initialize a time delay finder.
fs | Sampling frequency [Hz] |
Definition at line 8 of file timedelay.cpp.
TimeDelay::~TimeDelay | ( | ) |
Definition at line 111 of file timedelay.cpp.
Determine the delay between two microphone signals. A positive signal means that mic 1 comes [t] time later than mic 0.
mic1 | Samples of mic 1 |
mic2 | Samples of mic 2 |
Definition at line 37 of file timedelay.cpp.