Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... e methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PDelay2(Pseq([0, 2, 4, 5], inf), 2, 4).trace+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \abc, Pseq([3, 2, 2, 0, 2, 2, 2], inf), \degree, Pkey(\abc), \amp, PDelay ...

  2. PDelay1 Doc

    ... e methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PDelay1(Pseq([0, 2, 4, 5], inf), 2, 4).trace+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \abc, Pseq([3, 2, 2, 0, 2, 2, 2], inf), \degree, Pkey(\abc), \amp, PDelay ...

  3. PL Doc

    ... .play; ) // replace with items or patterns ~a = 58; // PL had repeats = inf, so Pseq is embedded endlessly ~a = Pseq([60, 60, 58, 60, 53, 54.5, 56, 58]); x.stop; ////////////////////// // placeholder may also get event patterns ( p = PL(\a, ...

  4. PGate Doc

    ... nce methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PGate(Pseq([0, 2, 4, 5], inf), Pseq([0, 0, 0, 1, 1, 1, 1, 1], inf)).trace*5+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PGate(PSaw(64, 0.5, 0.5), PSinOsc( ...

  5. Rest Doc

    ... onds (note: Rest(), dur: 2).play; // intersperse pauses in pattern Pbind(\note, Pseq([0, 4, 7, 11], inf), \dur, Pseq([2, 1, Rest(1)], inf) / 5).play; ⧉ ✔ Expressing rests in event patterns The Rest class allows rests to be indicated in any ...

  6. Psetpre Doc

    ... .asStream; 9.do({ x.next(Event.new).postln }); ) ( var a, b; a = Psetpre(\freq, Pseq([401, 801], 2), Pbind(\dur, 0.5)); x = a.asStream; 9.do({ x.next(Event.new).postln }); ) // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, su ...

  7. Streams-Patterns-Events4 Doc

    ... nd stream returns nil whenever the first one of its streams ends. Pbind( \freq, Pseq([440,880]) ).play ⧉ ✔ An event stream is created for a Pattern by sending it the asStream message. What Pbind does is to produce a stream which puts the va ...

  8. EventStream Doc

    ... quires an event to be passed in, often the default event is used: t = Pbind(\x, Pseq([1, 2, 3])).asStream; // Pbind, e.g. creates a stream t.next(Event.default); t.next(Event.default); ⧉ ✔ An event stream cannot be played directly with a cl ...

  9. AlgaMonoPattern Doc

    ... /Simple example ( Alga.boot({ //Our mono sequencer ~seq = AlgaMonoPattern(( in: Pseq([220, 440, 880], inf), time: Pseq([0.05, 0.1, 0.5], inf), dur: 0.5 )); //The AlgaNode to modulate ~sine = AlgaNode({ SinOsc.ar(\freq.kr(440)) }, [\freq, ~s ...

  10. PIdev Doc

    ... v = -1; ~hiDev = 1; ~lookBack = 2; p = Pbind( \dur, 1/7, \midinote, PIdev( Pseg(Pseq([65, 90], inf), 5, \sin).round, 11, Pfunc { ~loDev }, Pfunc { ~hiDev }, Pfunc { ~lookBack } ).trace(prefix: "midi "), ).play; ) // widen range and increase ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow