Reorganized file structure to allow building Arduino project

This commit is contained in:
Dejvino
2026-02-28 21:49:17 +01:00
parent ef69701878
commit aaeaa9986e
10 changed files with 391 additions and 224 deletions
+5 -1
View File
@@ -1,4 +1,6 @@
#include <mutex>
#include "SharedState.h"
#include "synth_engine.h"
volatile unsigned long lastLoop0Time = 0;
volatile unsigned long lastLoop1Time = 0;
@@ -29,4 +31,6 @@ volatile int currentKeyIndex = 0; // C
const char* WAVETABLE_NAMES[] = {"Sine", "Square", "Saw", "Triangle"};
const int NUM_WAVETABLES = sizeof(WAVETABLE_NAMES) / sizeof(WAVETABLE_NAMES[0]);
volatile int currentWavetableIndex = 0; // Sine
volatile int currentWavetableIndex = 0; // Sine
SynthEngine* globalSynth = nullptr;