Created
April 9, 2012 00:12
-
-
Save mxjxn/2340474 to your computer and use it in GitHub Desktop.
Supercollider Random Sine Wave Drone Experiment
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
( | |
// every time you run this it will sound slightly different. | |
var d_def = SynthDef( 'drone1', | |
{|freq = #[50,100,175], out=#[0,1]| | |
// four random frequency rates, distributed [L, R, L, R] | |
// amplitudes also oscillating with random Hz values between 0.1 and 0.4 | |
var synth = SinOsc.ar([50.rrand(200),50.rrand(100),50.rrand(100),75.rrand(125)], | |
0, | |
{0.1.rrand(0.4)*LFPar.kr(0.1.rrand(1.6),0,1)}!4); | |
Out.ar(out, Mix(synth)); | |
}).add; | |
var d_1 = d_def.play(s); | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment