Skip to content

Instantly share code, notes, and snippets.

@colinbdclark
Last active August 29, 2015 14:10
Show Gist options
  • Save colinbdclark/e4b6210b4d85b1efc9a9 to your computer and use it in GitHub Desktop.
Save colinbdclark/e4b6210b4d85b1efc9a9 to your computer and use it in GitHub Desktop.
Wobbling Sines
var synth = flock.synth({
synthDef: [
{
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
start: 60,
end: 90,
duration: 120
},
mul: {
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
start: 1/120,
end: 1/2,
duration: 120
},
mul: 0.125,
add: 0.125
}
},
{
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
start: 90,
end: 60,
duration: 90
},
mul: {
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.lfNoise",
freq: {
ugen: "flock.ugen.xLine",
start: 1/240,
end: 1/120,
duration: 90
},
mul: 1/30,
add: 1/30
},
mul: 0.125,
add: 0.125
}
},
{
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
start: 270,
end: 240,
duration: 120
},
mul: {
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
start: 1/120,
end: 1/2,
duration: 120
},
mul: 0.125,
add: 0.125
}
},
{
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.xLine",
start: 210,
end: 180,
duration: 90
},
mul: {
ugen: "flock.ugen.sinOsc",
freq: {
ugen: "flock.ugen.lfNoise",
freq: {
ugen: "flock.ugen.xLine",
start: 1/240,
end: 1/120,
duration: 180
},
mul: 1/60,
add: 1/60
},
mul: 0.125,
add: 0.125
}
}
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment