Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ter = 0.5, ctlCenter; w = Window ("bilin", Rect(100, 100, 200, 100)).front; a = Slider (w, Rect (20, 20, 150, 20)).value_(0.5); b = Slider (w, Rect (20, 45, 150, 20)).value_(0.5); b.action = { center = b.value }; a.mouseDownAction = { ctlCe ...

  2. SCView Help

    ... tion in response to user input of some sort. Typically a view like SCButton , SCSlider , SCPopUpMenu , etc, use action to store the function to be performed on user input. Many views only call doAction if their value has changed. action act ...

  3. ProxyMonitorGui Help

    ... showPauseSend: false ); // the GUI functions: ProxyMonitorGui (~test); // left slider is vol ~test.vol_(0.1); ~test.vol_(0.25); ~test.stop; // play / stop button: ~test.playN; // ~test.end; // alt-stop fully ends the proxy. ~test.playN(vol ...

  4. SCEnvelopeView Help

    ... p must be explicitly set for the defautlKeyDownAction to work. See also: SCMultiSliderView , SCEnvelopeEdit Creation / Class Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@ ...

  5. SCUserView-Subclassing Help

    ... o allow value to be quantized. thumbSize is used for both width and height of a slider thumb, while thumbWidth or thumbHeight are typically used for only one dimension. x and y are used for mouse clicks. Take a look at a similar SC widget t ...

  6. EZNumber Help

    ... ed the EZNumber instance as its argument. initVal - The value to initialize the slider and number box with. If nil, then it uses the ControlSpec's default value. initAction - A Boolean indicating whether the action function should be called ...

  7. Intro-to-Objects Help

    ... rators, wave samples, points, rectangles, graphical windows, graphical buttons, sliders and much more. Operations upon objects are invoked by messages. A message is a request for an object, called the receiver , to perform one of its operat ...

  8. FlowLayout Help

    ... they work w.view.decorator = FlowLayout ( w.view.bounds, 10@10, 20@5 ); 16.do{ Slider2D ( w.view,80@80 ).background_( Color .rand ) }; ) You can also write: ( w = Window .new.front; w.addFlowLayout( 10@10, 20@5 ); // a shortcut method, see ...

  9. 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 ( ...

  10. 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. ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow