summaryrefslogtreecommitdiffstats
path: root/src/synth_gui.c
diff options
context:
space:
mode:
authoranastasisg <anastasis@learnworlds.com>2025-11-28 15:25:16 +0200
committeranastasisg <anastasis@learnworlds.com>2025-11-28 15:25:16 +0200
commitd394d6e056788bfb3764463cd04d796f74924e15 (patch)
treec28947dbac6eec56046ab717d5ade8dca09af94d /src/synth_gui.c
parent5f3058f662b7222ea47a49ea2a450aa0491b5496 (diff)
downloadsynth-project-d394d6e056788bfb3764463cd04d796f74924e15.tar.gz
synth-project-d394d6e056788bfb3764463cd04d796f74924e15.tar.bz2
synth-project-d394d6e056788bfb3764463cd04d796f74924e15.zip
add lfo-on-pitch toggle
Diffstat (limited to 'src/synth_gui.c')
-rw-r--r--src/synth_gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/synth_gui.c b/src/synth_gui.c
index 4cdf37d..265b539 100644
--- a/src/synth_gui.c
+++ b/src/synth_gui.c
@@ -1258,6 +1258,8 @@ draw_main(synth_t *synth)
draw_bars(synth, 20, 20, 200, 16, 3);
draw_text(synth, WIDTH / 2 - 108, 20);
+ synth->lfo_on_pitch = GuiCheckBox((Rectangle){WIDTH / 2.0 - 108 + 120, 20, 12, 12},
+ "lfo", synth->lfo_on_pitch);
//synth->viz.osc_enabled = GuiCheckBox((Rectangle){ x + width - 170, y, 16, 16 }, "osc", synth->viz.osc_enabled);
if (synth->viz.osc_enabled) {