Skip to content

Instantly share code, notes, and snippets.

@drart
Created October 17, 2017 17: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/669a0969e90bcfcdf80ad8467d397730 to your computer and use it in GitHub Desktop.
Save drart/669a0969e90bcfcdf80ad8467d397730 to your computer and use it in GitHub Desktop.
Playing with offset distortions in Flocking.js
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: {
ugen: "flock.ugen.sin",
add: 45,
freq: .25
},
mul: 0.01
}
},
{
ugen: "flock.ugen.distortion.deJonge",
amount: {
ugen: "flock.ugen.sin",
mul: 49,
add: 50,
freq: 0.11,
},
source: {
ugen: "flock.ugen.sawOsc",
freq: 45.3456,
mul: 0.01
}
}]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment