-
... var index = multi.index; var value = multi.currentvalue; spectrum[index].set(\amp, value-0.01*2); }; win.front; )
-
... ction = { |slider, x| value = (x).linlin(0,slider.bounds.width,0,1); synth.set(\freq, value.linexp( 0, 1, 110, 220)); label.string = "Frequency: " + value.linexp(0,1,110,220).trunc(0.01); slider.refresh }; slider.mouseMoveAction ...
-
... epeatability: Pwrand([true,false], [0.1,0.9], inf), delta: Pfunc({ |ev| // set part duration and pattern ev.dur = (8,12..16).choose; ev.param = ev.dict.param.next(()); ev.pattern = ev.retrieve; ev.dur; }) ...
-
... stop. // TIP 1: Notice that if you write maestro.seq(someInfPattern) you are setting yourself up for failture. If you request maestro to play an *infinite* pattern and only move on when it's finished, maestro will never move on. // TI ...
-
... http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Resettable-Impulse-train-td6719797.html // this is the new version! ( s = Server.default; s.boot; ) ( SynthDef(\bglass, { |t_trig = 1.0, audioOutBus = ...
-
... son = son * amp; son = son * env0; son = Pan2.ar(son, pan, amp); OffsetOut.ar(out, son); }, metadata:(specs:( timeScale: ControlSpec(0.001,4,\lin, 0, 1), ))).store; SynthDef(\bass, { arg out=0, amp=0.1, gate=1, pan=0, fre ...
-
... 2, 20)) .align_(\center) .font_(Font("Arial", 9)) .string_(#["CYCLE", "SET", "<", ">"].at(i)) ); }; [58, 59].do { |ccnum, i| ccs.put(ccnum, Button(win, Rect(40 + (50 * i), 104, 26, 13))); lbls.put(ccnum, StaticText.new ...
-
... }) ) ); u.view.drawFunc= { Pen.fillColor= Color.grey(1, 0.1); //alpha set trail amount Pen.fillRect(Rect(0, 0, width, height)); }<>u.view.drawFunc; u.animate(40, {|t| u.transforms = [ Canvas3D.mRotateY(t/22), Can ...
-
... its in "basimal" representations of ratios //I wanted some interesting periodic sets of integers for just intonation music. //Rational fractions often yield periodic decimals in base 10 if they can't be formed using multiples of 2s and 5s. ...
-
... which can be clicked to generate new agents which behave according to a simple set of rules, that can lead to interesting emergent patterns: 1. Initially move downward; 2. If a boundary is encountered or if two agents collide, reverse ...