«Dusk» by Schemawound
on 03 Sep'12 15:00 in"Dusk" by Schemawound Appears on the album "They Want To Make Your Body Move. I Want To Hold You Perfectly Still." Full album is available for download from http://www.schemawound.com
Code by Jonathan Siemasko Contact: schemawound@yahoo.com Homepage: http://www.schemawound.com/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
/* "Dusk" by Schemawound Appears on the album "They Want To Make Your Body Move. I Want To Hold You Perfectly Still." Full album is available for download from http://www.schemawound.com Code by Jonathan Siemasko Contact: schemawound@yahoo.com Homepage: http://www.schemawound.com/ */ ( { //-----Variables----- var mainout = 0; var dawn; //-----SynthDefs----- SynthDef(\additivePad, { | outbus = 0, freq = 40, amp = 1, attack = 0.1, decay = 0.1, lfo0L = 0.5, lfo0R = 0.5, lfo1L= 0.1, lfo1R = 0.1, lfo2L= 0.5, lfo2R = 0.5 | var syn, env, ampMod, output; var lfo2input = Array.new(2); var lfo = Array.new(3); lfo = lfo.add(SinOsc.kr([lfo0L, lfo0R]).range(0, 1)); lfo = lfo.add(SinOsc.kr([lfo1L, lfo1R]).range(0, 1)); lfo2input = lfo2input.add(lfo2L * lfo[0] * lfo[1]); //Left lfo2input = lfo2input.add((lfo2R * (1 - lfo[0])) * (1 - lfo[1])); //Right lfo = lfo.add(SinOsc.kr(lfo2input, 1.5pi).range(0, 1)); env = EnvGen.kr(Env.perc(attack, decay), doneAction: 2); syn = SinOsc.ar(freq) * lfo[2]; output = syn * env * amp; Out.ar(outbus, output); }).add; //-----Sync----- Server.default.sync; //-----Patterns----- dawn = Pbind(*[instrument: \additivePad, dur: 1, amp: 0.02, freq: 100, lfo0L: Pwhite(0.5, 100), lfo0R: Pwhite(0.5, 100), lfo1L: Pwhite(0.1, 0.5), lfo1R: Pwhite(0.1, 0.5), lfo2L: Pwhite(0.5, 100), lfo2R: Pwhite(0.5, 1000), attack: Pwhite(0.1, 30), decay: Pwhite(0.1, 30), outbus: mainout ]); //-----Sequence----- "".postln;"-----Start Sequence-----".postln; Pdef(\dawn, dawn).fadeTime_(3).play; "Start".postln; //0:00 Pbindef(\dawn, \freq, Pwhite(40, 500)); "Low".postln; 30.wait; // 00:30 Pbindef(\dawn, \freq, Pwhite(40, 5000)); "High".postln; 30.wait; // 01:00 Pbindef(\dawn, \freq, Pwhite(40, 500)); "Low".postln; 30.wait; // 01:30 Pbindef(\dawn, \freq, Pwhite(40, 5000)); "High".postln; 30.wait; // 02:00 Pbindef(\dawn, \attack, 1); Pbindef(\dawn, \decay, 0); Pbindef(\dawn, \dur, 0.1); Pbindef(\dawn, \freq, Pwhite(40, 5000)); "Lefturn".postln; 30.wait; // 02:30 Pbindef(\dawn, \freq, Pwhite(40, 1100)); "lowturn".postln; 30.wait; // 03:00 Pdef(\dawn, dawn); Pbindef(\dawn, \freq, Pwhite(40, 500)); "Low".postln; 30.wait; // 03:30 Pbindef(\dawn, \freq, Pwhite(40, 5000)); "High".postln; 30.wait; // 04:00 Pbindef(\dawn, \freq, Pwhite(40, 500)); "Low".postln; 30.wait; // 04:30 Pbindef(\dawn, \freq, Pwhite(40, 5000)); "High".postln; 30.wait; // 05:00 Pdef(\dawn).stop; "-----End Sequence-----".postln; "".postln; }.fork; )
reception
comments