You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
576B

  1. // Import libraries
  2. import("stdfaust.lib");
  3. import("rack.lib");
  4. // Switch button
  5. switch(i) = button("switch%i [switch:%i]");
  6. // Param slider
  7. param(i) = hslider("param%i [knob:%i]", 0.1, 0, 1, 0.01);
  8. // Highlight
  9. l_red(i) = hbargraph("[light_red:%i]", 0, 1);
  10. l_green(i) = hbargraph("[light_green:%i]", 0, 1);
  11. l_blue(i) = hbargraph("[light_blue:%i]", 0, 1);
  12. swl_red(i) = hbargraph("[switchlight_red:%i]", 0, 1);
  13. swl_green(i) = hbargraph("[switchlight_green:%i]", 0, 1);
  14. swl_blue(i) = hbargraph("[switchlight_blue:%i]", 0, 1);
  15. // Process definition
  16. process = par(i, 6, _);