Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
thresholds_config.h
Go to the documentation of this file.
1 
7 #pragma once
8 #include "config.h"
9 
25 // const float MIN_MIC_DELAY_MS = -10;
30 // const float MAX_MIC_DELAY_MS = 20;
31 
35 const float MIN_PEAK_HP8k_MICT = -35;
36 const float MAX_PEAK_HP8k_MICT = 0;
40 const float MIN_PEAK_HP8k_MICW = -40;
41 const float MAX_PEAK_HP8k_MICW = -15;
42 
46 const float MIN_PEAK_HP2k_VPU = -50;
47 const float MAX_PEAK_HP2k_VPU = -10;
48 
52 const float MIN_PEAK_LP500_MICT = -45;
53 const float MAX_PEAK_LP500_MICT = -15;
57 const float MIN_PEAK_LP500_MICW = -45;
58 const float MAX_PEAK_LP500_MICW = -15;
59 
63 const float MIN_PEAK_LP500_VPU = -50;
64 const float MAX_PEAK_LP500_VPU = -10;
65 
66 const float MIN_PEAKFREQ_HP2K_MICT = 5000;
67 
69 
70 const float MIN_WAMP_MICT = 10;
71 
72 const float MIN_ZC_MICT = 10;
73 
74 const float MIN_AVG_IMU_ABS_ROT = 0;
75 const float MAX_AVG_IMU_ABS_ROT = 0.25;
76 
77 
78 // const float MIN_WAMP_VPU = 10;
82 //const float MIN_WAMP_MICW = 3;
87 // const float MIN_ZC_VPU = 1;
88 
89 // const float MAX_INVERSE_FREQ_VARIANCE_MICT = 8000;
90 
91 // const float MIN_INVERSE_FREQ_VARIANCE_MICW = 0;
92 // const float MAX_INVERSE_FREQ_VARIANCE_MICW = 8000;
93 
94 // const float MIN_KURTOSIS_MICW = 0;
95 // const float MAX_KURTOSIS_MICW = 0;
96 
97 // const float MIN_KURTOSIS_MICT = 0;
98 // const float MAX_KURTOSIS_MICT = 0;
99 
100 // const float MIN_KURTOSIS_VPU = 0;
101 // const float MAX_KURTOSIS_VPU = 0;
MIN_AVG_IMU_ABS_ROT
const float MIN_AVG_IMU_ABS_ROT
Definition: thresholds_config.h:74
MAX_PEAK_HP8k_MICT
const float MAX_PEAK_HP8k_MICT
Definition: thresholds_config.h:36
MIN_PEAK_HP8k_MICW
const float MIN_PEAK_HP8k_MICW
Minimum and maximum value of the 8k high-passed signal of the wrist microphone.
Definition: thresholds_config.h:40
MIN_PEAK_HP8k_MICT
const float MIN_PEAK_HP8k_MICT
The minimal delay in ms the microphone signals should have, for a positive connection detection.
Definition: thresholds_config.h:35
MAX_PEAK_HP2k_VPU
const float MAX_PEAK_HP2k_VPU
Definition: thresholds_config.h:47
MIN_INVERSE_FREQ_VARIANCE_MICT
const float MIN_INVERSE_FREQ_VARIANCE_MICT
Definition: thresholds_config.h:68
MAX_AVG_IMU_ABS_ROT
const float MAX_AVG_IMU_ABS_ROT
Definition: thresholds_config.h:75
MIN_PEAK_LP500_MICW
const float MIN_PEAK_LP500_MICW
Minimum and maximum value of the 500 low-passed signal of the wrist microphone.
Definition: thresholds_config.h:57
MAX_PEAK_LP500_MICW
const float MAX_PEAK_LP500_MICW
Definition: thresholds_config.h:58
MIN_PEAK_HP2k_VPU
const float MIN_PEAK_HP2k_VPU
Minimum and maximum value of the 2k high-passed signal of the VPU.
Definition: thresholds_config.h:46
MIN_PEAK_LP500_VPU
const float MIN_PEAK_LP500_VPU
Minimum and maximum value of the 500 low-passed signal of the VPU.
Definition: thresholds_config.h:63
MAX_PEAK_HP8k_MICW
const float MAX_PEAK_HP8k_MICW
Definition: thresholds_config.h:41
MIN_PEAKFREQ_HP2K_MICT
const float MIN_PEAKFREQ_HP2K_MICT
Definition: thresholds_config.h:66
MIN_PEAK_LP500_MICT
const float MIN_PEAK_LP500_MICT
Minimum and maximum value of the 500 low-passed signal of the thumb microphone.
Definition: thresholds_config.h:52
MIN_WAMP_MICT
const float MIN_WAMP_MICT
Definition: thresholds_config.h:70
config.h
Configuration parameters for connection detection.
MIN_ZC_MICT
const float MIN_ZC_MICT
Definition: thresholds_config.h:72
MAX_PEAK_LP500_MICT
const float MAX_PEAK_LP500_MICT
Definition: thresholds_config.h:53
MAX_PEAK_LP500_VPU
const float MAX_PEAK_LP500_VPU
Definition: thresholds_config.h:64