Voss Connection Detection
1
Detect a connector click using realtime code on Bela hardware
|
Some very simple features that are more easily kept in a different class. More...
#include <conndetect_features.h>
Static Public Member Functions | |
static float | average (const Channel &i) |
Compute the average of a channel value. More... | |
static float | hasNonZero (const Channel &i) |
Find a nonzero in the array. More... | |
static float | maximum (const Channel &i) |
Find the maximum value in a strictly positive array. No checks on positiveness are done! More... | |
Some very simple features that are more easily kept in a different class.
Definition at line 200 of file conndetect_features.h.
|
inlinestatic |
Compute the average of a channel value.
i | The channel data |
Definition at line 209 of file conndetect_features.h.
|
inlinestatic |
Find a nonzero in the array.
i | The channel data |
Definition at line 219 of file conndetect_features.h.
|
inlinestatic |
Find the maximum value in a strictly positive array. No checks on positiveness are done!
i | The channel data |
Definition at line 231 of file conndetect_features.h.