Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... case { bounds.isKindOf( Point ) } { viewHeight = bounds.y; } { bounds.isKindOf( Rect ) } { viewHeight = bounds.height; }; this.makeView( parent, bounds ); } doAction { action.value( this ) } value_ { |newValue = 0| value = newValue; this.up ...

  2. BarMapView Quark

    ... case { bounds.isKindOf( Point ) } { viewHeight = bounds.y; } { bounds.isKindOf( Rect ) } { viewHeight = bounds.height; }; this.makeView( parent, bounds ); } doAction { action.value( this ) } value_ { |newValue = 0| value = newValue; this.up ...

  3. 2b_makeHistoryGUI Quark

    ... code 2 run ON"], MFdef(\setRunAccept), ] ].collect { |list, i| Button(g.parent, Rect(0,0,150,25)) .states_([ list[0] ++ [ nil, Color.grey (0.9) ], list[1] ++ [ nil, Color.green(0.9) ] ]) .action_(list[2]) }; // watch for state changes q.his ...

  4. PG_Cookbook03_External_Control Doc

    ... 5], #[0.8, 0.2], inf) ), player, window; window = Window.new("Pattern trigger", Rect(5, 100, 150, 100)) // onClose is fairly important // without it, closing the window could leave the pattern playing .onClose_({ player.stop }); Button.new( ...

  5. SOMTrain_2D_example Plugin

    ... 0)}; ~som.loadToFloatArray(action: { |arr| { w = GUI .window.new( "SOM nodes" , Rect (200, 800, 600, 600)); // SCWindow (0,3..arr.size-1).do{ |index| GUI .staticText.new(w, Rect ( (arr[index] +1 * 300 ), (arr[index+1] +1 * 300 ), 20, 20)).s ...

  6. SWMiniBeeGui Quark

    ... work_( network ).init; } init { detectedNodes = Set.new; w = Window.new("XBee", Rect( 0, 280, 200, 150 )); w.view.decorator = FlowLayout.new(w.bounds,2@2,2@2); StaticText.new( w, 200@22).string_( "XBee Network").align_( \center).font_( GUI. ...

  7. RedBMP Quark

    //redFrik //related: RedGIF //todo: //* still some 24bit files not loading correctly - file ending mismatch //* someday maybe add support for compression and different header versions RedBMP { var <type, //string "BM" <>width, //integer <>h ...

  8. helper-funcs Quark

    ... g); }; }; "\n".post; out } { array } } => Func(\prunePreset); { |parent, bounds(Rect(800, 200, 500, 400))| var view = TreeView(parent, bounds); var watcher; var editor, closeFunc; view.columns_(["ID", "preset"]).setColumnWidth(0, 140); if(p ...

  9. StoredList Doc

    ... uments: path an optional path - default is auto-created storePath . . dir the directory in which to write and read. consists of : dirpath +/+ dirname . filename the filename where settings list will be written and read. consists of : <id>.< ...

  10. mpd18UseCase_frp_style Quark

    ... nt; q.butvals = 0!4!4; q.buts = 4.collect { |i| 4.collect {|j| Button(q.mpdwin, Rect(i * 80 + 5, 240 - (j * 80) + 5, 75, 75)) .states_([["up" + (i + 1 + (j * 4)), Color.black], ["DOWN", Color.black, Color.green]]); } }.flop; q.playButs = q. ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow