-
... meter; win = Window.new("Subtractive Synthesis - Patterns of Filtered Noise", Rect(450, 160, 480, 540)).front; win.background = Color.new255(102, 102, 102, 150); win.alpha = 0.95; // Change the gaps and margins to see how they w ...
-
... he oscillator", Point(0,0)); Pen.fillColor = Color(1, 1, 1, 0.1); Pen.fillRect(u.bounds); #[a,b,c,d,e].do{ |k, i| Pen.strokeColor = Color(i/4, sin(i*pi)*0.5+0.5, k.ascii[0]-97/5); Pen.strokeOval(Rect(getVal.(k).linlin(-1,1, ...
-
... 100 lines. Turned up working with just 35 :) var window = Window("OSC to MIDI", Rect(200, 200, 690, 540), false).front; var layout = window.addFlowLayout((0@0),(0@0)); var font = Font("Monaco", 12), size1 = (200@20), size2 = (70@20), size ...
-
... makeRecursion; r.fSpawn(350,350); win = Window( "grow! (click to restart)", Rect(10, 10, 700, 700) ); win.onClose = { run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownAction_({ |v ...
-
... Window.closeAll; win = Window.new("Additive Synthesis - Harmonic Series", Rect(500, 100, 400, 590)).front; win.background = Color.grey; win.alpha = 0.95; win.onClose = {s.freeAll; "Done!".postln}; CmdPeriod.doOnce({win.close ...
-
... Integer) { x[i].set(\g, gate) } }; w = Window("Computer MIDI Keyboard", Rect(0, 0, 500, 220)); w.front .onClose_{ { |i| x[i].free }!n }; kView = w.view; bView = w.view; b = { |parent, label, width| var lableIn ...
-
... ===========================*/ ( Window.closeAll; w=Window("rate changer",Rect(900,200,300,150)) .front .alwaysOnTop_(true); w.view.decorator_(FlowLayout(w.bounds, 20@10,50@10)); ~tex_1 = StaticText(w.view, 80@20) .string_("B ...
-
... Window( "Simple Harmonic Motion Animation — (spacebar to pause/unpause)", Rect(100, 100, 1020, 520) ).background_(Color.gray(0.2)).front; win.view.decorator_(FlowLayout(win.view.bounds, 10@10, 10@10)); cview = UserView(win.view, ...
-
... q.makeRecursion; r.fSpawn(350,350); win = Window("grow! (click to restart)", Rect(10, 10, 700, 700)); win.onClose = { r.fReset; run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownActi ...
-
... you can use E flat as some kind of Blue note or something.*/ u.plot(bounds: Rect(10, 100, 400, 400));//show as graph for(0, 12, {arg i; //show as list if( (u[i] > 0), {(i.asString+" ").post; u[i].postln}) } ); ) numberbeep ...