Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (29) Doc (68) Quark (114) SCDoc ↗ Forum ↗ Google ↗
  1. compose_complex_view Doc

    ... Float; slider.value_(value); displayValue.value(value); }); sliderView.layout_( HLayout() .add( VLayout() .add(text) .add(slider), ) .add(field) ); sliderView.front; ) ⧉ ✔ Centralizing Views actions with a single Function This example is th ...

  2. MiniIDE Doc

    ... second monitor. */ ( Window("MiniIDE", bounds:Rect(0, 0, 1570, 827)) .layout_( HLayout( MiniIDE([MiniIDEScope]).window.view, MiniIDE([MiniIDEEnvironment, MiniIDEGlobals, MiniIDEJIT]).window.view, MiniIDE([MiniIDENodeTree, MiniIDEHistory, M ...

  3. GMTextView Doc

    ... tRatio_(0.4) .string_("Hello World !"); // Nest it inside a Layout win.layout_( HLayout( label, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ You can use .displayFrame_(true) to render the GMS ...

  4. GMKeyboard Doc

    ... .action_({ |index| Synth(\GMKeyboard, [\freq, freqs[index]]); }); win.layout_( HLayout() .margins_(0) .add(keyboard) ); win.front; CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ Sustain mode example : Synths are stored inside an array so they ...

  5. MethodController Doc

    ... iew().minSize_( 40@40);// An area to show the color var v = View().layout_( l = HLayout( r, g, b, a)); v.front; ( red: r, green: g, blue: b, area: a, v: v ) }; ~makeAlternativeView = { var r = NumberBox(); var g = NumberBox(); var b = Numbe ...

  6. GMConsole Doc

    ... e"); ~console.postMsg("Hello World !"); // Nest it inside a Layout win.layout_( HLayout( ~console, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ~console.postMsg("Update !"); ⧉ ✔ helpfile source: ...

  7. ToolBar Doc

    ... e changed using the toolButtonStyle property. ( View().fixedWidth_(300).layout_(HLayout( ToolBar( MenuAction("Option A", { "Option A".postln }), MenuAction("Option B", { "Option B".postln }), MenuAction("Option C", { "Option C".postln }) ) ...

  8. PwarpDur Doc

    ... ("Let's do the time warp", Rect(800, 200, 600, 450)).front; w.layout = VLayout( HLayout( goButton = Button().fixedWidth_(60), VLayout( HLayout( StaticText().fixedWidth_(80).align_(\center).string_("curve"), curveNum = NumberBox().fixedWidth ...

  9. GMFaderMultiSlider Doc

    ... 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(). ...

  10. GMCheckButton Doc

    ... action_({ |pressed| pressed.postln; }); // 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/GraphicalModule/ ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow