-
... rightSpr.update; ~centerSpr.update2; ~leftObj.update; ~rightObj.update; if(list.size>height.div(2), {list.pop}); list.addFirst([~leftObj.loc[0], ~rightObj.loc[0]]); //store x positions //--render Pen.strokeColor= Color.red; Pen.line(~leftOb ...
-
... ing into a changeable table t = [200, 300, 400, 500, 600, 800]; b = Buffer(s, t.size, 1); // alloc and set the values s.listSendMsg(b.allocMsg(b.setnMsg(0, t)).postln); SynthDef(\help_index, { |out = 0, bufnum = 0| Out.ar(out, SinOsc.ar( In ...
-
... dex of a multi channel buffer . inputArray - an array of audio inputs, the same size as your buffer. delaytime - delay time in seconds.. feedback - feedback coefficient. rotate - default 1: which rotates the inputArray by one step. (left -> ...
-
... oc(b.server, 65536, b.numChannels,{ arg buf; var chanNum="",chanPath; if(busses.size > 1,{ chanNum = "_" ++ i; }); chanPath = path ++ chanNum ++ "." ++ recHeaderFormat; chanPath.debug("Preparing:"); buf.writeMsg(chanPath, recHeaderFormat, r ...
-
... (b.server, 65536, b.numChannels, { arg buf; var chanNum="", chanPath; if(busses.size > 1, { chanNum = "_" ++ i; }); chanPath = path ++ chanNum ++ "." ++ recHeaderFormat; chanPath.debug("Preparing:"); buf.writeMsg(chanPath, recHeaderFormat, ...
-
... wfsPath.asWFSPath2 }; if( wfsPath.isWFSPath2 ) { numFrames = wfsPath.positions.size; } { numFrames = nil; }; this.changed( \wfsPath, wfsPath ); } filePath { ^if( wfsPath.isWFSPath2 ) { wfsPath.filePath } { wfsPath }; } filePath_ { |new| va ...
-
... he default is Rect(-2.5, -1, 3.5, 2) . bounds A Rect specifying the plot window size and position. colorFunc A Function for colourising pixels with an iteration count greater than the threshold. It is passed two Integer arguments ( iteratio ...
-
... moveAction.value(o); o.world.remove(o); false; }, {true}); }; } alive {^objects.size>0} } //--keeping waves RedWaveSystem : RedObjectSystem { var <length, <>freqs, <>phases, <>amps, <>angularVel, <>theta= 0, <wave; *new {|length, freqs, pha ...
-
... x, base; var message = "max iterations computed", messageList = List.newClear(size: 0), a = 0, d=x, c, maxIterations=15, i=0, cList = List.newClear(size: 0), dList = List.newClear(size: 0); d = d - d.floor.asInteger; //removes integer c ...
-
... ).trace, \instrument, \xxy).play; // pick one randomly Pbind(\where, r.nameList.size.rand, \instrument, \xxy).play;