Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. EM Quark

    ... ( // make a gui for it: e.makeWindow = { |env| var win, cnt; win = Window( "e", Rect( 128 + 100.rand, 300 + 100.rand, 400, 52 )).front; win.addFlowLayout; cnt = SimpleController( env ); win.onClose_({ cnt.remove }); // remove controller at ...

  2. Polymorphism Help

    ... uared }.value.postln; // posts 25 The Ref class provides a way to create an indirect reference to an object. It can be used to pass a value by reference. Ref objects have a single instance variable called ' value '. The ' value ' method ret ...

  3. Menu Doc

    ... menu. ( ~image = Image(64, 64).draw({ Pen.fillColor = Color.blue; Pen.fillOval(Rect(0, 0, 64, 64)); }); ~menu = Menu( MenuAction("checked", { "checked".postln }) .checked_(true), MenuAction("disabled", { "disabled".postln }) .enabled_(fals ...

  4. zparticle1 Quark

    ... 1.set(\t_trig, 1); 0.wait;})}.fork w=Window.new("spatOSCexamplePreset voicing", Rect(500, 30, 400, 140)).front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \li ...

  5. grids_poc Quark

    ... 0.2, kY: 0.2, kT: 0.7, sdX: 0.2, sdY: 0.4, sdT: 0.6, ); w = Window("SC grids", Rect(100, 100, 400, 580)); ["hh", "sd", "k"].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| q[\pattern][ ...

  6. JITModPatch Quark

    ... t.isNil) { // ProxyMixer may be up to 1086 wide parent = Window(model.docTitle, Rect(100, 200, 1120, 600)) .userCanClose_(false) .front; iMadeWindow = true; if(bounds.isNil) { bounds = parent.view.bounds.insetBy(5, 5) }; }; view = View(pare ...

  7. GMRoundButton Quark

    ... G.height); this.resizeSVG; } resizeSVG { var buttonSize = min( super.interactionRect.width, super.interactionRect.height ); var hRatio = buttonSize / thisSVGSize.x; var vRatio = buttonSize / thisSVGSize.y; var width; var height; thisSVG.fre ...

  8. Animation of Simple Harmonic Motion by elifieldsteel (eli.fieldsteel) Code

    ... Window( "Simple Harmonic Motion Animation — (spacebar to pause/unpause)", Rect(100, 100, 1020, 520) ).background_(Color.gray(0.2)).front; win.view.decorator_(FlowLayout(win.view.bounds, 10@10, 10@10)); cview = UserView(win.view, ...

  9. softPut Help

    ... softVol_ and softVol_ which knows lastVol: ( w = Window ( "softSet, softVol" , Rect (500, 200, 400, 240)).front; w.view.addFlowLayout; PdefGui ( Pdef ( \test ), 2, w, 340@80); // can lose control if wiggled too fast EZSlider (w, 340@30, \s ...

  10. EQui Doc

    ... s . new Create a new EQui. Arguments: parent An optional parent View . bounds A Rect or Point specifying the bounds of the EQui. target A Synth or similar object (e.g. Ndef ) that will receive changes in this EQui's parameters. Generally on ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow