Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (46) Code (5) Doc (16) Help (10) Quark (15) SCDoc ↗ Forum ↗ Google ↗
  1. Pfuncn Doc

    Pfuncn: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods embedInStream func repeats Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Pat ...

  2. PsymNilSafe Doc

    ... ries(90, -1, 10), \dur, 0.5).asStream; z = Pseq([2, 3, 1, 2], 1).asStream; ~a = Pfuncn({ x.next(()) }, { z.next }); ~b = Pfuncn({ y.next(()) }, { z.next }); PsymNilSafe(Pseq("ab", inf)).trace.play; // shorter with method 'symplay': // trace ...

  3. Pprotect Doc

    ... ( var x; var func = { "an error happened".postln }; a = Pprotect(Pseq([1, 3, 3, Pfuncn({ Error.new.throw }), 2]), func); x = Pbind(\degree, a, \dur, 0.5).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pprotec ...

  4. AlgaPatternPlayer Doc

    ... ram The parameter to retrieve from the AlgaPatternPlayer . repeats Similarly to Pfuncn , this represents the number of times to repeat the reading of the parameter. . read Arguments: func A Function representing the action to perform when r ...

  5. Pmsyn Doc

    ... lug on next event q.stop; ⧉ ✔ Or the "...Plug" key can be sequenced. (Note that Pfuncn supplies the "...Plug" function. The function is not evaluated within the pattern, but rather put directly into the Event.) ( p = Pmsyn(Pmono( \pm, \midi ...

  6. Pfunc Doc

    ... tern : AbstractFunction : Object Function pattern Source: Patterns.sc See also: Pfuncn , FuncStream Description Returns a Stream that returns values from the nextFunc . To return a pattern, see Plazy . Class Methods Pfunc. new ( nextFunc , ...

  7. PG_06a_Repetition_Contraint_Patterns Doc

    ... { startTime = startTime ? (thisThread.clock.beats.debug("time")) } ), 1, 4) ++ Pfuncn({ thisThread.clock.beats.debug("finish time"); (thisThread.clock.beats - startTime).debug("elapsed"); nil }, 1)).play; ) ( // in this case, the pattern s ...

  8. Pchain Doc

    ... se, Pn(1, 4)), Pbind(\mtranspose, Pn(2, 7)) ], inf); c = Prand([ Pbind(\detune, Pfuncn({ [0, 10.0].rand }, 5), \legato, 0.2, \dur, 0.2), Pbind(\legato, Pseq([0.2, 0.5, 1.5], 2), \dur, 0.3) ], inf); Pchain(a, b, c).trace.play; ) ⧉ ✔ pattern ...

  9. PG_02_Basic_Vocabulary Doc

    ... Pfunc(nextFunc, resetFunc) Get the stream values from a user-supplied function. Pfuncn(func, repeats) Get values from the function, but stop after repeats items. Prout(routineFunc) Use the function like a routine. The function should return ...

  10. Quant Doc

    ... t in the Event. // schedule for a random number of beats after the next integer Pfuncn({ thisThread.clock.beats.debug("scheduled for"); nil }, 1) .play(quant: ( nextTimeOnGrid: { |self, clock| clock.beats.roundUp(1).debug("clock beats") + r ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow