Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... nRecord; var backgroundImage; var win= Window("sFormant", winRect); win.layout= HLayout( VLayout( //--amplitude control section StaticText().string_("Amplitude control"), VLayout( HLayout( StaticText().string_("AmpHi").fixedWidth_(50), [amp ...

  2. LayoutTestsAgain Quark

    w = Window().front; w.layout = VLayout( HLayout( MultiSliderView().elasticMode_(1) .minSize_(Size(120, 200)).maxSize_(Size(180, 300)).indexIsHorizontal_(false).value_({ 1.0.rand } ! 17), UserView().minSize_(Size(200, 200)).maxSize_(Size(300 ...

  3. startMenu Quark

    ... ow("sInstruments menu", winRect); win.userCanClose= false; win.layout= VLayout( HLayout( StaticText().string_("sInstruments: "++SInstruments.version), nil, (preferencesButton= SGUIsettings()).view ) ); win.layout.add(StaticText().string_("C ...

  4. growing layout by julianrohrhuber (julian.rohrhuber) Code

    ... Window(); a.layout = v = VLayout(); a.front; fork({ 10.do { v.add(h = HLayout()); 20.rand.do { h.add(Slider()); 0.1.wait; }; 1.wait; }; }, AppClock) ) ( a = Window(); a.layout = v = VLayout(); a.front; fork ...

  5. create_simple_instrument_view Doc

    ... tutorial about? Setup Connecting the button Adding several buttons at once How HLayout and VLayout works Back to connecting the slider Adapting the Slider to the correct value (mapping) Adding text, and specifying views ratios Conclusion T ...

  6. sText Quark

    ... op, frequenciesSendBut; var win= Window("sText", winRect); win.layout= VLayout( HLayout( StaticText().string_("Presets:"), [presetsPop= PopUpMenu(), stretch:1] ), HLayout( StaticText().string_("Amplitudes:"), amplitudesTypePop= PopUpMenu(). ...

  7. RedMixGUI Quark

    ... trolSpec(-1, 1, 'lin', 0, -1); var controllers= List.new; view.layout= VLayout( HLayout( inA= RedNumberBox().maxWidth_(bw).maxHeight_(lh), RedStaticText(nil, nil, "inA ("++redMix.def.metadata.info.inA++")").maxHeight_(lh) ), HLayout( inB= R ...

  8. LineLayout Doc

    ... class of layouts that distribute views in a line Source: QLayout.sc Subclasses: HLayout , QLineLayout , VLayout See also: HLayout , VLayout , GridLayout , StackLayout , Layout Management Description This is an abstract superclass of HLayout ...

  9. RedMixerChannelGUI Quark

    ... layout= VLayout(*[ //--effect inserts numInserts.collect{|i| var popup, button; HLayout( popup= RedPopUpMenu() .items_(["_inserts_"]++RedEffectModule.subclasses.collect{|x| x.name}), button= RedButton(nil, nil, "o", "o").maxWidth_(bw) .acti ...

  10. mouse_and_drawing Quark

    ... "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)).front; ENdef(\x,{ var pos = w.view.enMouseIsDown; pos.collect{ |b| IO{ t.string_("mouse is down: "++b) } }.enOut; }).start; ) //track mouse position ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow