-
... ; }; objsFunc.dup(n); //create n agents for startup //--sequence Tdef(\seq, { //play the state of the agents loop{ drums.do{|d, i| //all 4 instruments var amp= world.objects[i].state[\amp].next; world.objects[i].state[\level]= amp; if(amp>0 ...
-
/* Silence is a player that doesn't have any output at all. */ Silence : SynthlessPlayer { *ar { |...args| ^Silent.ar(*args) } ar { ^Silent.ar } } PlayerInputProxy : Silence { // audio var <>spec,<>initValue = 0; var <patchIn; var inBus; *n ...
-
/* Silence is a player that doesn't have any output at all. */ Silence : SynthlessPlayer { *ar { |...args| ^Silent.ar(*args) } ar { ^Silent.ar } } PlayerInputProxy : Silence { // audio var <>spec, <>initValue = 0; var <patchIn; var inBus; * ...
-
... c .ar(freq, 0, 0.2); OffsetOut .ar(0, Pan2 .ar(z*e, pan)); }).memStore; ); ) // play a pattern on clock t: ( Pdef ( \a , Pbind ( \instrument , \ping , \degree , Pseq ((0..7), inf ), \dur , 0.25, \pan , -0.5, \amp , 0.5 ) ).play(t); ) // fad ...
-
... o set the soundFiles to 'global' so that they don't need to load during pattern playback. The UMap should not be used for an UChain that is not an UPattern, this will cause issues with the buffers loading especially when not set to 'global' ...
-
... ~height.kr * 1000), 0.1) * 0.75} ~b.clear ~b = { Impulse .ar(~a.kr) * 0.075} ~b.play ~b.playN([0,4,[8, 20]]); ~b = { BPF .ar( Impulse .ar(~a.kr), (~height.kr * 120 + 36).midicps, 0.1) * 2 } ( ~b = { BPF .ar( Impulse .ar(~a.kr), (~height.kr ...
-
... edTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) //click and drag //press cmd+period to stop
-
... Azi; var <acceleration; var <gravity; var <logging = false; var logTime; var <isPlaying = false; var replayTask; var oscListener; var action; var logger; *new { ^super.new.initOC; } initOC { acceleration = Array.newClear(3); //[x,y,z] compo ...
-
Ferrari a class for playing with the Thrustmaster Ferrari GamePad Ferrari is a subclass of GamePad. It knows the cookie numbers for the Thrustmaster Ferrari game controller. It knows how the scale the ctl values into a range of 0 - 1: GameP ...
-
... ).plot2; // sound example: Pbind( \note, Phrand( (..12), 11, inf ), \dur, 1/8 ).play; // proof of concept x = Phrand( (..10), 1, inf ).asStream; ( y = x.value; 100.do({ var val; val = x.value; if( y == val ) { "repetition occurred! (%)\n".p ...