Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. J-concepts-in-SC Doc

    ... .slice(nil, 1, (1..2)); z.slice(1, [0,1]); z.flop; ⧉ ✔ Sorting order generate a random array: z = {100.rand}.dup(10); ⧉ ✔ order returns an array of indices representing what would be the sorted order of the array: o = z.order; y = z[o]; // ...

  2. MeterSync Doc

    ... id Optional. An integer, uniquely identifying this instance. If not provided, a random integer will be chosen. ports Optional. An array of port numbers to which sync messages will be sent. (sclang instances normally use port 57120, but if t ...

  3. PV_ChainUGen Doc

    ... ay [magnitude, phase] . // example function { |magnitude, phase, bin, index| // randomize magnitudes somewhat (noisier signal) [magnitude * (5.0.rand2.dbamp), phase] } ⧉ ✔ The bin is the integer bin number, starting at 0 for DC, while index ...

  4. Klank Doc

    ... e.ar([0.007, 0.007])) }.play; ⧉ ✔ Three resonators at maximum amplitude of 1.0, random frequency and ring times. Excited by two pulses at 2 and 2.5 Hz: ( play({ Klank.ar(`[ Array.rand(12, 800.0, 4000.0), // frequencies nil, // amplitudes (d ...

  5. rewriteString Doc

    ... uld be even possible to make the axiom dependent on the productions. // using a random stream of letters as axiom ( k = Prout { 50.do { "abcde".choose.yield } }; c = [ "a" ->"aa", "b" -> "bb", "c" -> "dd", "d" -> "dxx", "x" -> "y" ]; ) // 1 ...

  6. Event_patterns_and_Functions Doc

    ... e inner Pattern's repeat arg. // with each evaluation of Plazy's Function a new random sequence of length = 2 will be generated and repeated 3 times // maximum range of the whole sequence is controlled by the environmental variable ~a ( p = ...

  7. Wavesets Doc

    ... ), start, end) ) }.scope(zoom: 8); ) x.set(\start, 0, \end, 1024); // just some random length, may buzz x.set(\start, w.xings.at(100), \end, w.xings.at(101)); x.set(\start, w.xings.at(101), \end, w.xings.at(102)); x.set(\start, w.xings.at(1 ...

  8. Dwalk Doc

    ... Libraries > miSCellaneous'>miSCellaneous Dwalk Extension demand rate ugen for (random) walks Location: NOT INSTALLED! See also: miSCellaneous , Introduction to miSCellaneous , ZeroXBufRd , ZeroXBufWr Description Dwalk can be used for gener ...

  9. Neuromodule Doc

    ... * 20, \dur, 0.04, \legato, 0.1).play; a.weights = { { 1.0.rand2 } ! 2 } ! 2; // random nets quickly converge ... ⧉ ✔ Inherited class methods Instance Methods . theta Set or get the current bias values. This can be a number, or anything that ...

  10. Sync-Async Doc

    ... SynthDef not found" ( var name; name = "Rand-SynthDef" ++ 400.0.rand; // use a random name to ensure it's not already loaded SynthDef(name, { arg out=0; Out.ar(out, PinkNoise.ar(0.1)) }).send(s); Synth.new(name, s); ) ⧉ ✔ A crude solution ...

prev 31 32 33 34 35 36 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow