Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  2. 04_Multichannel_Expansion Quark

    ... pattern element, triggering 3 instances simultaneously. a = AlgaPattern(( def: Pseq([\sine3, \saw], inf), dur: 0.5, freq: Pwhite([100, 200, 300], [400, 800, 1200]) )).play(chans: 2, scale: 0.5) }); ) //Change the multichannel mode. Now \sa ...

  3. Event patterns and Functions Quark

    ... mmon attributes are: period length = 2, magnitude relation of items = 1:10) p = Pseq ([1,10], inf ) * Pfunc { ~a }; An even more generalized operation is the use of Pcollect, which defines the following Stream behaviour: Output of the sourc ...

  4. Silly Voice by bruno-ruviaro (Bruno Ruviaro) Code

    ... respond to number 0 1 2 3 4 // Example 1 ( Pmono( "sillyVoice", \note, Pseq([5, 7, 9, 11], inf), \ctranspose, -14, \dur, Pwhite(0.61, 1.7), \amp, 0.2, \vibratoSpeed, Pwhite(6,7), \vibratoDepth, 4, \vowel, Pwrand([0, 2], ...

  5. PLswitch Quark

    ... ay // PLseq defaults to repeats = inf ( ~a = (70..75) ++ Pshuf ((85..80), 2) ++ Pseq ((90..94)); ~w = PLseq ((0..7)); x = Pbind ( \midinote , p, \dur , 0.1).play; ) // update array element ~a[2] = Pseq ([86, 85], 2) + [0, 3]; // reverse ind ...

  6. PG_Ref01_Pattern_Internals Help

    ... back to the list pattern to get the next item, which is embedded and so on. p = Pseq ([ Pseries (0, 1, 3), Pgeom (10, 2, 3)], 1).asStream; p.next; // Pseq is embedded; first item is Pseries(0...), also embedded // Control is now in the Pser ...

  7. Pn Help

    ... rn. This can be used to advance Patterns enclosed by Pgate ( var a, b; a = Pn ( Pseq (#[1, 2, 3], 1), 4); // repeat pattern four times b = a.asStream; 16.do({ b.next.postln; }); ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, ...

  8. TestPattern6 Quark

    ... }); ) a.from(c, \buf, time:2, sched:1) a.from(b, \buf, time:2, sched:1) a.from(Pseq([b, c], inf), \buf, time:0, sched:1) a.from(0.5, \dur, time:2, sched:1) a.from(0.25, \dur, time:2, sched:1) a.from(b, \buf, sched:1) a.from(c, \buf, sched: ...

  9. PCombN Doc

    ... ce methods Examples s.boot; a= Pbind(\dur, 1/3, \legato, 0.4, \midinote, PCombN(Pseq([12, 0, 0, 0, 0, 0, 0, 0, 0, 0], inf), 3, 3, 0.5).trace+50).play a.stop a= Pbind(\dur, 1/6, \legato, 0.2, \amp, PCombN(PImpulse(16), 2, 2, 0.25).trace).pla ...

  10. KendhanganReader Doc

    ... thods Examples KendhanganReader.strokeMap; a = KendhanganReader.convert("ttpb") Pseq(a).play // nonsensical - kendhangan requires drumsounds a = KendhanganReader.convert("ktktkpiboobpoobp"); // see the events a.do({|i| i.postln; }); ⧉ ✔ hel ...

prev 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow