Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { NumberBox().fixedWidth_(60) }); window.layout = VLayout( *Array.fill(2, { |i| HLayout( StaticText().fixedWidth_(120) .string_(#["Raw distortion", "Volume adjusted"][i]), numbers[i], sliders[i] ) }) ); resp = OSCFunc({ |msg| defer { msg[3. ...

  2. GMButton Doc

    ... on_( { Synth(\GMhelp, [\freq, 450]) }); // Nest it inside a Layout win.layout_( HLayout( button, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMod ...

  3. GMRecordButton Doc

    ... ew var recordButton = GMRecordButton(); // Nest it inside a Layout win.layout_( HLayout( recordButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close }); }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/Graphic ...

  4. MasterUI Quark

    ... : EXTRACT -> Stage master */ StaticText.new.string_("Master").align_(\center), HLayout(leftMasterIndicator,rightMasterIndicator, gainSlider).spacing_(0), 10, StaticText.new.string_("Stage Master").align_(\center), 10, stageMaster[\live][\e ...

  5. GMPlayButton Doc

    ... ; } { "I've been paused.".postln; } }); // Nest it inside a Layout win.layout_( HLayout( playButton, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalMod ...

  6. JITModPatch Quark

    ... Window| var saveWin; view = argView; window = argWindow; view.layout = VLayout( HLayout( [VLayout( HLayout( nil, bufButton = Button().fixedWidth_(120) .states_([["Buffers 缓冲区"]]) .action_({ stack.index = 0 }), midiButton = Button().fixedWid ...

  7. FoaXformDisplay Quark

    ... // init the first xform ctlv.layout.add( // post / enter matrix buttons on left HLayout( View() .maxWidth_(125).maxHeight_(80) .background_( Color.hsv(*baseColor.asHSV.put(0, (baseColor.asHSV[0] + 0.045).wrap(0, 1))); ) .layout_( VLayout( B ...

  8. MixerUI Quark

    ... .gray(0.9)]])}); composite.layout_(VLayout( orbitLabelView, panKnob, panNumBox, HLayout( this.orbitLevelIndicators[orbit.orbitIndex][0], this.orbitLevelIndicators[orbit.orbitIndex][1], gainSlider ).spacing_(0), gainNumBox, StaticText.new.st ...

  9. SCLOrkWatch Quark

    ... atorView = StaticText.new(win); secondsView = StaticText.new(win); win.layout = HLayout( // Button.new(win), // Button.new(win), // Button.new(win), [minutesView, stretch: 1], [separatorView, stretch: 0], [secondsView, stretch: 1] ); minute ...

  10. ScrollView Doc

    ... var i = 0; var makeEntry = { var view = View().background_(Color.rand).layout_( HLayout( TextField().string_(("This is entry number " + i.asString)), Button().states_([["Delete"]]).action_({ view.remove; i = i - 1 }) ) ); i = i + 1; view; } ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow