summaryrefslogtreecommitdiffstats
path: root/src/synth_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth_gui.c')
-rw-r--r--src/synth_gui.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/synth_gui.c b/src/synth_gui.c
index 35c940a..ed10547 100644
--- a/src/synth_gui.c
+++ b/src/synth_gui.c
@@ -166,14 +166,6 @@ draw_bars(synth_t * synth, int x, int y, int width, int height, int offset)
synth->adsr.s = GuiSlider((Rectangle){ x, y + count++ * (height + offset), width, height }, "S: ", buf, synth->adsr.s , 0.0f, 1.0f);
snprintf(buf, sizeof buf, "%.3f", synth->adsr.r);
synth->adsr.r = GuiSlider((Rectangle){ x, y + count++ * (height + offset), width, height }, "R: ", buf, synth->adsr.r , 0.001f, 3.0f);
- snprintf(buf, sizeof buf, "%.3f", synth->cutoff);
- synth->cutoff = GuiSliderBar((Rectangle){ x, y + count++ * (height + offset), width, height }, "fC: ", buf, synth->cutoff , 0.0f, 11000.0f);
- /* snprintf(buf, sizeof buf, "%.3f", synth->resonance); */
- /* synth->resonance = GuiSliderBar((Rectangle){ x, y + count++ * (height + offset), width, height }, "fR: ", buf, synth->resonance , 0.001f, 5.0f); */
- snprintf(buf, sizeof buf, "%.3f", synth->lfo.freq);
- synth->lfo.freq = GuiSliderBar((Rectangle){ x, y + count++ * (height + offset), width, height }, "lfo freq: ", buf, synth->lfo.freq , 0.001f, 10.0f);
- snprintf(buf, sizeof buf, "%.3f", synth->lfo.amp);
- synth->lfo.amp = GuiSliderBar((Rectangle){ x, y + count++ * (height + offset), width, height }, "lfo amp: ", buf, synth->lfo.amp , 0.0f, 0.93f);
snprintf(buf, sizeof buf, "%.3f", synth->gain);
synth->gain = GuiSlider((Rectangle){ x, y + count++ * (height + offset), width, height }, "gain: ", buf, synth->gain , 0.0f, 2.0f);
snprintf(buf, sizeof buf, "%.3f", synth->del_feedback);
@@ -245,10 +237,6 @@ rayrun(void *synthData){
mouse(synth, synth->stream);
int prec = 100000;
- if (IsKeyPressed(KEY_ENTER)) {
- synth->multi = !synth->multi;
- }
-
// Draw
//----------------------------------------------------------------------------------
BeginDrawing();