-
... infinity x = { arg test = -1; CheckBadValues .kr(test); 0 }.play // check NaN x.set( \test , -1.sqrt); // don't post, but do something with the output ( x = { arg freq = 440; var good; good = BinaryOpUGen ( '==' , CheckBadValues .kr(freq, 0 ...
-
... e is defined to create a Ref of the object. value Returns value. value_(aValue) Sets value. get Returns value. set(aValue) Sets value. at (index) Returns value.at(index) put(index, value) Executes value.put(index, value) seq(output) this me ...
-
... clared to accept. If fewer arguments are passed, those arguments not passed are set to a default value if one is given in the method or function definition, or otherwise to nil. If too many arguments are passed, the excess arguments are eit ...
-
... ackground_( Color .white); w.drawHook = { SCPen .translate(100, 100); 10.do{ // set the Color SCPen .color = Color .blue(rrand(0.0, 1), rrand(0.0, 0.5)); SCPen .addWedge((100.rand)@(100.rand), rrand(10, 100), 2pi.rand, 2pi.rand); SCPen .per ...
-
... (0.125, 2)], #[0.8, 0.2], inf ), \legato , Pfunc { ~legato } // retrieves value set by MIDI control ).play; ) p.stop; c.remove; If Pfunc { } is bothersome in the Pbind, a PatternProxy or Pdefn could also serve the purpose. ( ~legato = Patte ...
-
... o fit your design. The following narrates the code in SCUserViewTutorial.sc: 1. Setup instance vars appropriate to your widget You inherit all of the instance variables from SCUserView and SCView, of course, but many gui widgets need their ...
-
... Server .internal. numChannels - An integer. Default value is 2.. index - The offset index. An integer. Default is nil. bufsize - The size of the analysis buffer. Default value is 4096. . zoom - Horizontal maginification of the displayed wav ...
-
... your needs. Using map and unmap, combined with a Spec , is helpful for this. To set the increment or decrement value of the slider, set the step . By default, the shift, ctrl, and alt keys will modify the stepping by 100x, 10x, or 0.1x repe ...
-
... g coordinates for the GUI location. discrete - plots are line-plots by default. Set this to true for bar charts. numChannels - the number of interleaved channels that an array represents. For Buffers this argument is not available, since it ...
-
... = { arg freq = 440; Out .ar(1, SinOsc .ar(freq, 0, 0.5)) }.play(fadeTime: 0); x.set( \freq , 880); // you can set arguments y = Synth .new(x.defName); // get the arbitrary defname from x x.free; y.free; x = SynthDef ( "backcompat-sine" , { ...