Skip to content

Instantly share code, notes, and snippets.

@drart
Created October 15, 2017 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drart/695d8170ea046fc6aeb5c62a5283d948 to your computer and use it in GitHub Desktop.
Save drart/695d8170ea046fc6aeb5c62a5283d948 to your computer and use it in GitHub Desktop.
Flocking DeJogne Distorion Demo (Frequency-modulated saw wave by ring-modulated square wave through modulated distortion)
var synth = flock.synth({
synthDef: {
ugen: "flock.ugen.distortion.tarrabiaDeJonge",
amount: {
ugen: "flock.ugen.sin",
rate: "control",
freq: 0.25
},
source: {
ugen: "flock.ugen.saw",
freq: {
ugen: "flock.ugen.square",
mul: {
ugen: "flock.ugen.sin",
mul: 30,
freq: 2
},
add: 100
}
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment