Skip to content

Instantly share code, notes, and snippets.

@madskjeldgaard
Last active June 21, 2019 18:08
Show Gist options
  • Save madskjeldgaard/46daf6c334c39f0dc42807cbe46f9736 to your computer and use it in GitHub Desktop.
Save madskjeldgaard/46daf6c334c39f0dc42807cbe46f9736 to your computer and use it in GitHub Desktop.
(
// This will automatically create a bus and map it accordingly in the Pbind
// Try changing each node proxy and listen to the pattern change
// You still have to do all operations to the lfo's data inside of the
// nodeproxies
Ndef(\lfo1, {SinOsc.kr(0.1)});
Ndef(\mousefreq, {MouseX.kr().exprange(20,12000)});
Pbind(
\amp, Ndef(\lfo),
\freq, Ndef(\mousefreq),
\dur, 0.25
).play;
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment