Browse Source

Correct gain.dsp example.

faust
Stephane Letz 4 years ago
parent
commit
919c01c308
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/gain.dsp

+ 1
- 1
examples/gain.dsp View File

@@ -8,5 +8,5 @@ switch(i) = button("switch%i [switch:%i]") : hbargraph("[switchlight_red:%i]", 0
// Gain slider, highlight in red
gain(i) = hslider("gain%i [knob:%i]", 0.1, 0, 1, 0.01) : hbargraph("[light_red:%i]", 0, 1);

process(x) = par(i, 6, x * gain(i+1) * (1-switch(i+1)));
process = si.bus(6) : par(i, 6, *(gain(i+1)) * (1-switch(i+1)));


Loading…
Cancel
Save