Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
ConnDetect

Connection detection. Uses the Feature class to extract certain features from the filtered data. More...

Classes

class  ConnDetect
 The main connection detection class. More...
 

Typedefs

typedef std::array< float,(us) NUMBER_FEATURESComputedFeatures
 

Enumerations

enum  FeatureType : int {
  FeatureType::HP_8k_PEAKdB_MICT, FeatureType::HP_8k_PEAKdB_MICW, FeatureType::LP_500_PEAKdB_MICT, FeatureType::LP_500_PEAKdB_MICW,
  FeatureType::HP_2k_PEAKdB_VPU, FeatureType::LP_500_PEAKdB_VPU, FeatureType::HP_2k_PEAKFREQ_MICT, FeatureType::KURTOSIS_MICT,
  FeatureType::INVERSE_FREQ_VARIANCE_MICT, FeatureType::WAMP_MICT, FeatureType::TM3_MICT, FeatureType::ZC_MICT,
  FeatureType::KURTOSIS_MICW, FeatureType::INVERSE_FREQ_VARIANCE_MICW, FeatureType::WAMP_MICW, FeatureType::TM3_MICW,
  FeatureType::ZC_MICW, FeatureType::KURTOSIS_VPU, FeatureType::WAMP_VPU, FeatureType::TM3_VPU,
  FeatureType::ZC_VPU, FeatureType::TIMEDELAY_MICW_MICT, FeatureType::AVG_IMU_ABS_ROT, FeatureType::MAX_IMU_ABS_HP_ACC,
  FeatureType::PEDAL, FeatureType::CLASS, FeatureType::NumberOfFeatures
}
 These are the features extracted from the filtered data. They should be self-explaining regarding the build-up of the naming. First part is signal type, HP_x means high-passed, LP_x means lowpassed. Second part is a feature descriptor, and last part is the signal to apply it on. Exception is the time delay, which is a cross-signal feature. More...
 

Variables

const us NUMBER_FEATURES = static_cast<int>(FeatureType::NumberOfFeatures)
 

Detailed Description

Connection detection. Uses the Feature class to extract certain features from the filtered data.

Typedef Documentation

◆ ComputedFeatures

typedef std::array<float, (us) NUMBER_FEATURES> ComputedFeatures

Definition at line 78 of file conndetect.h.

Enumeration Type Documentation

◆ FeatureType

enum FeatureType : int
strong

These are the features extracted from the filtered data. They should be self-explaining regarding the build-up of the naming. First part is signal type, HP_x means high-passed, LP_x means lowpassed. Second part is a feature descriptor, and last part is the signal to apply it on. Exception is the time delay, which is a cross-signal feature.

Enumerator
HP_8k_PEAKdB_MICT 
HP_8k_PEAKdB_MICW 
LP_500_PEAKdB_MICT 
LP_500_PEAKdB_MICW 
HP_2k_PEAKdB_VPU 
LP_500_PEAKdB_VPU 
HP_2k_PEAKFREQ_MICT 
KURTOSIS_MICT 
INVERSE_FREQ_VARIANCE_MICT 
WAMP_MICT 
TM3_MICT 
ZC_MICT 
KURTOSIS_MICW 
INVERSE_FREQ_VARIANCE_MICW 
WAMP_MICW 
TM3_MICW 
ZC_MICW 
KURTOSIS_VPU 
WAMP_VPU 
TM3_VPU 
ZC_VPU 
TIMEDELAY_MICW_MICT 
AVG_IMU_ABS_ROT 
MAX_IMU_ABS_HP_ACC 
PEDAL 
CLASS 
NumberOfFeatures 

Definition at line 32 of file conndetect.h.

Variable Documentation

◆ NUMBER_FEATURES

const us NUMBER_FEATURES = static_cast<int>(FeatureType::NumberOfFeatures)

Definition at line 76 of file conndetect.h.