Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (29) Doc (68) Quark (114) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ...

  3. soundfile-browser Quark

    ... rrentBuffer.path) }; p.value = 0; p.action.value(p); update.value; w.layout.add(HLayout(p, iv, dv)); w.layout.add(v); )

  4. 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 ...

  5. soft paging Quark

    ... Button(); q.but2 = Button(); q.text = StaticText(); q.window = Window().layout_(HLayout(q.sl, q.but1, q.but2, q.text)); q.defaults = { rrand(0.0,1.0) } ! 10; q.numPages = q.defaults.size; ENdef(\x, { //get guis as event streams //for this c ...

  6. RedTempoClockGUI Quark

    ... s.redFrik.background; view.layout= VLayout( pop= RedPopUpMenu().maxHeight_(lh), HLayout( RedStaticText(nil, nil, "bps:").maxWidth_(30).maxHeight_(lh), num= RedNumberBox().maxWidth_(bw).maxHeight_(lh), bpm= RedStaticText(nil, nil, "(bpm:)"). ...

  7. Command-line SC utility for MIDI clock out by 0-cM (jamshark70) Code

    ... 50)).front; window.background_(Color.gray(0.2)); window.layout = VLayout( HLayout( nil, deviceMenu = PopUpMenu(), startB = Button(), // stopB = Button(), nil ), View().fixedHeight_(60) .layout_(HLayout( nil, ...

  8. ServerView Quark

    ... v, char| actions[char.asSymbol].value(this); }); if (border.not) { view.layout_(HLayout( WindowHandleView().maxWidth_(10).minWidth_(10), widgetLayout = VLayout() ).spacing_(0).margins_(2)); }{ view.layout_(HLayout( widgetLayout = VLayout() ...

  9. 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 ...

  10. 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow