Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4875) Code (274) Doc (1418) Help (390) Quark (2775) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. CheckBadValues Help

    ... 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 ...

  2. Ref Help

    ... 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 ...

  3. Method-Calls Help

    ... 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 ...

  4. SCImage Help

    ... 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 ...

  5. PG_Cookbook03_External_Control Help

    ... (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 ...

  6. SCUserView-Subclassing Help

    ... 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 ...

  7. SCStethoscope Help

    ... 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 ...

  8. SCSlider Help

    ... 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 ...

  9. plot Help

    ... 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 ...

  10. Backwards-Compatibility Help

    ... = { 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" , { ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow