Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ; }).add; s.sync; //--world RedUniverse.clear; w= RedWindow("wave test synths", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.04]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav,maxvel,damp //--objec ...

  2. CVCenterControllersMonitor Quark

    ... }, { window = Window( "MIDI- and OSC-responders currently active in CVCenter", Rect( Window.screenBounds.width/2-250, Window.screenBounds.height/2-250, 500, 500 ) ); tabs = TabbedView2(window, Rect(0, 1, window.bounds.width, window.bounds. ...

  3. RoundButton Quark

    ... a state. They will be used as drawing functions, which receive a the button, a rect and the radius as arguments. Drawing is always relative to the origin of the button's bounds. ( u = RoundButton (w, 80 @ 20 ).states_( [ [{ |button, rect, ...

  4. WinBounds Quark

    ... tf(win.name.cs); }; // ^this }; if (fitWindowsToScreen) { newbounds = this.limitRectToScreen(found ? win.bounds); }; win.bounds_(newbounds); } *fitToScreen { |w| w.bounds_(this.limitRectToScreen(w.bounds)) } // titleBarHeight may not be nee ...

  5. JITLayout Quark

    ... et, Layout does not accept // composite guis like EZSlider: ( w = Window(bounds:Rect(200,200,200,200)); w.layout_(VLayout( EZSlider(w, nil, \test, \freq), TextField(), TextField(), HLayout( Button(), Button(), Button() ) ) ); w.front; )

  6. JITLayout Quark

    ... et, Layout does not accept // composite guis like EZSlider: ( w = Window(bounds:Rect(200,200,200,200)); w.layout_(VLayout( EZSlider(w, nil, \test, \freq), TextField(), TextField(), HLayout( Button(), Button(), Button() ) ) ); w.front; )

  7. PTrig Quark

    ... al}); inval= (outVal>=lowVal and:{outVal<=higVal}).binaryValue.yield; }; } } PInRect : FilterPattern { var <>y= 0, <>rect; *new {|pattern, y= 0, rect| ^super.newCopyArgs(pattern, y, rect); } storeArgs {^[pattern, y, rect]} embedInStream {|i ...

  8. KernalButtons Quark

    ... } *prBasicNew { arg method,desc,layout,minWidth=300; ^super.prNew(layout, desc, Rect(0,0,minWidth,GUI.skin.buttonHeight), GUI.font.new("Monaco",9)) .action_({method.ginsp}) .background_(Color.new255(245, 222, 179)) } } InspButton : SimpleBu ...

  9. painter Quark

    ... andard[3]} , {windowHeight = aWindowHeight}); w = GUI.window.new("Grand Verre", Rect(windowx, windowy, windowWidth, windowHeight)).front .onClose_({ runner.removeDependant(this) ; graph.removeDependant(this) }) ; if ( GUI.current.name == \S ...

  10. USessionGUI Quark

    ... opBarHeigth = 40; var size = 16; var margin = 4; var gap = 2; bounds = bounds ? Rect(100,100,700,400); this.newWindow(bounds, "USession - "++session.name, { if(USessionGUI.current == this) { USessionGUI.current = nil }; this.remove; { if( ( ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow