Voss Connection Detection
1
Detect a connector click using realtime code on Bela hardware
|
Go to the documentation of this file.
38 typedef unsigned int us;
160 #define CONNDETECT_THRESHOLD_BASED 1
167 #define CONNDETECT_ML_BASED 0
173 #define EMULATE_IMU 1
const float ACC_HP_CUTON
The cut-on frequency of the high-pass filter for accelerometer data.
const int LED_PIN_WRIST
The digital pin number for the wrist led.
const float SAMPLING_FREQUENCY
This is the exact sampling frequency of the system. Do not change!
const int LED_PIN_THUMB
The digital pin number for the thumb led.
std::array< float, BLOCKSIZE > Channel
A Channel contains data for the length of BLOCKSIZE.
const int NCHANNELS_INPUT_AUDIO
These are the amount of channels enabled for audio input on the Bela board. The audio input channels ...
const us NUMBER_SCOPE_VALUES
The number of values send to the Gui scope.
const float IMU_ACC_CUTON
Cut-on frequency of the high-pass for the IMU accelerometer.
const float ACC_LP_CUTOFF
const float MIC_HP_CUTON2k
The cut-on frequency of the microphone 2kHz high-pass filter.
const float MIC_LP_CUTOFF
The cut-off frequency of the microphone low-pass filter.
const int INPUT_PIN_PEDAL
The digital pin number on which the pedal is read.
const us BLOCKSIZE
The size of a buffer in a block. Should be an integer number of samples, and preferrably a integer po...
unsigned int us
Used to much to not abbreviate.
const int VIBRATOR_PIN
The digital pin number for the vibrometer.
const char *const SNDFILE_BASENAME
The base of the filename where raw data is written to. Extension .wav is addded.
const int LED_PIN_CONTROLBOX
The digital pin number for the control box led.
const int NCHANNELS_INPUT_ANALOG
These are the amount of channels enabled for analog input on the Bela board. Only for the setting of ...
const float LED_HOLD_TIME
const char *const logFileFormat
The format for representing numbers in the log file. I.e. %3.1f means three number before the decimal...
const char *const logFileName
The filename containing logged data. If you change this, please also update the file ....
const float MIC_HP_CUTON8k
The cut-on frequency of the microphone 8kHz high-pass filter.