Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... unction resetFunc - function that is called when the stream is reset. See also: Pfuncn // example ( var a, x; a = Pfunc ({ exprand(0.1, 2.0) + #[1, 2, 3, 6].choose }, { \reset.postln }); x = a.asStream; x.nextN(20).postln; x.reset; ) // sou ...

  2. 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 ...

  3. ShannonMindReadingMachine-test Quark

    ... \wins, \same, \wins]) a.table a.next(1); a.class; a.inspect; a.value; a = Pseq([Pfuncn({ |event| event.copy.put(\val, 1.0.rand) }, 2), Pfuncn({ |event| event.copy.put(\val, event[\max].rand) }, 2)], inf); x = a.asStream; x.next((max: 100, z ...

  4. PatternsDocumentedAndNot Help

    ... tep3add Pstep2add Pwhite Pbrown Pgeom Pseries Pbind Pevent Pnaryop Pbinop Punop Pfuncn Prout Proutine Pfunc The following lists all the Pattern classes where embedInStream uses the default Pattern-embedInStream. These create a new stream wh ...

  5. 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 ...

  6. 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 ...

  7. ddwPatternLengthEstimation Quark

    ... if({ ^repeats * patLen }, { ^inf }); } } + Pfin { estimateLength { ^count } } + Pfuncn { estimateLength { ^repeats } } // no good way to estimate # of events for Pfindur, Pstutter, a few others // maybe I'll look at them later // support fo ...

  8. 60 Hz Gabber Rave 1995 by snappizz (snappizz) Code

    ... nf).linexp(0, 1, 100, 4000), dur: Pseq(durations, inf), bend: Pfuncn({ |x| if(x < (1/2), 0.4, 1) }, inf) <> Pkey(\dur), ]), Pbind(*[ instrument: \hoover, amp: -20.dbamp, midinote: 74, ...

  9. PG_06a_Repetition_Contraint_Patterns Help

    ... tartTime = 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 p ...

  10. Pchain Help

    ... 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; ) p ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow