Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... akeMeter, killer; var servers = ULib.allServers; var w = Window("ULib servers", Rect(10, 10, 390, 3 + ( servers.size * 29))).front; w.addFlowLayout; killer = Button(w, Rect(0,0, 20, 18)); killer.states = [["K"]]; killer.canFocus = false; ki ...

  2. draw crossfades Quark

    ( c = WFSSpeakerConf.default ? WFSSpeakerConf.rect( 48, 48, 5, 5 ); m = \lines; a = \point; p = (0@0); w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 20, 20 ); ); w.keepRatio = true; w.drawFunc ...

  3. README Quark

    ... eMenu", "tags/1.1.0");` ## Basic usage ```supercollider ( var w= Window("test", Rect(400, 400, 300, 100)).front; PopUpTreeMenu(w, Rect(30, 30, 100, 20)) .tree_( ( 'a drum': (), 'bass': ( 'funky': (), 'tuba': (), 'unhip': () ), 'cello': () ) ...

  4. extStringCleaning Quark

    ... lean string.".postln; }); } *makeCleanerWindow { var w; w = SCWindow("cleaner", Rect(0,0,140, 60)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(0).top_(0)); SCButton(w, Rect(0,0,120,20)) .states_([["clean current doc"]]) .action ...

  5. red04 Quark

    ... idth= 640, height= 360, maxAge= 200, maxBorneAge= 100; var win= Window("red04", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; physics= TraerParticleS ...

  6. testing-rms Quark

    ( var w, levels; w = Window("levels", Rect(100, 100, 500, 400)).front; ~dirt.startSendRMS; levels = ~dirt.orbits.collect { |orbit, i| orbit.defaultParentEvent.put(\rmsReplyRate, 8).put(\rmsPeakLag, 3); LevelIndicator(w, Rect(21 * i + 10, 10 ...

  7. Layouts Quark

    ... top; } place { arg view; var height; height = view.bounds.height; view.bounds = Rect(bounds.left, current, bounds.width, height); current = current + height + gap; } remove { } innerBounds { ^bounds } } HorzLayout : VertLayout { reset { cur ...

  8. HadronModTargetControl Quark

    ... , argParentApp| parentApp = argParentApp; myView = CompositeView(argParentView, Rect(argBounds.left, argBounds.top, argBounds.width, 20)); targetAppMenu = PopUpMenu(myView, Rect(0, 0, (argBounds.width/2)-5, 20)) .action_ ({|menu| if(menu.va ...

  9. ToggleTextField Quark

    ... s; }.defer; } buttonBounds { // if(view.tryPerform(\relativeOrigin) ? false) { ^Rect(0, 0, buttonWidth, bounds.height) // } { // Rect(bounds.left, bounds.top, buttonWidth, bounds.height) // } } textBounds { // if(view.tryPerform(\relativeOr ...

  10. ToggleTextField Quark

    ... s; }.defer; } buttonBounds { // if(view.tryPerform(\relativeOrigin) ? false) { ^Rect(0, 0, buttonWidth, bounds.height) // } { // Rect(bounds.left, bounds.top, buttonWidth, bounds.height) // } } textBounds { // if(view.tryPerform(\relativeOr ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow