@@ -1,5 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/digital.hpp" | |||||
struct ADSR : Module { | struct ADSR : Module { | ||||
@@ -1,7 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/samplerate.hpp" | |||||
#include "dsp/ringbuffer.hpp" | |||||
#include "dsp/filter.hpp" | |||||
#include "samplerate.h" | #include "samplerate.h" | ||||
@@ -1,5 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/digital.hpp" | |||||
struct LowFrequencyOscillator { | struct LowFrequencyOscillator { | ||||
@@ -1,5 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/digital.hpp" | |||||
#define NUM_CHANNELS 10 | #define NUM_CHANNELS 10 | ||||
@@ -1,5 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/digital.hpp" | |||||
struct SEQ3 : Module { | struct SEQ3 : Module { | ||||
@@ -1,6 +1,5 @@ | |||||
#include <string.h> | #include <string.h> | ||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/digital.hpp" | |||||
#define BUFFER_SIZE 512 | #define BUFFER_SIZE 512 | ||||
@@ -1,6 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/digital.hpp" | |||||
#include "dsp/filter.hpp" | |||||
template <int TYPE> | template <int TYPE> | ||||
@@ -1,5 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/vumeter.hpp" | |||||
struct Unity : Module { | struct Unity : Module { | ||||
@@ -1,7 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/functions.hpp" | |||||
#include "dsp/resampler.hpp" | |||||
#include "dsp/ode.hpp" | |||||
inline float clip(float x) { | inline float clip(float x) { | ||||
@@ -32,7 +29,7 @@ struct LadderFilter { | |||||
} | } | ||||
void process(float input, float dt) { | void process(float input, float dt) { | ||||
ode::stepRK4(0.f, dt, state, 4, [&](float t, const float x[], float dxdt[]) { | |||||
dsp::stepRK4(0.f, dt, state, 4, [&](float t, const float x[], float dxdt[]) { | |||||
float inputc = clip(input - resonance * x[3]); | float inputc = clip(input - resonance * x[3]); | ||||
float yc0 = clip(x[0]); | float yc0 = clip(x[0]); | ||||
float yc1 = clip(x[1]); | float yc1 = clip(x[1]); | ||||
@@ -1,6 +1,4 @@ | |||||
#include "Fundamental.hpp" | #include "Fundamental.hpp" | ||||
#include "dsp/resampler.hpp" | |||||
#include "dsp/filter.hpp" | |||||
extern float sawTable[2048]; | extern float sawTable[2048]; | ||||