-
... 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 ...
-
... .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 ...
-
... ([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 ...
-
... 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) //* ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... .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 ...
-
... ); 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 ...
-
... ; 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 ...