This commit is contained in:
2026-04-25 03:05:25 +02:00
parent 0daca6f46b
commit 09b1a6707a
4 changed files with 16 additions and 8 deletions
+4 -2
View File
@@ -72,6 +72,10 @@ void synth_init(void) {
}
float get_sample(void) {
return osc.Process();
}
float _get_sample(void) {
float bps = state.clock_bpm / 60.0f;
float clock_inc = bps / SAMPLE_RATE;
clock_phase += clock_inc;
@@ -118,7 +122,5 @@ float get_sample(void) {
mix = fclamp(mix, -1.0f, 1.0f);
return mix;
return 0;
}