Created
October 17, 2017 17:40
-
-
Save drart/669a0969e90bcfcdf80ad8467d397730 to your computer and use it in GitHub Desktop.
Playing with offset distortions in Flocking.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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