Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ion_({ Synth(\GMhelp, [\env, env]); }); // Nest it inside a Layout win.layout_( HLayout() .margins_(0) .spacing_(0) .add(button) .add(envView) ); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ A more compl ...

  2. PitchShiftPA Doc

    ... iElements[\arrayButtons].add(thisButton); guiElements[\playersView].layout.add( HLayout( thisButton.maxWidth_(300), nil, thisKnob.labelView, thisKnob.knobView, thisKnob.numberView.maxWidth_(40) ), ); }); }); }; //GUI window = Window.new("Pi ...

  3. EventSource Doc

    ... Button().states_([["+"]]); b = Button().states_([["-"]]); w = Window().layout_(HLayout(a,b)).front; ) //sum and subtract ( ENdef(\x).clear; ENdef(\x, { var aES = a.enIn.collect{{|x| x+1 }}; var bES = b.enIn.collect{{|x| x-1 }}; (aES |+| bE ...

  4. SynthOut Doc

    ... ronment. ( s.waitForBoot{ var l,r,l2,r2; Window("visualization").front.layout_( HLayout( VLayout(StaticText().string_("left amp"), l=LevelIndicator()), VLayout(StaticText().string_("right db"), r=LevelIndicator()), VLayout(StaticText().stri ...

  5. CustomViewAction Doc

    ... dding of interactive components to a Menu or ToolBar . ( ~view = View().layout_(HLayout( ToolBar( MenuAction("Min", { ~slider.value = 0 }), MenuAction("Max", { ~slider.value = 1 }), CustomViewAction( ~slider = Slider().orientation_(\horizon ...

  6. GMSwitchButton Doc

    ... Assign a state switchButton.state_(3); // Nest it inside a Layout win.layout_( HLayout( switchButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ Assigning states without specifying colors ...

  7. GMCloseButton Doc

    ... on closeButton.action_({ win.close; }); // Nest it inside a Layout win.layout_( HLayout( closeButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMo ...

  8. ExtraWindows Doc

    ... ot, right, transferPlot; var boxes = [], sliders = Dictionary.new; var layout = HLayout([ left = VLayout(StaticText().string_("List of Windows").maxHeight_(50).align_(\topLeft)), stretch: 1 ], [ VLayout( mid = CompositeView(), StaticText(). ...

  9. Connection Doc

    ... onnections directly. ( ~slider = Slider(); ~view = View(bounds:600@200).layout_(HLayout(~slider)).front; ~connection = ~slider.connectTo({ |slider| "Slider changed: %".format(slider.value).postln; }); ~slider.action = { |v| v.changed(\value ...

  10. GMColorPicker Doc

    ... avorite color !".postln; "".postln; }); // Nest it inside a Layout win.layout_( HLayout( colorPicker, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMo ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow