Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... p back. This is the normal, correct way to handle input values from next within routines. ev = ev.yield; }; }); ) ⧉ ✔ Previous: Pattern Guide Cookbook 07: Rhythmic Variations Next: Pattern Guide Reference 01: Pattern Internals helpfile sour ...

  2. SCEnvelopeView Help

    ... value_([(0.0, 0.1 .. 1.0), (0.0, 0.1 .. 1.0)]) .setEditable(0, false ); ) ( r = Routine ({ var j = 0; 20.do({ arg i; b.select((b.size -1).rand.abs); 0.1.wait; b.x_(1.0.rand.abs); b.y_(1.0.rand.abs); }); b.select(-1); }); AppClock .play(r); ...

  3. openbci_gui_timeseries Quark

    ... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); imgDrawFunc.value; usr.refresh; (nextTime-Main.elapsedTime).max(0.001).w ...

  4. SoundFile Help

    ... e (default is 4194304, or 16 MB) threaded: if true, the normalization runs in a routine so that SC can respond (intermittently) while processing. Prevents OSX beachballing. Default is false. Using the class method (SoundFile.normalize) will ...

  5. Pbind Doc

    ... ])).patternpairs ⧉ ✔ . embedInStream ( inevent ) From within a Stream like e.g. Routine , yield all events from this pattern before continuing. One pattern can be used to produce values for any number of independent streams. Arguments: inev ...

  6. Syntax-Shortcuts Doc

    ... 1, 3, 11) (1, 3..11) There is also the similar syntax for creating an iterating Routine : instead of writing: you can write: seriesIter(1, 3, 11) (:1, 3..11) NOTE: SuperCollider also supports List Comprehensions . As a simple (non-combinato ...

  7. Dictionary Help

    ... o Event . // write a generator for dictionaries ( d = ( a: 5, b: 7, c: 1, rout: Routine { |inval| inf.do { |i| var event = d.copy.put(\count, i); inval = event.embedInStream(inval) } } ); ); // draw new values d.rout.((z:999)); d.rout.((z:1 ...

  8. Spline Quark

    ... lTime + ps.first[domain].abs //}); step = totalTime / divisions.asFloat; feed = Routine({ // arg t; var xfrac,after; ps.do({ arg p,i; if(t == p[domain], { p[value].yield }); while({ p[domain] > t },{ if(i > 0,{ xfrac = (t - ps[i-1][domain]) ...

  9. Voicer Quark

    ... item in nodes, whether playing or not strictCycRout.isNil.if({ strictCycRout = Routine.new({ nodes.do({ arg n; n.yield }); }); }); ^strictCycRout.next } cycle { // returns next non-playing item in nodes // if all nodes playing, returns ear ...

  10. CtkPMod Quark

    ... Path, timeStamp = true, hFormat, sFormat, updateGUI = true; var initSched, tmp; Routine.run({ server.serverRunning.if({ isPlaying.not.if({ isPlaying = true; hasGUI.if({ updateGUI.if({ {gui.startButton.value_(1)}.defer; }) }); timer.play; th ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow