Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
filter.h File Reference
#include "config.h"
#include <array>
#include <Bela.h>
Include dependency graph for filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Filter
 Convert raw samples to a channel of filtered samples. More...
 

Typedefs

typedef array< float, NUMBER_RAW_CHANNELSRawFrame
 An array containing data for a raw frame. More...
 
typedef array< float, NUMBER_FILTERED_CHANNELSFilteredFrame
 An array containing data with length corresponding to a single processed frame. Its length corresponds to NUMBER_FILTERED_CHANNELS. More...
 

Variables

const us RAW_MICT = 0
 The number of channels of raw data coming from the sensors. This is currently set to 6. The contents are. More...
 
const us RAW_MICW = 1
 
const us RAW_VPU = 2
 
const us RAW_IMU_ROT = 3
 
const us RAW_IMU_ACC = 4
 
const us RAW_PEDAL = 5
 
const us NUMBER_RAW_CHANNELS = 6
 
const us FILT_RAW_MICT = 0
 The number of buffers that require some processing. This is not equal to the number of sensors, but instead equal to the number of extracted signals from the sensors. I.e. if a single signal is used, it can be 2 if both a high-pass and a low-pass filter is applied to the single signal. Be careful with changing this parameter, as it requires for sure changes in buffer.cpp and conndetect.cpp! More...
 
const us FILT_HP8k_MICT = 1
 
const us FILT_HP2k_MICT = 2
 
const us FILT_LP500_MICT = 3
 
const us FILT_RAW_MICW = 4
 
const us FILT_HP8k_MICW = 5
 
const us FILT_LP500_MICW = 6
 
const us FILT_RAW_VPU = 7
 
const us FILT_HP2k_VPU = 8
 
const us FILT_LP500_VPU = 9
 
const us FILT_IMU_ROT = 10
 
const us FILT_HP_IMU_ACC = 11
 
const us FILT_PEDAL = 12
 
const us NUMBER_FILTERED_CHANNELS = 13