-
... ndow.new("Additive Synthesis", Rect(400, 30, 660, 670)); win.view.decorator = FlowLayout(win.view.bounds, 20@20, 10@10); win.front; win.onClose = {s.freeAll; "Done!".postln; "".postln}; CmdPeriod.doOnce({win.close}); // Multis ...
-
... (20, 220, 560, 325)) // .background_(Color.red(0.4)) ; subwin.decorator = FlowLayout(subwin.bounds, margin: 0@0, gap: 5@10); // FUNCTIONS // Convert transpSlider values (in semitones) // to rate values for TGrains (1 = no tr ...
-
Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code
... gister", Rect(400,400,200,320)).front.alwaysOnTop_(true); ~w2.view.decorator = FlowLayout.new(~w2.bounds); ~butt = 3.collect{~w2.view.decorator.nextLine;8.collect{Button(~w2,20@20)}}; ~bits = 0!8!3; ~binary_2digit = 8.collect{|i|[i,i.as ...
-
... Rect.fromPoints(posPoint, (posPoint + (400@300)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a just in time - gui for the Tdef z = TdefGui(tdef, parent: w); fdBox = EZ ...
-
... // Change the gaps and margins to see how they work win.view.decorator = FlowLayout(win.view.bounds, margin: 10@10, gap: 20@20 ); buttonArray = Array.fill(16, {Button(win.view, 100@100)}); buttonArray.do({arg item, count; ...
-
... (20, 225, 560, 360)) // .background_(Color.red(0.4)) ; subwin.decorator = FlowLayout(subwin.bounds, margin: 0@0, gap: 5@10); centerPosSlider = RangeSlider(subwin, 560@50) .lo_(0.1) .hi_(0.3) .action_({ |v| var lo, hi, siz ...