shithub: soundpipe

ref: 96de5819111e6f89e310981e49fa52e8b9cae653
dir: /util/faust/square.dsp/

View raw version
import("oscillator.lib");

freq = hslider("[1]frequency", 440, 0, 20000, 0.0001);
amp = hslider("[2]amp", 1, 0, 1, 0.00001);
width = hslider("[3]width", 0.5, 0, 1, 0.0000);

process = pulsetrainN(2, freq, width) * amp;