25 #define _USE_MATH_DEFINES 61 m_a1 = 10.0f / sampleRate;
72 std::complex<float> x(re, im);
86 while (angle <= -
M_PI) {
89 while (angle >
M_PI) {
Fixed< IntType, IntBits > cos(Fixed< IntType, IntBits > const &x)
std::complex< float > m_y
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
static float normalizeAngle(float angle)
Fixed< IntType, IntBits > sin(Fixed< IntType, IntBits > const &x)
void feed(float re, float im)
void setSampleRate(unsigned int sampleRate)