Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Debugging-tips Doc

    ... d(\degree, Pwalk((0..14), Pdup(Pwhite(1, 4, inf), Prand(#[-2, -1, 1, 2], inf)), Pseq(#[-1, 1], inf), 0), \delta, 0.25, \sustain, 0.2, \instrument, \default).trace.play; p.stop; ⧉ ✔ Debugging infinite loops or recursion while(true); ⧉ ✔ This ...

  2. preprocessor Quark

    ... de[.. ~eqIndex - 1].split($.).collect { |str| Func(\strTrim).eval(str) }; ids = Pseq(ids).asStream; // class (I expect this won't be used often) test = ids.next; if(test.first.isUpper) { ~clClass = test.asSymbol.asClass; test = ids.next; }; ...

  3. Symbol Doc

    ... ample operations on lists of notes which contain 'rest's to preserve the rests. Pseq([1, 3, \rest, 2, 4] + 8); . applyTo ( firstArg ... args ) Use the symbol as a method selector and perform the message on firstArg, with args as arguments. ...

  4. PG_08_Event_Types_and_Parameters Doc

    ... e tempo will affect all patterns playing on the same clock. Pbind( \curve, Pseg(Pseq([0, 1, 0], 1), 15), \degree, Pwhite(-7, 0, inf) + Pkey(\curve).linlin(0, 1, 0, 14).asInteger, \dur, 0.5, \tempo, Pkey(\curve).linlin(0, 1, 1, 10) ).play; ⧉ ...

  5. BP Doc

    ... buf.sampleRate }; ~time = Pwhite(0.1, 0.3, inf); ~pan = Pwhite(0.6, 0.8, inf) * Pseq([-1, 1], inf); ~dur = Pwhite(1, 4, inf) * 0.125; ~asPattern = { Pbind( \bufnum, ~buf, \dur, BPStream(\dur), \time, BPStream(\time), // must be first; dur d ...

  6. AbstractFunction Doc

    ... s { SinOsc.ar(440, 0, 0.2) + PinkNoise.ar(0.1); }.play ⧉ ✔ // Add two Patterns (Pseq([1, 2, 3, 4]) + Prand([0, 0.1, -0.1], inf)).asStream.nextN(5); ⧉ ✔ // Add two NodeProxies Ndef(\x, { SinOsc.ar(440, 0, 0.2) }); Ndef(\y, { PinkNoise.ar(0.1 ...

  7. pitch-processes Quark

    ... e.scale.size, degree div: mode.scale.size] } { [Rest(0), Rest(5)] } }, \accent, Pseq([inEvent[\top][\accent] ?? { false }, Pn(false, inf)]), \acc, Pkey(\accent).collect(_.asInteger) ); out = Pchain(BPStream(\defaults), out, Pfunc { |ev| ev. ...

  8. VarGui Quark

    ... the EventStreamPlayer will be playing p = Pbind ( \midinote , Pfunc { ~midi } + Pseq ([0, 3, 5, 7], inf ), \dur , 0.2) // VarGui to set this variable. // As a pattern is given as stream arg the derived EventStreamPlayer will run in a new en ...

  9. VarGui Doc

    ... h the EventStreamPlayer will be playing. p = Pbind(\midinote, Pfunc { ~midi } + Pseq([0, 3, 5, 7], inf), \dur, 0.2) ⧉ ✔ VarGui to set this variable. As a pattern is given as stream arg the derived EventStreamPlayer will run in a new environ ...

  10. Function Doc

    ... | (1.8 ** (degree % stepsPerOctave) + acc).postln }; Pbind( \scale, f, \degree, Pseq([0, 1, 2b, 3s, 4s, 6, 14, [0, 2, 4], [1, 3, 6]], inf) ).play ) ⧉ ✔ Exception Handling For the following two methods a return ^ inside of the receiver itsel ...

prev 121 122 123 124 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow