Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (496) Code (67) Doc (105) Help (40) Quark (281) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. HierSch Quark

    ... priorities.sort; if (myPlayEach.not, { if (myHierFlip, {priorities = priorities.reverse}); // Here the main hiers are selected priorities = priorities.keep(numHs2play); }); // UPDATED // unless muted, add hier 0 back into arr if (muteH0.not ...

  2. SPList Quark

    ... , { // More than three elements. // Find k>i and l<j such that dk,dij,dl are in reverse order. // Swap k and l. Repeat this programedure until k and l pass each other. k = i; l = j; while ({ while ({ l = l - 1; k <= l and: { function.value( ...

  3. Controller.help Quark

    ... ecrements. Note that modifying // the state modifies the value, and also the // reverse. The display method prints the // <Ctl> status. ( c[0].setup("Frequency", ControlSpec.new(220, 440, ExponentialWarp), 330, 4); c[0].display; c[0].addRec ...

  4. EventLoop Quark

    ... setLoop { task.set(\lpStart, 0, \range, 1, \step, 1, \tempo, 1, \jitter, 0) } isReversed { ^this.step == -1 } reverse { this.step_(-1) } forward { this.step_(1) } flip { this.step_(this.step.neg) } // handling the lists addList { if (list.n ...

  5. 01_GuidedTour Quark

    ... abcde".dump; "abcde".at(3); "abcde"[3]; // same as at "abcde".scramble; "abcde".reverse; // symbols are like fixed strings ... // two ways to write symbols 'abcde' == \abcde; // they are used in many places for looking things up by name ~di ...

  6. PG_05_Math_on_Patterns Help

    ... them as an array. n can be a number or a numeric pattern. flatten(levels): The reverse operation: if a pattern returns an array, its values will be output one by one. // A flat stream becomes an array of 4-item arrays Pwhite (0, 255, 20).c ...

  7. TestHoaMatrixRotation Quark

    ... be equivalent to HoaMatrixRotation with axes: 'xyz', with rotations applied in reverse order to make the rotation conform to intrinsic convention.", floatWithin, report ); } // compare a planewaves encoded rotated via the rotation matrix w ...

  8. waveshaping animation by elifieldsteel (eli.fieldsteel) Code

    ... //uncomment for other input options, or DIY //input = Signal.sineFill(384, reverse(sort({exprand(0.1,1)}!5)), [pi,pi,pi,0,pi/3]); //input = Env({rrand(-0.99,0.99)}!15,({exprand(0.1,1)}!14),({rrand(-10.0,10.0)}!14)).discretize(384); ...

  9. AbstractPatchableNode Quark

    ... syn.collect { |syn| syn.node.nodeID }; if (strum < 0) { oscBundles = oscBundles.reverse; ids = ids.reverse; }; strumOffset = Array.series(~syn.size, offset, strum.abs); { oscBundles.do { |oscb, i| var start = thisThread.seconds; oscb.doPrep ...

  10. SoundFileHolder Quark

    ... var path, startFrame, endFrame, numChannels, obj; id = id.asString.split( $_ ).reverse; path = id[3..].reverse.join( $_ ); #numChannels, endFrame, startFrame = id[..2].collect(_.interpret); obj = this.new( path, startFrame, endFrame ); if( ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow