Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ver group. Form is \groupName, [key1, key2...] ~gm.add(\twoServers, ~reg.keys.asArray.scramble.keep(2)); // make a group ~reg.keys; // all the keys in the ServerRegistry x = Synth(\default, target:~reg.values.choose.postln) // pick a random ...

  2. BoxGrid Quark

    ... an the other. The grid is basically a graphical representation of 2 dimensional array of columns and rows. For example, here we have 2 columns with 3 rows: [[0, 1, 0], [1, 1 0]] (1 and 0 indicating the state of the node in that location) Th ...

  3. BinAmbi Quark

    ... value; }); }).bufnum }); } /* Class method: *ar Audio rate method Parameter in: Array[] of Ambisonics channels (number depends on order) bufs: Array[] of bufnums containing the HRTFs level: Level/gain Return out: Array[2] binaural signal */ ...

  4. TestMcldUGens Quark

    ... nthfunc, whichfunc| testsIncomplete = testsIncomplete + 1; synthfunc.loadToFloatArray(1, action: { |array| // no-op, the two channels should be equal array = array.clump(2).flop; this.assert( (array[0] - array[1]).abs.every(_<0.0001) ,"%.%( ...

  5. SimpleMIDIFile Quark

    ... es. // all MIDI and Meta events are converted internally to more understandable arrays of data. // Status bytes are replaced by Symbols with their names. Unknown statusbytes stay // as they were (if there are any; which I find hard to belie ...

  6. PLrand Quark

    ... e.use { x = p.play(quant: 0.2) }; f.use { y = p.play(quant: 0.2) }; // replace array elements ... f.a[0] = 97; e.a[0] = 96; // ... or arrays f.a = (72, 72.5..77); e.a = [60]; e.a = [ Pseq ([60, 47.5]) + [0, 5], [61, 65.5]]; x.stop; y.stop; ...

  7. ServerClock Quark

    ... o_(msg[3]); //schedule this.tick; }); }).add; } getMaterial { providers.do({arg array; var list, provider; provider=array[0]; //need next beat, allowing for latency, returns a SortedList list=provider.provideMaterial(lastBeat,1.0, lastTempo ...

  8. Clothesline Quark

    ... ronment(parent: capturedCurrentEnvironment, know: true) } addMissingEndTimes { |arrays| var last = arrays.lastIndex; arrays.size.do { |i| var endTime = arrays[i][2]; if(endTime.isNil) { endTime = if(i == last) { arrays[i][1] + 1.0 } { array ...

  9. SVGTSpan Quark

    ... in the SVGObject helpfile string : a String with the text to be included, or an array of strings and other SVGTSpan objects SVGText ( [ "my " , SVGTSpan ( "jumping" , dy: -20 ), "text" ], 100,40, fontSize: 12 ).plot; // array for y

  10. p_envir_get Quark

    ... dex' parameter indicating which item to return in case the envir variable is an array. index: index in an array (0-1024). If the array is smaller than the index the value will be wrapped around. key: the name of the variable (default: 'a') ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow