Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... lo, world" }; f.value; これはルーチンの中に関数を配置したものです。.yieldメッセージを送ることで関数の中の式を評価します。 r = Routine ({ "hello, world" .yield.postln }); ルーチンを実行するには、評価して下さい。 // ルーチンを評価するには、.nextメッセージを送る r.next; もう一度やってみましょう。 r.next; これは一度ルーチンが"yield"(受け渡す)すると、関数の中にさらなる ...

  2. Spawning Help

    ... n't repeat }); ) In SC3 time-based sequences of events can be implemented using Routines. A Routine which yields a number can be scheduled using a clock: ( var w, r; w = Window .new( "trem" , Rect (512, 256, 360, 130)); w.front; r = Routine ...

  3. HistoryMeter Quark

    ... <>history, <>pos = 0; var value = 0, latestValue = 0, <>updated = false; var <>routine; var <color; var <>active = false; var <>interval = 1; init { |parent, bounds| super.init( parent, bounds ); history = Array.fill( this.bounds.asRect.wi ...

  4. Spawning Doc

    ... repeat }); ) ⧉ ✔ In SC3 time-based sequences of events can be implemented using Routines. A Routine which yields a number can be scheduled using a clock: ( var w, r; w = Window.new("trem", Rect(512, 256, 360, 130)); w.front; r = Routine({ a ...

  5. BinaryOpStream Doc

    ... a = value . b = value . next ( inval ) . operator = value . reset Examples x = Routine { 6.do { |i| i.yield } } + 64; x.dump ⧉ ✔ ( x = Routine { 6.do { |i| i.yield } } + 64; x.next.postln; x.next.postln; x.next.postln; x.next.postln; x.nex ...

  6. Prout Doc

    ... Inherited instance methods Undocumented instance methods asStream embedInStream routineFunc Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Function'>Function Prout : Pattern : AbstractFunction : Object routine pa ...

  7. loop Help

    ... mber of times. Function-loop repeats the function forever. f = { 3.yield }; x = Routine({ f.loop }); 10.do({ x.next.postln }) Object-repeat(n) repeat to yield the object x = 5; y = x.repeat(6); y.nextN(8); Pattern-repeat(n) x = Prand([1, 2] ...

  8. 15 Doc

    ... world" }; f.value; ⧉ ✔ これはルーチンの中に関数を配置したものです。.yieldメッセージを送ることで関数の中の式を評価します。 r = Routine({ "hello, world".yield.postln }); ⧉ ✔ ルーチンを実行するには、評価して下さい。 // ルーチンを評価するには、.nextメッセージを送る r.next; ⧉ ✔ もう一度やってみましょう。 r.next; ⧉ ✔ これは一度ルーチンが"yield"(受け渡し)すると ...

  9. extBuffer-readDir Quark

    ... t, server, notify = true| // async version; works for 500+ buffers var buffers, routine; path = path.standardizePath; routine = Routine({ buffers = names.collect({ |item, i| var bufnum = nil, buffer; // if bufnumoffset is not nil, the buffe ...

  10. play Doc

    play: Filter: play Clocks, Routines, Streams and Patterns clock.play (stream) routine.play (clock) stream.play (clock) pausestream.play (clock) / task.play (clock) pattern.play (clock, protoEvent) Playing single Synths from SynthDefs on the ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow