Created
January 10, 2015 17:37
-
-
Save colinbdclark/e9dfd34f7f9cf8f9c0f4 to your computer and use it in GitHub Desktop.
Moog triplet bassline
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 freq = 1; | |
flock.synth({ | |
synthDef: { | |
ugen: "flock.ugen.filter.moog", | |
cutoff: { | |
ugen: "flock.ugen.lfNoise", | |
freq: freq, | |
mul: 5000, | |
add: 5000, | |
options: { | |
interpolation: "linear" | |
} | |
}, | |
resonance: { | |
ugen: "flock.ugen.sequence", | |
freq: freq, | |
list: [2, 3, 5, 10], | |
loop: 1.0 | |
}, | |
source: { | |
ugen: "flock.ugen.lfSaw", | |
freq: { | |
ugen: "flock.ugen.lfNoise", | |
freq: freq, | |
mul: 60, | |
add: 120 | |
}, | |
mul: { | |
ugen: "flock.ugen.envGen", | |
envelope: "flock.envelope.adsr", | |
gate: { | |
ugen: "flock.ugen.lfPulse", | |
width: 0.99, | |
freq: { | |
ugen: "flock.ugen.sequence", | |
freq: freq, | |
list: [1, 2, 3, 4, 2, 1, 3], | |
loop: 1.0 | |
} | |
}, | |
mul: 0.25 | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment