-
... s, [\amp, amp * harmoAmps[index], \freq, freq * (index + 1)]); }); win.layout_( HLayout() .margins_(0) .add( VLayout() .margins_(0) .add(GMTextView().string_("amp"), 1) .add(ampSlider, 9), 2 ) .add( VLayout() .margins_(0) .add(GMTextView(). ...
-
... { NumberBox().fixedWidth_(60) }); window.layout = VLayout( *Array.fill(2, { |i| HLayout( StaticText().fixedWidth_(120) .string_(#["Raw distortion", "Volume adjusted"][i]), numbers[i], sliders[i] ) }) ); resp = OSCFunc({ |msg| defer { msg[3. ...
-
... on_( { Synth(\GMhelp, [\freq, 450]) }); // Nest it inside a Layout win.layout_( HLayout( button, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMod ...
-
... ew var recordButton = GMRecordButton(); // Nest it inside a Layout win.layout_( HLayout( recordButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close }); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/Graphic ...
-
... ; } { "I've been paused.".postln; } }); // Nest it inside a Layout win.layout_( HLayout( playButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMod ...
-
... var i = 0; var makeEntry = { var view = View().background_(Color.rand).layout_( HLayout( TextField().string_(("This is entry number " + i.asString)), Button().states_([["Delete"]]).action_({ view.remove; i = i - 1 }) ) ); i = i + 1; view; } ...
-
... ton = GMRecordButton() .style_(style); var playContainer = UserView() .layout_( HLayout() .margins_(0) .spacing_(0) .add(playButton) .add(recButton) ); //////////////// // BEAT // //////////////// var pianoRoll = GMListPianoRoll() .style_(s ...
-
... Action , View: -removeMenuAction for more information. ( ~view = View().layout_(HLayout( ~button = Button().states_([["Button"]]), ~number = NumberBox().minWidth_(100).value_(100) )).front; ~button.setContextMenuActions( MenuAction("Red", { ...
-
... ion_({ Synth(\GMhelp, [\freq, 600]) }); // Nest it inside a Layout win.layout_( HLayout( roundButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/Graphic ...
-
... ion_({ Synth(\GMhelp, [\freq, 600]) }); // Nest it inside a Layout win.layout_( HLayout( feedbackButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/Grap ...