Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (803) Code (77) Doc (225) Help (42) Quark (457) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Pen Doc

    ... e ( var controlWindow, w; var r, a, b, c, d, matrix = [1, 0, 0, 1, 10, 10]; var sliders, spex, name; w = Window.new.front; w.view.background_(Color.white); // create a controller-window controlWindow = Window("matrix controls", Rect(400, 20 ...

  2. MainFX Doc

    ... FX. Arguments: name the name the gui will show numItems the number of buttons / sliders for parameters the gui will have buttonList an optional list of buttons. by default, this is the list of slotNames. parent the parent view or window on ...

  3. SCPen Help

    ... Y ( var controlWindow, w; var r, a, b, c, d, matrix = [1, 0, 0, 1, 10, 10]; var sliders, spex, name; w = Window .new.front; w.view.background_( Color .white); // create a controller-window controlWindow = Window ( "matrix controls" , Rect ( ...

  4. MView Quark

    ... yNumFuncs].parent_(dict[\keyDownFuncs]); // simple 1, 2 or more number(s), like slider+numbox is now. uv.keyDownAction.add(\number, { |uv, key, mod| mod = mod ? 0; uv.focus(true); if (mod.isAlt) { dict[\keyDownAltFuncs][key].value; } { if ( ...

  5. U Doc

    ... ch parameter can be edited via a dedicated gui element. Where most of these are sliders, there can also be different kinds of editors, all based on the information stored in the Udef. Changes in parameters will be instantly audible if the U ...

  6. PLbindef Doc

    ... rGui Use SynthDef from above . // start with gui and define pitch sequence with sliders ( p = PLbindef(\z, \i, \saw_grain, \d, 0.2, \m, PLseq(\midi) ); VarGui([\midi, [50, 90, \lin, 1, 60] ! 7], stream: p).gui; ) ~z.m = PLseq(\midi) + [0, 5 ...

  7. runner Quark

    ... *yStep, yStep*1.5, yStep)) .string_(runner.offsetWeight).align_( \right ) ; GUI.slider.new(w, Rect(yStep*4.5, index*yStep, yStep*4, yStep)) .valueAction_(0.5) .action_({ arg sl ; runner.setOffsetWeight( sl.value.round(0.001)*2-1) ; lab.stri ...

  8. EventLoop Doc

    ... by shift, scale, invert. AutoLoop - still to be done, records movements of one slider as an semi-autonomous loop. Class Methods . new make a new instance, with a key and a function to evaluate on playback. Instance Methods Instance Variabl ...

  9. SCWindow Help

    ... w = Window (scroll: true ); // you must set this when the window is created c = Slider2D (w, Rect (0, 0, 1500, 300)); d = Slider (w, Rect (0, 310, 20, 300)); c.background = Color .grey.alpha = 0.6; d.background = Color .grey.alpha = 0.6; w. ...

  10. Image Doc

    ... dow.new.front; b = [10, 80].asSpec; c = NumberBox(w, Rect(20, 20, 60, 40)); a = Slider(w, Rect(20, 80, 100, 40)) .focusColor_(Color.red(alpha: 0.2)) .action_({ c.value_(b.map(a.value).round(0.01)) // round the float so it will fit in the Nu ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow