Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Voicer Doc

    ... r. v = Voicer.new(8, "harpsi"); // uses Server.local f = Array.fill(5, { 1000.0.rand + 50 }); v.trigger(f); // play 5 notes v.release(f); // release the same ⧉ ✔ . gate1 . gate Triggers notes and schedules their releases. If freq is a colle ...

  2. Collection-extensions Quark

    ... .if { ^this[index] } { ^nil } } oneOfTop { arg num; ^this.at(num.min(this.size).rand) } mapMode { arg mode; ^this.collect({ |item| item.mapMode(mode) }); } unmapMode { arg mode; ^this.collect({ |item| item.unmapMode(mode) }); } // change an ...

  3. AbstractGridLines Doc

    ... ([0, 10000].asSpec); "in val / rounded / not rounded".postln; 10.collect{ 10000.rand }.sort.do({ |x| postf("% / % / %\n", x, g.niceNum(x, true), g.niceNum(x, false)) }) ) ⧉ ✔ The implementation is based on: A. S. Glassner, Ed., Graphics Gem ...

  4. klankperc Quark

    ... creator],{ arg trig=0.0; //// //// Klank.ar( //// `[ // FloatArray.fill(3, { exprand(50.0,800.0) }).postln, // nil, // FloatArray.fill(3, { 1.0.rand }).postln // ], //// ImpulseSequencer.ar([1.0],K2A.ar(trig)) //// ).squared.fold2(0.1) //* ...

  5. Multichannel-Expansion Doc

    ... req ) * EnvGate(0.1) ) }).add; ) ⧉ ✔ ( var freq, mod, modrange; freq = Array.exprand(8, 400, 5000); mod = Array.exprand(8, 0.1, 2); modrange = Array.rand(8, 0.1, 40); fork { [\freq, freq, \mod, mod, \modrange, modrange].flop.do { |args| arg ...

  6. Generating Graphics and Music From The Dragon Curve by 56228375 (56228375) Code

    ... composition instructions. Interpreting those same instructions twice with some randomness yields a kind of 2-voiced minimal music.This code depends on the Panola quark and the LSystem quark. Install them with Quarks.install("https://github ...

  7. GLOBOL Quark

    ... 8; this.initRealtimeSystem; this.buildDict; // this.connect; id = inf.asInteger.rand; } *end { | time = 8 | thisProcess.interpreter.preProcessor = prevPreProcessor; space.clear(time).pop; isRunning = false; this.disconnect; } *buildDict { v ...

  8. slotGuis Quark

    ... .45, height / 4)) .items_(ndefpre.getSetNames) .value_(ndefpre.getSetNames.size.rand).font_(font); var coupleBut = Button(NTMI.g.main.leftMVZone, Rect(left + (width * 0.9), top, width * 0.1, height / 4)) .states_([["––"], ["- -"]]) .font_(f ...

  9. TdefGui Doc

    ... ); TdefGui(Tdef(\a), 12, w) ) Tdef(\b, { |e| 100.do { |i| Tdef(\a).set(\otto, 8.rand); exprand(0.1, 3.0).wait } }); Tdef(\b).play; TdefGui(Tdef(\b)); // see all Tdefs: TdefAllGui(16); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Help ...

  10. PathName Help

    ... ; table2 = Signal.newClear.asWavetable; table3 = Wavetable.sineFill(1024, Array.rand(64, 0.0, 1.0)); PutFileDialog.new( "Pick a folder for tables1-3/", "table1", { arg ok, path; var myPathName, myPathOnly; if (ok, { myPathName = PathName.ne ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow