Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (642) Code (56) Doc (227) Help (20) Quark (339) SCDoc ↗ Forum ↗ Google ↗
  1. CTK Quark

    ... <masterNotes, <masterControls, <masterBuffers, <masterGroups, <masterMessages, cmdPeriod; var <>id; *new {arg ... events; ^super.new.init(events); } init {arg events; masterScore = []; // I think this is where the mem leak comes in... all ...

  2. Scale Listener by simon (Dindoléon) Code

    ... ( 0, 0-value ); }; // Finally, bring the window to the front. view.front; CmdPeriod.doOnce({Window.closeAll}); // Kill GUI and server sounds on < Ctrl + ^ + . >, or on window closing . view.onClose = { s.freeAll; Window.closeAll; ...

  3. RedPerlin Doc

    ... ront; ws= ws.add(w); w.onClose= {i.free}; 0.01.wait; }; }; }; r.play(AppClock); CmdPeriod.doOnce{ws.do{|w| w.close}}; ) //--3d pen test (3rd dimension is time) ( var width= 50, height= 50, speed= 50, z= 0, w, i, a, r, persistance= 0.85, oct ...

  4. Damped Driven Double Pendulum Sonification and Visualization by xavieredavenport (xavieredavenport) Code

    ... ; u.background = Color.white; w.front; u.frameRate = 40; u.animate = true; CmdPeriod.doOnce({if(w.isClosed.not, {w.close})}); /////////////////////// // Synthdef(s) /////////////////////// SynthDef(\gliss, { arg freq= ...

  5. GMCurveEnvView Doc

    ... spacing_(0) .add(button) .add(envView) ); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); }); ) ⧉ ✔ A more complex example, with 3 controls : amplitude, frequency and panning. A slider also allows to modify widgets t ...

  6. cog wheels by redfrik (redFrik) Code

    ... ).play(AppClock); }, { usr.animate= false; autoRoutine.stop; }); }; CmdPeriod.doOnce({win.close}); win.front; )

  7. GUI-Overview Help

    ... ction here. b.step=55; //make the step a fraction of the freq b.focus; w.front; CmdPeriod .doOnce({w.close}); }); ) Recieving values, however is asynchronous, and requires either using an OSCresponderNode, or polling values. In this example ...

  8. WFSServers Quark

    ... erversPerSystem }!ips.size; delayViews = { { nil }!serversPerSystem }!ips.size; CmdPeriod.add( this ); if( addMaster ) { masterServer = Server( "wfs_master", NetAddr("127.0.0.1", startPort[0] - 1 ), Server.default.options.copy; ); }; activi ...

  9. sKeyDpad Quark

    ... .valueAction= 1-onoffButton.value}); }.defer; state= 0; } { state= 0; }; }; }); CmdPeriod.doOnce({ port.close; }); }); }); win.onClose= { NetAddr.localAddr.sendMsg(\closed, \sKeyDpad); routine.stop; if(port.notNil, { port.close; }); oscResp ...

  10. UScore Quark

    ... true, updatePosition = true, startEventsActiveAtStartPos = true, loop = false| CmdPeriod.add( this ); if( callStopFirst ) { this.stop(nil,false, false); }; // in case it was still running this.prStartTasks( targets, startPos, assumePrepare ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow