-
... "f" ~name = \SimplePad; ~description = "A Simple Pad"; ~channelLayout = \mono; ~function = { | freq=440, width = 0.5, modFreq = 1, aTime = 5, rTime = 5, filter = 2, filterQ = 0, pan = 0.5 | var env = EnvGen.ar(Env([0.01,1,0.01],[aTime, rTim ...
-
... You can query the server: myServer.options.numOutputBusChannels ⧉ ✔ An example Function , ~checkMyServerOutputs , can be found here . ~checkMyServerOutputs throws a warning if myServer.options.numOutputBusChannels < myDecoder.numOutputs . ...
-
... n a stream next { arg ... inputs; ^func.valueArray(inputs) } <>> { arg that; // function composition : // create an instr that passes output of this to the first input of that ^CompositeInstr(this, that.asInstr) } papply { arg ... args; // ...
-
... Boolean. Determines if Pbind player(s) should stop. Defaults to true. addAction Function to be evaluated at receive time. . pause = stop . free Stop the PHSplayer and all PHSusePlayers that are using the same HS, also free the HS. NOTE: sto ...
-
/* UnitTest.gui These tests are for "miscellaneous" mathlib functions that don't have their own class. */ TestMathLib : UnitTest { test_correlation { var x, y, n, p; n = 1000000; // Uncorrelated x = {10.0.sum3rand}.dup(n); y = {10.0.sum3ran ...
-
... booted already, this will trigger evaluation of the above-defined doWhenBooted function s.reboot; ) Ndef(\decoder).scope; // scope decoder (no need to listen...) ( Ndef(\decoder, { var order = 2; // reduce order to 2 var numChans = (order+ ...
-
... ef(\x)[1] = nil NNdef(\x)[0] = nil NNdef(\x).play NNdef(\x).clear //on changing function event network is automatically destroyed and recreated ( NNdef(\x, { var freq = MIDIMKtl('bcr20000').elementAt(\kn,0,0).enIn.nexp(100,1000).enKr; var a ...
-
... orrupted buffers in multi buffer examples for no obvious reason. NOTE: For full functionality at least SC 3.7 is recommended (rate sequencing doesn't work in 3.6) CREDITS: Thanks to Tommaso Settimi for an inspiring discussion, which gave me ...
-
... t; this.getBox(boxPoint).putAll(dict) } withBox { arg boxPoint,func; // execute function in en boxes[boxPoint] = this.getBox(boxPoint).make(func) } get { arg boxPoint,attr; ^this.getBox(boxPoint).at(attr) } getBox { arg boxPoint; var b; if( ...
-
... . agents[i][x,y,vx,vy] agents.add([x,y,vx,vy]); } ); } // task function getBoids { //var i; var cx=0; var cy=0; var cvx=0; var cvy=0; for (0,myagentcount-1,{ |i| this.agent_tick(i); // calcul ...