Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (11) Doc (45) Help (24) Quark (161) SCDoc ↗ Forum ↗ Google ↗
  1. 15 Help

    ... して、クロックとともにルーチンをプレイします。 以下のコードはSuperColliderがイベントをスケジューリングする時に使用する3つのクロックを示します。 SystemClock .play(r.reset); // 最も正確 AppClock .play(r.reset); // GUI で使用する TempoClock .new.play(r.reset); // 主に拍でスケジューリングするために使われる ////////////////////////////// ...

  2. GUI-Overview Help

    ... ion = nil ; GUI Timing: System Clock and App Clock See: AppClock , TempoClock , SystemClock Calls to the gui system from from the lang must be made from the AppClock, since the SystemClock is reserved for high priority sound related tasks. ...

  3. play Help

    ... r = Routine .new({ "...playing" .postln; 1.wait; "ok, that was it" .postln }); SystemClock .play(r); ) routine.play(clock) returns: the routine Routine .new({ "...playing" .postln; 1.wait; "ok, that was it" .postln }).play; stream.play(clo ...

  4. Pstep Help

    ... Pseq ([0, 2b, 3], 1), \dur , 2, \ctranspose , -7 ); Ppar ([a, b], inf ).play; ) SystemClock .sched(0, { TempoClock .default.tempo = [1, 2, 3, 5].choose.postln; 2 }); TempoClock .default.tempo = 1.0; // timing test: // parallel streams ( var ...

  5. jitlib_efficiency Help

    ... ix.fadeTime = dt; ~mix.read([~s1, ~s2, ~s3].choose); dt.wait; }); }); ) t.play( SystemClock ); // change the sources meanwhile: ~s1 = { Blip .ar(105, 100, 0.2) }; ~s2 = { SinOsc .ar(350, 0, 0.1) }; ~s3 = { Pulse .ar(60, 0.2, 0.1) }; ~freq = ...

  6. TempoClock Help

    ... cheduler Inherits from the abstract class Clock. TempoClock is a scheduler like SystemClock, but it schedules relative to a tempo in beats per second. *new(tempo, beats, seconds, queueSize) creates a new TempoClock scheduler with the given ...

  7. Routine Help

    ... ed beat value. clock return the thread's clock. If it has not played, it is the SystemClock. ( r = Routine { arg inval; loop { // thisThread refers to the routine. postf( "beats: % seconds: % time: % \n" , thisThread .beats, thisThread .sec ...

  8. Debugging-tips Help

    ... sometimes an indication of poor design. If this is the case, avoid them. a = 0; SystemClock .sched(2, { a.postln }); // crashes when scheduler fires the function When a scheduled function executes, if it returns a number, the function will ...

  9. Score Help

    ... ; z.score_(x); ) // play it z.play; // play and stop after one second ( z.play; SystemClock .sched(1.0, {z.stop;}); ) creating Score from a pattern SynthDescLib .read; // new pattern ( p = Pbind ( \dur , Prand ([0.3, 0.5], inf ), \freq , Pr ...

  10. SCWindow Help

    ... y to set parameters of a Window or a GUI widget from a Routine , which uses the SystemClock by default, you must wrap it in a deferred function: { myWindow.bounds_( Rect(100,500,200,200) ) }.defer . You do not need to use .defer, if you use ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow