Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Box(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), nb2 ) ); //Setup Event Network //network ENdef(\x, { var sumSig, sum; //in var nb1ES = ...

  2. LayoutValueSlider Quark

    ... spec.constrain(initValue); view = CompositeView(parent, bounds); view.layout = HLayout( number = NumberBox().maxWidth_(numberWidth), slider = Slider().orientation_(\horizontal) ).margins_(0).spacing_(2); number.value_(value) .action_({ |vi ...

  3. time-bandit Quark

    ... th.postcs }, $ , { Tdef(\u).play }, { ~start.post; ",".postln } ) }; w.layout = HLayout(sl, b); )

  4. RedTapTempoGUI Quark

    ... ).action_{|view| task.stop; task= this.prRoutine.play(clock); }.maxHeight_(lh), HLayout( bpmView= RedNumberBox().value_(clock.tempo*60).action_{|view| var bps= (view.value/60).round(0.0001); clock.tempo= bps; bpsView.value= bps; //(this.cla ...

  5. SCMMultiStepView Quark

    ... = VLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; stepsLayout = HLayout(); stepsLayout.margins = 0!4; stepsLayout.spacing = 2; mainLayout.add(stepsLayout); footerView = View(); footerLayout = HLayout(); footerLayout.margins ...

  6. SCMBufferSelectorView Quark

    ... lueAction = 0; }); } { |error| postln(error); } } initializeView { mainLayout = HLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; popupMenuBuffers = PopUpMenu(); popupMenuBuffers.action = { |sender| selectedBufferpoolItem = buf ...

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

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

  9. 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:)"). ...

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

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow