Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3508) Code (266) Doc (1134) Help (293) Quark (1779) Plugin (36) SCDoc ↗ Forum ↗ Google ↗
  1. HOATransRotateXYZ Quark

    ... h, roll, yaw| case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4; #in1, // distribute the channels from the array in2, in3, in4 = in; ^HOARotator1.ar(in1, // return the Ugen with the b-format channels in2, ...

  2. TestNoOps Quark

    /* TestNoOps.run UnitTest.gui */ TestNoOps : UnitTest { test_array { var ops, check, n = 300; var a, b, r1, r2; check = { |func, inval| func.value(func.value(inval)) == inval }; a = Array.rand(300, 0, 100); b = a.clump(10); r1 = b.size.rand ...

  3. HOABeamDirac2Hoa Quark

    ... hose reversed case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4; #in1, // distribute the channels from the array in2, in3, in4 = in; ^HOABeamDirac2HOA1.ar(in1, // return the Ugen with the b-format channel ...

  4. SVGGroup Quark

    ... ects can be grouped. It is similar to SVGFile, but works only inside an objects array. creation SVGGroup ( objects, name, transform ) creates a new object with the instance variables as described below and in the SVGObject helpfile instance ...

  5. VarDiff Quark

    ... alue { | tokens | var curSynthList, deletions, newSynthList; tokens = tokens.as(Array); #deletions, newSynthList = diffFunc.value(prevTokens, tokens); // deletions: array of indices // newSynthList: array of [ sourceindex|\newSynth, token ] ...

  6. KDTree_benchmarking Quark

    ... = { |n| n.sum3rand }; ~halffillsize = (~num * 2).pow(1/~dims).floor.asInteger; ~array = { {~rand.value(~halffillsize)}.dup(~dims) }.dup(~num); "KDTree construction:" .postln; bench{~tree = KDTree (~array)}; "" ); ////////// Exact-match sear ...

  7. KDTree_benchmarking Quark

    ... = { |n| n.sum3rand }; ~halffillsize = (~num * 2).pow(1/~dims).floor.asInteger; ~array = { {~rand.value(~halffillsize)}.dup(~dims) }.dup(~num); "KDTree construction:" .postln; bench{~tree = KDTree (~array)}; "" ); ////////// Exact-match sear ...

  8. Specs Quark

    ... sInteger ] ?? { list[ defaultIndex ] }; } storeArgs { ^[list, defaultIndex] } } ArrayControlSpec : ControlSpec { // spec for an array of values var <>size; var <>originalSpec; asRangeSpec { ^RangeSpec.newFrom( this ).default_( this.default. ...

  9. PbindArrayDefault Quark

    PbindArrayDefault : Pbind PbindArrayDefault differs from Pbind in its handling of array items in the key/value pairs. Consider a Pbind as follows (a bit contrived, but it could happen). Note that the event prototype e contains default value ...

  10. PbindArrayDefault Quark

    PbindArrayDefault : Pbind PbindArrayDefault differs from Pbind in its handling of array items in the key/value pairs. Consider a Pbind as follows (a bit contrived, but it could happen). Note that the event prototype e contains default value ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow