added missing files

This commit is contained in:
Ryzerth
2021-04-16 19:54:08 +02:00
parent b16ab3f0c0
commit d903daa046
3 changed files with 51 additions and 0 deletions

12
core/src/dsp/utils/math.h Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include <math.h>
#define FL_M_PI 3.1415926535f
namespace dsp {
namespace math {
inline float sinc(float omega, float x, float norm) {
return (x == 0.0f) ? 1.0f : (sinf(omega*x)/(norm*x));
}
}
}