Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
conndetect_features.cpp File Reference
#include "conndetect_features.h"
#include <iostream>
#include <libraries/math_neon/math_neon.h>
Include dependency graph for conndetect_features.cpp:

Go to the source code of this file.

Macros

#define max(a, b)   (((a) > (b) ? a : b))
 Macro: compute the maximum of two numbers. More...
 

Variables

const float number_pi = M_PI
 
const float sq2 = sqrtf_neon(2.0f)
 

Macro Definition Documentation

◆ max

#define max (   a,
 
)    (((a) > (b) ? a : b))

Macro: compute the maximum of two numbers.

Parameters
aValue 1
bValue 2
Returns
max(a,b)

Definition at line 17 of file conndetect_features.cpp.

Variable Documentation

◆ number_pi

const float number_pi = M_PI

Definition at line 6 of file conndetect_features.cpp.

◆ sq2

const float sq2 = sqrtf_neon(2.0f)

Definition at line 7 of file conndetect_features.cpp.