Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. grapher Quark

    ... alse ; this.translate ; if ( render, { this.exec }) ; } } // Setup a GUI with a routine reloading the img file specified in the path // with a trick by Sciss // NOTE: troubles if image filesize is changing (--> always) // no exploration --> ...

  2. CuePlayer Quark

    ... ow using the global clock.".postln; } /* Private */ sched { arg time, function; Routine { time.wait; Server.default.makeBundle(Server.default.latency, function); }.play(clock); } oscTriggerInform { arg path, message; ("CuePlayer OSC trigger ...

  3. MixerChannel Quark

    ... are used to automate level and panning: a control rate synthdef for LFOs, and a routine for linear (finite) changes. automate(name, synthdef, args) levelAuto(synthdef, args) panAuto(synthdef, args) Places a control rate synth on the server, ...

  4. MixerChannel Quark

    ... are used to automate level and panning: a control rate synthdef for LFOs, and a routine for linear (finite) changes. automate(name, synthdef, args) levelAuto(synthdef, args) panAuto(synthdef, args) Places a control rate synth on the server, ...

  5. particle_system_without_graphics Quark

    ... ynth(\part, [\x, p.position.x, \y, p.position.y, \z, p.position.z]); }; s.sync; Routine.run({ inf.do{ ~ps.tick; ~particles.do{|p, i| ~synths[i].set(\x, p.position.x, \y, p.position.y, \z, p.position.z); }; 0.001.wait; //fast update rate (10 ...

  6. SampleDescript copy Quark

    ... activeBuffer = []; "Loading soundfile into Buffer".postln; server.waitForBoot{ Routine.run{ //load the sound file into a master buffer buffer = Buffer.read(server, filename, action: {cond.test = true; cond.signal;}); cond.wait; //load each ...

  7. Random_Arboretum Quark

    ... d(-1.0, 1.0), 0); }; usr.focus(true); win.front; CmdPeriod.doOnce({win.close}); Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(App ...

  8. HadronModTargetControl Quark

    ... (aValue); If the value you are modulating affects a GUI widget and you are in a Routine , you might need to use { }.defer around it. getSaveValues Should be used to get values for saving the patch into a file, using the saveGets variable pr ...

  9. SE_setup-2chan Quark

    ... on: {"loading %/% done.\n".postf(i+1, q.fileNames.size)} ) }; } } ) ( // 2 of 3 Routine{ var numChans = 2; // buses for external sensors var ctlBuses = ( \lights: Bus.control(s, 64), // temp: Bus.control(s, 2), // rgb: Bus.control(s, 8) \ai ...

  10. SynthTracker Quark

    ... new one will be started. Use this to turn synths on and off sequentially. e.g: Routine ({ 6.do({ SynthTracker .toggle( "default" , (freq: 440 + 220.rand2), maxCount: 2); 1.wait; }); SynthTracker .releaseAll; }).play; .

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow