1 #ifndef QUADRATURE_SINE_OSCILLATOR_H
2 #define QUADRATURE_SINE_OSCILLATOR_H
20 for (
size_t i = 0; i < len; ++i) {
29 for (
size_t i = 0; i < len; ++i) {
62 for (
size_t i = 0; i < len; ++i) {
72 for (
size_t i = 0; i < len; ++i) {
110 for (
size_t i = 0; i < len; ++i) {
120 for (
size_t i = 0; i < len; ++i) {
An oscillator similar to QuadratureSineOscillator class that also includes feedback control.
static constexpr float end_phase
static constexpr float begin_phase
ComplexFloat getFeedback() const
void generate(ComplexFloatArray output)
void setFeedback(ComplexFloat feedback)
void generate(ComplexFloatArray output, FloatArray fm)
float im(const int i)
Get the imaginary part of an element of the array.
float re(const int i)
Get the real part of an element of the array.
An oscillator similar to QuadratureSineOscillator class that also includes feedback control.
void setFeedback(float feedback)
static constexpr float end_phase
static constexpr float begin_phase
float getFeedback() const
void generate(ComplexFloatArray output)
void generate(ComplexFloatArray output, FloatArray fm)
This class contains useful methods for manipulating arrays of floats.
Oscillator outputs complex numbers on unit cycle.
static constexpr float end_phase
static constexpr float begin_phase
void generate(ComplexFloatArray output, FloatArray fm)
void generate(ComplexFloatArray output)
A structure defining a floating point complex number as two members of type float.
float im
The imaginary part of the complex number.
float re
The real part of the complex number.