Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (14) Doc (370) Help (95) Quark (257) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. PNoise Quark

    ... Val= hiStr.next(inval); if(loVal.isNil or:{hiVal.isNil}, {^inval}); inval= lo.asFloat.rrand(hi).yield; }; ^inval; } } PIRand : Pattern { var <>lo, <>hi, <>length; *new {|lo= 0, hi= 127, length= inf| ^super.newCopyArgs(lo, hi, length); } sto ...

  2. Exercise_12_HOA_NRT_using_scores_and_SynthDefs Doc

    ... ill configure the ServerOptions for the NRT server first. We render the file as float and normalize it once it is written to disk. ( ~nrtOptions = ServerOptions.new; ~nrtOptions.verbosity_(0); // 0 to see the events as OSCPacket ~nrtOptions ...

  3. extSynthdef-fastgui Quark

    ... g paramScale (default 4) // * Integers will be scaled as integers (stepsize=1), floats as floats // * positive parameters can not be set to zero, only to (default * (1/paramScale)) // * zeros can be scaled to zeroScale // * zeros with minus ...

  4. PstepDur Doc

    ... er levels or durs . tolerance How close is "close enough" (avoids problems with floating point rounding error in repeated sums). Inherited class methods Instance Methods Inherited instance methods Examples // Read 10 values from Pstep, all ...

  5. TotalTracker Quark

    ... witcher = switcher; // ok for midi note where you can choose // but how to do a float that wanders over them ? // how can I send nil to stop all ? patter = MxInlet("pattern", 0, ControlSpec(0, player.app.numPatterns, step:1), MxSetter({ arg ...

  6. SCSoundFileView Help

    ... zoom (factor) Zoom by factor relative to current zoom. factor - An instance of Float . zoomToFrac (frac) Zoom to a specific scale, frac . frac - An instance of Float . zoomAllOut Fill the window with the current selection. zoomSelection (i ...

  7. Matrix Quark

    ... rix } // Joseph Anderson, 2019. *newDiagonal { |diagonal| var matrix; /* assume Float or Integer More comprehensive testing and casting could be done here, including test for Complex. Doing so would imply reviewing whether currently impleme ...

  8. Patch-inputs Doc

    ... ies the actual values to be used p = Patch(\bubbles, [ 0.01 // speed is a fixed float of 0.01 // but amp is not specified, so the default 0.4 from the Instr function is used ]); // but notice that it is a KrNumberEditor that was created, an ...

  9. Graphical Tracker Functions by simon (Dindoléon) Code

    ... n toggled, depending on the note's probabilty to played. Untoggled is black. - Float value referencing the minimal probabilty for the note to be played - Float value referencing the maximal probabilty for the note to be played - Integer ...

  10. DMX Quark

    ... et, maxch; ^super.new.init( offset, maxch ); } init{ arg offset, maxch; mode = \float; channeloffset = offset ? channeloffset; maxchannels = maxch ? maxchannels; data = Array.fill( this.size, 0 ); } size{ ^(maxchannels-channeloffset); } // ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow