Skip to content

Instantly share code, notes, and snippets.

@drart
Created October 17, 2017 17:41
Show Gist options
  • Save drart/8a96dddccf005484613f1463cf0ecc84 to your computer and use it in GitHub Desktop.
Save drart/8a96dddccf005484613f1463cf0ecc84 to your computer and use it in GitHub Desktop.
Flocking.js demo for the deJonge distortion. Modulates the amount parameter.
var synth = flock.synth({
synthDef: {
ugen: "flock.ugen.distortion.deJonge",
amount: {
ugen: "flock.ugen.sin",
mul: 99,
add: 100,
freq: 0.1,
},
source: {
ugen: "flock.ugen.sawOsc",
freq: 45,
mul: 0.01
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment