Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. BoidsND Quark

    ... ors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector.zero(dim); // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSum + thisBoid.pos; // sum the position ...

  2. MultiThreading Quark

    ... nth(\testSine, [ \scale, 0, //don't output to speakers \fm, f.busArg, \outFm, d.index, \low, rrand(-10.0, -100.0), \hi, rrand(10.0, 100.0), \freq, rrand(1.0, 100.0) ], b, \addToHead); y = Synth(\testSine, [ \scale, 1.0 / ~num, \fm, d.busArg ...

  3. Δ by delta (Δ) Code

    ... ) flatten: ( 3 ) } ) .addUniqueMethod ( \index, // n.index ( # , # , # ) { |...x| n.matrix detectIndex: ( _.key |==| x[1..3] ) } ) .addUniqueMethod ( ...

  4. SCMenuSeparator Help

    ... enus. See also: CocoaMenuItem , SCMenuItem , SCMenuGroup Creation *new (parent, index) Create a new menu separator. parent - The menu or submenu in which to add this separator. This should be an instance of SCMenuGroup . index - The index a ...

  5. HistoryRepGui Quark

    ... ) .items_([]) .resize_(5) .background_(Color.grey(0.62)) .action_({ |lview| var index = lview.value; if (lview.items.isEmpty) { "no entries yet.".postln; } { lastLineSelected = listV.items[index]; if (filtering.not) { this.postInlined(index ...

  6. graphGenerator Quark

    ... = GraphParser.new(graph) ; var label, next, str ; (labelArray.size-1).do({ arg index ; label = labelArray[index] ; next = labelArray[index+1] ; str = "e+"+label+rrand(minVal, maxVal).asString+next ; parser.parse(str) ; }) ; parser.parse("e ...

  7. Strang Quark

    ... r.addAll(string.asStrang) } find { |string, ignoreCase = false, offset = 0| var index = offset, last; var i0 = 0; string = string.asStrang; last = string.size - 1; if(ignoreCase) { Error("ignoreCase not yet implemented").throw }; while { in ...

  8. PL Quark

    ... ht be embedded at next occasion. PL_PproxyNth : PL_Pattern { var <>listProxy, <>index, <>type, <>doWrap, <>cutItems; *new { |listProxy, index, type = 1, doWrap = true, cutItems = true, envir = \current| // type: repeats factor for objects o ...

  9. Out Help

    ... audio bus. *kr(bus, channelsArray) - write a signal to a control bus. bus - the index, or array of indexes, of busses to write to. The lowest index numbers are written to the audio hardware. channelsArray - an Array of channels or single ou ...

  10. Boids3D Quark

    ... ors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector3D.zero; // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSum + thisBoid.pos; // sum the position vel ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow