Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... drate); } initSCPyduino{ |aPort, aBaudrate| port = aPort; baudrate = aBaudrate; Routine.new({ sp = SerialPort(port, baudrate, crtscts: true); 2.wait; // Allow 2 secs for Arduino auto-reset to happen firmataVersion = "None"; this.sp.put(repo ...

  2. PG_06b_Time_Based_Patterns Doc

    ... layed on a clock, but streams made from these patterns can be used in scheduled routines or functions as well. Only a scheduling context can ensure precise timing of requests for values. Ptime(repeats) Returns the amount of time elapsed sin ...

  3. SSObject Quark

    ... tionList.add(motion); }*/ // update method is called from inside SSWorld update routine update { // gravity values are in m/s/s, but we apply it every stepFreq if (gravity) { this.addForce(world.gravity/world.stepFreq) }; if (friction) { th ...

  4. Streams Doc

    ... Guide to Patterns Understanding Streams, Patterns and Events - Part 1 Streams & Routines Understanding Streams, Patterns and Events - Part 2 Patterns Introduction Understanding Streams, Patterns and Events - Part 3 ListPatterns Understandin ...

  5. The Beasties by henklass (henklass) Code

    ... , childdeathsynth, bytesynth, coasynth, meetingsynth, //names of functions and routines strew, findFood, findPartner, eat, determinePartner, doIt, //named indices age=0, sex=1, xPos=2, yPos=3, energy=4, dying=5, cngoa=6; ~beasties = ...

  6. BufEnvir Quark

    ... Frames .kr(bufnum) ) * (10 * amp) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth ( \help_PlayBuf , [ \bufnum , q.b[ \apollo ], \rate , 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset , ...

  7. Hotroded "08091500Acid309 by_otophilia" by bernhard (bernhard) Code

    ... 24,10,7,12, -2,7,-7,0, 10,-2,22,24].scramble + 31].flop; // Run first the Routine, then change patterns ~dseq, ~bseq and ~bseq2 in the upper part ( Routine.run {var c; c = Condition.new; s.freeAll; TempoClock.all.do{|x|x.clear}; s ...

  8. openbci_gui_fftplot_with_neurofeedback-2ch Quark

    ... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { calculations.value; if(animate, ...

  9. Participation Quark

    ... } // stop == quit? quit { arg repeats=4, onComplete; var procedure = SkipJack( Routine { this.stop; repeats.do { this.sendMyNameToAll(-1); 1.yield; // to return something. }; onComplete.value; procedure.stop; }, 0.5); procedure.start; } st ...

  10. TheBFMixer Quark

    ... ]); }, {nil}); texttask.stop; texttask.reset; SystemClock.clear; }}; playrout = Routine({ (playfunc.value).yield; (stopfunc.value).yieldAndReset; }); writefunc = { var start, dur, amp, mute, globstart, offset, soundpath, startframe, writeAr ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow