Skip to content

Instantly share code, notes, and snippets.

@evilactually
Last active June 1, 2020 02:26
Show Gist options
  • Save evilactually/5bc921b546ba5a528e39c96c3f847fb0 to your computer and use it in GitHub Desktop.
Save evilactually/5bc921b546ba5a528e39c96c3f847fb0 to your computer and use it in GitHub Desktop.
cd ./plugins/package/am_modulator/source
cat <<'EOF' > "./am_modulator.dsp"
// Am Modulator Example written in Faust
import("stdfaust.lib");
modulator = ((1-modDepth) + (os.osc(modFreq)*0.5 + 0.5)*modDepth);
modFreq = hslider("Modulator Frequency", 400, 0.1, 2000,0.01);
modDepth = hslider("Modulator Depth", 0.5, 0, 1,0.01);
process = _*modulator;
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment