Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (29) Doc (68) Quark (114) SCDoc ↗ Forum ↗ Google ↗
  1. SCD/TXT File Merger GUI (select or drag a folder) by pyoungryangko (prko) Code

    ... }; mergeFiles.(selectedFolder, extension); }; window.layout = VLayout( HLayout(selectButton, dragArea), displayText, HLayout(extField, mergeButton) ); window.onClose = { "Window closed.".postln }; )

  2. counter Quark

    ... tton(); ~text = StaticText(); w = Window(bounds:Rect(200,200,200,200)).layout_( HLayout( ~but1, ~but2, ~text ) ).front; //network ENdef(\x, { //inputs var but1E = ~but1.enIn; var but2E = ~but2.enIn; var counter = but1E.collect{ { |x| x - 1 ...

  3. GUI-Layout-Management Doc

    ... ses to manage distribution of child views within parents See also: LineLayout , HLayout , VLayout , GridLayout , StackLayout The purpose of layouts is to distribute the amount of space given to the view on which they are installed among the ...

  4. emoji_picker_test Quark

    ... ker Test", Rect.new(100, 100, 250, 100), false, true); ~w.layout = VLayout.new( HLayout.new( ~showButton = Button.new, ~hideButton = Button.new ), nil ); ~picker = SCLOrkEmojiMenu.new(SCLOrkEmoji.trie.dictionary, "", true); ~showButton.stri ...

  5. PlayFileDiskView Quark

    ... tRunning({"%: boot server first".format(this.class.name).warn}); view= VLayout( HLayout( [filePopup= PopUpMenu().items_( ["_"]++soundfiles.collect{|x| x.path.basename} ), \stretch: 1], readButton= Button().states_([ ["read"] ]).canFocus_(fa ...

  6. MiniIDEJIT Quark

    ... el = \JIT; *new{|bounds| ^super .new(bounds) .init(); } init{ //LAYOUT layout = HLayout( VLayout( StaticText().fixedSize_(512@12).string_("PDEF"), PdefAllGui(17).parent.view, StaticText().fixedSize_(512@12).string_("PDEFN"), PdefnAllGui(15) ...

  7. JITLayout Quark

    ... ); w.layout_(VLayout( EZSlider(w, nil, \test, \freq), TextField(), TextField(), HLayout( Button(), Button(), Button() ) ) ); w.front; )

  8. JITLayout Quark

    ... ); w.layout_(VLayout( EZSlider(w, nil, \test, \freq), TextField(), TextField(), HLayout( Button(), Button(), Button() ) ) ); w.front; )

  9. sGliss Quark

    ... ainRecord; var backgroundImage; var win= Window("sGliss", winRect); win.layout= HLayout( VLayout( //--amplitude control section HLayout( StaticText().string_("Amplitude control").fixedWidth_(120), *ampSelectButtons= #["targets", "random", " ...

  10. currency_converter Quark

    ... Box(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("Euro:"), nb1, StaticText().string_("Pound:"), nb2 ) ).front; ENdef(\x,{ var rate = 0.8; //euros var nb1S = nb1.enIn; //pounds var ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow