Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (216) Code (31) Doc (58) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. SCMControlSpecView Quark

    ... sible_ { |visible| textInput.visible = visible; } initializeView { mainLayout = VLayout(); mainLayout.margins = 0!4; mainLayout.spacing = 0; this.layout = mainLayout; textInput = TextFieldFactory.createInstance(this, "text-controlspec"); te ...

  2. GMSymbol2DSlider Doc

    ... ) .action_({ |x, y| synth.set(\bpFreq, x); synth.set(\amp, y); }); win.layout_( VLayout() .margins_(0) .add(multiSlider) ); win.onClose_({ if(synthFree.not) { synth.free; }; }); CmdPeriod.doOnce({ synthFree = true; win.close; }); win.front; ...

  3. PatternBoxParamControlGroupView Quark

    ... ble = isVisible; isControlsVisible = isVisible; } initializeView { mainLayout = VLayout(); this.layout = mainLayout; buttonAdd = ButtonFactory.createInstance(this, class: "btn-add"); buttonAdd.fixedSize_(16); buttonAdd.toolTip = "Add a cont ...

  4. gui_example_fft Quark

    ... olor.grey) .value_([0]) .elasticMode_(1); }.dup(board.numChannels); win.layout= VLayout(*msliders); CmdPeriod.doOnce({win.close}); board.dataAction= {|num, data, acc| channels.do{|c, i| c.data= board.buffer[i]; if(notchFilters.notNil, { c.d ...

  5. PatternBoxParamView Quark

    ... Marinus Klaassen (2012, 2021Q3) EXAMPLE: ( w = View(bounds:500@700).front; l = VLayout([nil, stretch:1, align: \bottom]); w.layout = l; 10 do: { | position| l.insert(PatternBoxParamView().actionButtonDelete_({ | sender | "delete".postln; } ...

  6. JITModPatch Quark

    ... View, argWindow| 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() ...

  7. ServerOptionsGui Quark

    ... ton = Button().states_([["Apply"]]) .action_{ this.applyAction() }; topLayout = VLayout( infoText, HLayout(linkButton, modeButton) ); bottomLayout = HLayout(cancelButton, applyButton); mainView = View(parent); mainView.bounds_(bounds).layou ...

  8. GMGridButton Doc

    ... ( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyboard) ); CmdPeriod.doOnce({ win.close; }); win.front; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalModule/HelpSource/Clas ...

  9. Qwerty Quark

    ... st = 36; GUI.qt; win = Window(synthdef, Rect(128, 320, 300, 120)); win.layout = VLayout.new; keys = ["1234567890", "QWERTYUIOP", "ASDFGHJKL�", "ZXCVBNM,.-"]; notes = Array.fill(4,{|i| Array.series(10,lowest+(i*v),h)}).reverse; buttons = Dic ...

  10. remapping Quark

    ... ().states_([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayout( *q.numboxes ), HLayout( *q.texts ), q.button ) ).front; q.synths = [ { |freq=400| Pan2.ar( SinOsc.ar(freq)*0.2, -1.0) }.p ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow