-
... s { |inputs| var names = this.getWrappedArgs(inputs); ("\n\n" ++ this.asString).postln; names.do({ arg assn; assn.key.post; " -> ".post; assn.value.asCompileString.postln; }); } getWrappedArgs { |inputs| var dummyPatch, // Instrs that use I ...
-
... ctional differentiation of computer programs. See also: - http://conal.net/blog/posts/beautiful-differentiation - http://conal.net/blog/posts/what-is-automatic-differentiation-and-why-does-it-work It supports partial derivatives, derivative ...
-
... lock.schedAbs(tempoclock.elapsedBeats,{}) tempoclock.play({ //arg ...args; args.postln; [logical time, elapsed time, clock] //use logical beat time so can match up with other tasks running on the tempoclock lastBeat=tempoclock.beats; //last ...
-
... { arg delim = ",", equalSign = "=", prepend = "arg ", append = ";"; // just for posting or export: no backwards version var string = ""; this.keysValuesDo({ |key, value, i| string = string ++ key + equalSign + value; if(i < (this.keys.size ...
-
... ); // local machine // o = OSCFunc.newMatching({|msg, time, addr, recvPort| msg.post; \matching.postln}, '/button/*', n); // path matching p = OSCMessageInversePatternDispatcher.new; o = OSCFunc.new({|msg, time, addr, recvPort| msg.post; \m ...
-
... y one should be not nil. Note ( "G4" ); // -> will show as a name string in the post window (asString) Note ( "G4" ).asCompileString; // -> will show as a name string in the post window (asString) Note ( midi: 65 ); Note ( freq: 456 ).asCom ...
-
... for scheduling // demandIndex indicates the index of the stream of durations // posted demandIndex = 1, as two pbinds are using duration stream #0 ( p = PHS (h, [], 0.16, [ [ \midinote , Pkey ( \val ) + Pseq ([0,2], inf ), \amp , 0.06], [ \ ...
-
... verben = ( // parallel '**': { |liste| var max; liste.do({ |x| x.play; x[\wort].post; " ".post; }); max = liste.value.maxItem({ |x| x[\dur] }); if(max.notNil) { max[\dur].wait }; [] }, // seriell '*': { |liste| liste.do({ |x| x.play; x[\wor ...
-
... mes-eventstarts[eventlengths.size-1]-1; eventlengths=eventlengths/sampleRate; //Post << eventlengths << nl; //can add pats etcs, defaults to 5mS eventpats=Array.fill(eventlist.size,{arg i; BBCutBuffer.defaultPAT}); }); onsetsinbeats= (event ...
-
... t.x-10, point.y-10, 20, 20).intersects(Rect(mx, my, 1, 1)), { //"mousedown on ".post; rowcol.postln; if(selected, { rot = rot + (0.25pi * direction); //[\direction, direction].postln; dir = (dir + direction) % 8; //[\dir, dir].postln; }, { ...