-
beat slicer ( b = Buffer.read(s, "C:/Documents and Settings/brusli/Desktop/d1.wav"); p = SoundFile.collectIntoBuffers("C:/Documents and Settings/brusli/Desktop/samples/*"); ) ( ~bpm = 190; ~n = 8; ~dur = 60 / ~bpm / 2; SynthDef( ...
-
... 1 = 100% chance, 0.5 = 50% chance, etc). The size of the array will define the beat number. Here, we'll have three examples, one for the binary tracker, one for the brobabilist tracker, and one for the duo tracker, which is a combination o ...
-
Binaural Beats 436hz + 548 hz ( {(Mix.new((SinOsc.ar([[[436, 548] + [1, 2, 4, 8, 16]] * [0.25, 0.5, 0.75, 0.125]] * [[rrand(0.9, 1,1) ! 3], 1]))) ! 2) * 0.03}.scope; {(Mix.new((SinOsc.ar([[[436, 548] + [1, 2, 4, 8, 16]] * [1, 2, 4, 8, 16, ...
-
... // Play a sine wave tone { SinOsc.ar(440, 0, 0.2) }.play; // Simple repeating beat ( Pbind( \instrument, \perc, \dur, 0.5, \freq, 200 ).play; )
-
... in=0, out=0, buf, gate=1, t_rec=0, t_reset=1, t_chop=0, plvl=1, switch=0, frombeat=0, grainsize=1, numbeats=4, numsubcycles=4, amp=1.0, wet=0.5; var dry, loopgate, time, grainlength, grainframes, subcycles, cycles, grains, trigcounter, ...
-
Quiz 4a for MUSC 115, pp. 62-84 from Gentle Intro to SuperCollider. ( { var saw, bpf; saw = Saw.ar( freq: [1700,2000], mul: LFPulse.kr( freq: [2,7], width: 0.115)); bpf = LPF.ar(in: saw, freq: SinOsc.kr(1/3).range(250, ...
-
How to generate random envelope but control it with pattern standard \dur and \legato mecanism by 0-2U (grirgz) Code
... ustain = ev.use({ ~sustain.value }) / thisThread.clock.tempo; // ~sustain is in beats but env should be in seconds var env; sustain.debug("sustain"); env = Env([0,1,1,0], times.normalizeSum * sustain); env.asCompileString.debug( ...
-
... asy ( var w, h = 700, v = 700, run = true; var starttime = TempoClock.default.beats; w = Window("trio", Rect(40, 40, h, v), false); w.onClose = { run = false }; // stop the thread on close w.front; w.drawFunc = { Pen.width = 2; ...
-
... Simple 8-step sequencer ------------------------ */ ~player = { arg beat_list, synth; { arg i; var amp = beat_list.wrapAt(i); if( amp>0, { synth.value(amp).play } ); } } ~bd_player = ~player.value([1, 1, 0, 0.1, ...
-
... tio, rrand(3,12); ]); }); (15 / ~bpm).wait; // 16th }); }).play; ~beat = Task({ inf.do({ len = rrand(4,6); Synth(\slicer, [\pos, rrand(0,15), \len, len]); (15 / ~bpm * len).wait; }); }).play; ) ~t.stop; ~beat ...