Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (674) Code (68) Doc (212) Help (62) Quark (332) SCDoc ↗ Forum ↗ Google ↗
  1. jitlib_basic_concepts_04 Help

    ... sponsible for the timing of insertion of new functions, per default at the next beat of the clock. p = ProxySpace .push(s.boot); ~x.play; ~y.play; // these two synths are started at the time when they are inserted: ~x = { Ringz .ar( Impulse ...

  2. PG_Cookbook05_Using_Samples Help

    ... etween 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and overlay synthesized bells emphasizing the meter. It might be tempting to loop a PlayBuf so that the loop runs automatically on the server, but ...

  3. Sequencing with Routines and Tasks Help

    ... : 0.1]); 0.25.wait; }); } }); }; t = f.value.play(quant: 4); // start on next 4-beat boundary u = f.value.play(quant: [4, 0.5]); // next 4-beat boundary + a half-beat t.stop; u.stop; Using data routines in note sequencing The previous examp ...

  4. Score Help

    ... be in the following format, with times in ascending order. Bundles are okay. [ [beat1, [ OSCcmd1 ]], [beat2, [ OSCcmd2 ], [ OSCcmd3 ]], ... [beat_n, [ OSCcmdn ]], [beatToEndNRT, [ \c_set , 0, 0]] // finish ] For NRT synthesis the final even ...

  5. TempoBusClock Help

    ... chronizes its tempo with the server superclass: TempoClock *new(control, tempo, beats, seconds) return a new instance. control can be anything that responds to the message set(key, val, ...) e.g. a Synth or a NodeProxy. The control key set ...

  6. PatternProxy Help

    ... j) set the source. If a quantization is given, schedule this change to the next beat clear set the source to nil quant_ set the quantization value quant get the quantization value *defaultQuant_ set the default quantization value for the cl ...

  7. Ptime Help

    Ptime derive relative time superclass: Pattern returns time in beats from moment of embedding in stream Ptime(repeats) ( a = Ptime .new; x = a.asStream; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind ( \pfunc , Pti ...

  8. ServerTiming Help

    ... t the case when you listen. The routines also print out the logical time (clock.beats) and physical time (clock.elapsedBeats) just before playing a grain. s.boot; SynthDef ( \sinGrain , { |out = 0, freq = 440, amp = 0.5, dur = 1| Out .ar(ou ...

  9. PG_Cookbook07_Rhythmic_Variations Help

    ... of a 4-bar cycle init: { if(~startTime.isNil) { ~startTime = thisThread .clock.beats }; }, // convert the rhythm arrays into patterns pbindPairs: { |keys| var pairs = Array (keys.size * 2); keys.do({ |key| if(key.envirGet.notNil) { pairs.a ...

  10. PG_06g_Data_Sharing Help

    ... iming offset mechanism, which delays the sound of an event by a given number of beats. In the example, the bass pattern is scheduled 0.1 beats before whole-numbered beats (while the chord pattern runs exactly on whole-numbered beats). The b ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow