Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (211) Code (29) Doc (68) Quark (114) SCDoc ↗ Forum ↗ Google ↗
  1. GUI: Scrolling list of multi-view items by 0-7r (jamshark70) Code

    ... line, then, is a View() (with appropriate size hints). Apply a layout (probably HLayout), add the operating views into that layout -- and then insert this parent view into the ScrollView's canvas layout. Scrolling behavior is as expected ...

  2. Wavetable Builder with GUI by txmod (txmod) Code

    ... }) .value_(d.playFreq); // mode - sines or envelope guiData.modeViews = HLayout( // mode popup ListView().minWidth_(96).maxWidth_(96).minHeight_(30).maxHeight_(30) .items_(["Mode: Sines", "Mode: Envelope"]) .stringColor_ ...

  3. 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, ...

  4. Galton Board Simulator by simon (Dindoléon) Code

    ... /galton-board-sim/6202 ( var win = Window(); var display = UserView().layout_(HLayout().margins_(30)); var availableNotes = [58, 60, 61, 63, 65, 66, 68, 70].midicps; var timesNotesWerePlayed = Array.fill(availableNotes.size, { 0 }); ...

  5. Show a chord in music notation in a sclang window by 56228375 (56228375) Code

    ... 3) ++ chordview.minSize_(100@100) ++ ({ Button(window) } ! 3); window.layout = HLayout(*a); )

  6. Color Picker, pretty version by simon (Dindoléon) Code

    ... ck ); color_picker_view.layout_( VLayout( [ helper, stretch:1 ], [ HLayout( [ h_slider, stretch: 1 ], [ sv_slider, stretch: 2 ] ), stretch:2 ] ); ); color_picker_view.addUniqueMethod( \bindFunction, { | o ...

  7. hamma by hamma (hamma) Code

    ... zoomView, \lowBar]; gui[\basicView] = { View().background_(Color.gray).layout_(HLayout()) }; gui[\views].do({ |view| gui[view] = gui[\basicView].value }); [\a, \b].do({ |ab| [\Top, \Mid, \Low].do({ |tier| gui[(ab++tier).asSymbol ...

  8. Visual gain reduction meter by jpdrecourt (jpdrecourt) Code

    ... 0); indicator.meterColor = Color.black; // Layout of the window layout = HLayout(); layout.add(nil); layout.add(VLayout(indicator)); layout.add(VLayout(StaticText().string_("0.0dB"), nil, StaticText().string_((maxReduc/2.0).asS ...

  9. Cavern_Class by scottintokyo (Scott L Simon) Code

    ... border: true); mWin.background = Color.blue(0.3,1); mWin.layout = HLayout( VLayout( StaticText().string_("Cavern_1"), Button() .states_([ ["OFF", Color.gray(0.2), Color.green(0.8)], [" ...

  10. FFT additive oversampling (graphical demo of the sampling theorem) by 0-7r (jamshark70) Code

    ... = VLayout( uv = UserView(), View().maxHeight_(60).layout_( VLayout( HLayout( indexLNum = NumberBox().fixedWidth_(80), // .fixedSize_(Size(80, 20)), indexRNum = NumberBox().fixedWidth_(80), // .fixedSize_(Size(80, 20)), ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow