-
... , 0], [sustain, 0.01]), doneAction: 2); var decay = freq ** -0.5 * 100; var string = CombL.ar(Decay2.ar(Impulse.ar(0), 0.0001, 0.001), 1/freq, 1/freq, decay); var damped = string; //LPF.ar(string, Line.kr(11000, 3000, decay)); Offse ...
-
... - 50 / 2; lable = { |parent, left, top, width, height, align, fontSize, string, colour, background| StaticText(parent, Rect(left, top, width, height)) .align_(align) .font_(Font("Arial", fontSize)) ...
-
... 6).collect({arg i; if (i == 0) { nil } { StaticText().string_(i).align_(\center);//.stringColor_(Color.black); } }); } { (0..6).collect({arg i; var color = Color.clear; if ((k-1) == ...
-
Visualization of scanned string synthesis. ~numsprings = 41; ( SynthDef(\scansynth41, { arg amp=0.1, gate=1, pan=0, freq=440, spring, damp; var in, ou; var springs; var sel; var env; in = LPF.ar(LocalIn.ar(1), XLine.ar( ...
-
... ; c = Plotter.new("Output", parent: z); StaticText(x, Rect(5, 0, 50, 20)) .string_("input"); StaticText(y, Rect(5, 0, 200, 20)) .string_("transfer function"); StaticText(z, Rect(5, 0, 50, 20)) .string_("output"); // // FEEDING ...
-
... ( SynthDef("guitar2", { arg freq, amp, pan = 0; var out, pluck, period, string; freq = freq * [0.99,1,2,0.98]; pluck = PinkNoise.ar(Decay.kr(Line.kr(1, 0, 0.05), 0.05)); period = freq.reciprocal; string = CombL.ar(pluck, period, ...
-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... ; } ); // labels - fund, bass amp, start partial, num notes labels0[0].string_("Speed"); labels0[1].string_("Attack"); labels0[2].string_("Release"); labels0[3].string_("Volume"); labels0[4].string_("Bass Volume"); labels1[0]. ...
-
... sig = DelayN.ar(sig,1/10-ControlDur.ir,1/delfreq-ControlDur.ir); // guitar string frequencies - for some reason I had to pitch them down // a few octaves to get a good sound. // open strings //// freqs = (64+[0,5,10,15,19,24]).mi ...
-
... StaticText(w, Rect(j*(d/21)+5, 10, 30,10 )) .font_(Font("Helvetica", 8)) .string_(i.asString) } ; Array.series(14, 200, 50).do{|i,j| StaticText(w, Rect(d, j*(e/14)+20, 30, 10 )) .font_(Font("Helvetica", 8)) .string_(i.asS ...
-
... t(w, Rect(835, 20, 100, 100)); y = StaticText(w, Rect(838, 140, 100, 100)); q.string = "km/h"; y.string = "rpm"; c = NumberBox(w, Rect(830, 90, 40, 20)); n = NumberBox(w, Rect(830, 210, 40, 20)); b = ControlSpec(0, 75, \linear, 0.1); ...