-
... = velSum/numBoids; } prFillBoidList {|num| num.do{ var boid; boid = BoidUnitND.rand(bounds, centerInstinct, innerDistance, matchVelocity, minSpace, workingMaxVelocity, sd); boidList.add(boid); // add it to the list }; } addBoid {|initPos| ...
-
... ltFunc = { UChain( \bufSoundFile, [ \wfsStaticPoint, [ \point, (5@0).rotate(2pi.rand) ] ] ).useSndFileDur }; UChain.presetManager .putRaw( \dynamicPoint, { UChain( [ \bufSoundFile, [ \soundFile, BufSndFile.newBasic("@resources/sounds/a11wlk ...
-
... -1; } { current < 0 } { current = current.fold(0,size-1); direction = 1; }; }, \random, { current = size.rand; }, \off, { current = current.clip(0,size-1); direction = 1; } ); pointsNext.wrapAt( current ).yield; }; }.r }).category_( 'patter ...
-
... es: \ (\ fork \\ t = TelepathicClock (permanent: false ).verbose_( true );\ 3.0.rand.wait;\ u = TelepathicClock (permanent: false ).verbose_( true );\ [t, u].do( _ .stopListen);\ s.boot;\ \\ );\ \ t.dt = 0.5;\ u.dt = 0.5;\ \ // it should st ...
-
... SyncSamp1, [\buf, b, \note, #[60, 1, 1], \loop, 0, \indexSecs, 0, \sampAzi, 360.rand, \durSecs, 300, \fadeSecs, 2, \t_trig, 1 ]); ~phasorSync.set(\t_trig, 1); x.set(\t_trig, 1); x.set(\sampAzi, -60); x.set(\sampSpr, 100) x.set(\startPosSecs ...
-
... , nil , nil ] // cyclical time points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.tr ...
-
... , nil , nil ] // cyclical time points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.tr ...
-
... ending var n, d, e, b; n = "John" ; d = Document ( "chat" ).background_( Color .rand).bounds_( Rect (30, 10, 400, 200)); e = Document ( "chat-write" ).background_( Color .rand).bounds_( Rect (30, 210, 400, 50)); a = LocalClient .default.sta ...
-
... 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc .ar(freq, Rand (0, 2pi)) } ! 2; sig = sig * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2); OffsetOut .ar(out, sig); }).add; SynthDef ( \saw_grain , { |out = 0, fre ...
-
... drawLineFlag, myBuffer, synth, myTempBuffer; var s, wacomRButt, mouseRButt; var randomGrainTask, linearGrainTask, wormGrainTask, graindensity, grainDensitySl; var grainEnvType, graindur, grainDurSl; var grainFlag, playPathFlag, synthType; v ...