Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1062) Code (117) Doc (215) Help (68) Quark (660) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Internal-Snooping Doc

    ... dump their names Window.allWindows.collect { | w | w.name }.postln; ( // change background colors of all open windows Window.allWindows.do { | window | window.view.background = Color.new(0.5 + 0.5.rand, 0.5 + 0.5.rand, 0.5 + 0.5.rand); } ) ...

  2. ClockAudioMulch Doc

    ... .latency= 0.05; s.boot //--simple test //make sure AudioMulch is running in the background (press play) //and that chase network sync is enabled in the control meny c= ClockAudioMulch(123/60, addr:NetAddr("127.0.0.1", 7000)); d= Pbind(\dur, ...

  3. RedBMP Doc

    ... = Window("bmp", Rect(300, 300, a.width*scale, a.height*scale), false); win.view.background= Color.red; a.data= a.data.reverse; //mess with the image pixel data win.drawFunc= { Pen.smoothing= true; a.data.do{|c, i| Pen.fillColor= Color(c.blu ...

  4. Chordtris Doc

    ... adjusted: Parameter Description Default Value Music Volume Sound volume of the background music 0.4 Sound Volume Volume of the game sounds 0.3 Keyboard Volume Volume of the MIDI Keyboard notes 0.5 Chord Name Language Note language to displ ...

  5. GMFaderMultiSlider Doc

    ... ); var synthsFree = false; var win = Window( "Harmos", Rect( 0, 0, 600, 400 ) ).background_(Color.black); var ampSlider = GMFaderSlider() .centerValue_(false) .action_({ |value| amp = value / nHarmo; synths.do({ |synth, index| synth.set(\am ...

  6. GMCheckButton Doc

    ... ited instance methods Examples ( var win = Window( "", Rect(0, 400, 200, 100)) .background_(Color.black); // Instanciate the View and configure it var button = GMCheckButton(); button.displaySymbol_(\circle); button.action_({ |pressed| pres ...

  7. GMSymbolMultiSlider Doc

    ... ); var synthsFree = false; var win = Window( "Harmos", Rect( 0, 0, 600, 400 ) ).background_(Color.black); var ampSlider = GMSymbolSlider() .centerValue_(false) .displayLine_(\value) .symbol_(\diamond) .action_({ |value| amp = value / nHarmo ...

  8. Image Doc

    ... f it ( w = Window.new; w.front; // comment this to copy offscreen window w.view.background_(Color.white); w.drawHook = { Pen.translate(100, 100); 10.do{ // set the Color Pen.color = Color.blue(rrand(0.0, 1), rrand(0.0, 0.5)); Pen.addWedge(( ...

  9. RedKMeans Doc

    ... ach vector ( w= Window("k-means plot", Rect(100, 100, 640, 480), false); w.view.background= Color.black; w.drawFunc= { var colors= {|i| Color.hsv(i/a.k, 1, 1)}.dup(a.k); b.do{|vec, i| Pen.fillColor= colors[a.classifications[i]]; Pen.fillRec ...

  10. Automation Doc

    ... onds is passed in as a parameter. For example, use this to launch and stop some background action like audio file playback and such. Note, when doStopOnSeek is true, both onStop and onSeek will be called for each seek operation. . onSeek Us ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow