Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Operators Doc

    ... they result in BinaryOpUGen s or UnaryOpUGen s, through the methods of AbstractFunction . This is a list of some of the common unary and binary operators that are implemented by several classes. See the specific classes for details and oth ...

  2. PLIdev Doc

    ... k = 1; ) // other fixed cycle ~src = 2; p.stop ⧉ ✔ Ex. 8: Proof of concept ( // Function to check an array for repetitions within a maximum test span ~repetitionCheck = { |array, maxTestSpan| maxTestSpan.do { |i| var result = (array.drop(i+ ...

  3. SoundBlock Quark

    ... ockUpdate; }); lastTick = timeStamp; } // implement these methods to add custom functionality performFaceChange { //"%: face changed to %".format(this.color, upFace).inform; } performInvisible { // "%: invisible".format(this.color).inform; ...

  4. ChordtrisEngine Quark

    ... esetMenu; } initPreview { previewMatrix = ChordtrisMatrix(5, 5, squareSize); // function which is called if the next brick view is refresehed chordtris.nextBrickView.drawFunc = { var chordNameX, chordNameY; Pen.color_(Color.white); Pen.stri ...

  5. parsenodes Quark

    ... ct.keysValuesDo { |key, value| this.perform(key.asSetter, value) } } // utility function unquoteString { |str, pos = 0, delimiter = $", ignoreInParens(false)| var i = str.indexOf(delimiter), j, escaped = false, parenCount = 0; ^if(i.isNil) ...

  6. PG_05_Math_on_Patterns Doc

    ... things you can do to arrays also work with patterns. collect(func) Applies the function to each return value from the pattern. Good for generic transformations. select(func) Preserve values from the output stream that pass the Boolean test ...

  7. Psieve Quark

    ... t(minIndices, true) }; minIndicesDict.put(indicesQueue.pop, true) }; // yielder function chooses output type yielder = { doSum.if { inval = min.yield; last = min; count = count + 1; }{ last.notNil.if { inval = (min - last).yield; count = co ...

  8. PG_06f_Server_Control Doc

    ... ols to use the server in SuperCollider. To create the resources, Pproto takes a function in which one or more Event objects contain the instructions to create them. These events should use specific event types, described in Pproto's help fi ...

  9. Streams-Patterns-Events6 Help

    ... are sent the 'value' message when the Ptpar pattern is started, so you may use functions to specify the times. ( var makePattern, durpat; durpat = Pseq ([ Pgeom (0.05, 1.1, 24), Pgeom (0.5, 0.909, 24) ], 2); makePattern = { arg note, db, p ...

  10. Rational Doc

    ... e = [1, 1.5, 3 %/ 5, 8 %/ 5, 1.342]; e.sort; ⧉ ✔ Continued fractions Recursive function to calculate finite continued fractions: f = { | x | if (x == 0) { 1 %/ 1 } { 1 + Rational(1, f.(x-1)) } }; a = 20 collect: f.(_); a.plot; ⧉ ✔ Stern-Br ...

prev 271 272 273 274 275 276 277 278 279 280 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow