Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. preprocessor-generators Quark

    ... / let's reuse that for the number of repeats ~makeStream = { ~seqStream = Pdup( Pfunc { max(1, ~offset.next) }, Prand(~pool.asArray, inf) ).collect(_.item).asStream; }; ~embedInStream = { |inval| Pdup(Pfunc { max(1, ~offset.next) }, Prand(~ ...

  2. Working with HS and HSpar Quark

    ... HSuse by the local variable ~val , e.g. by Pkey ( \val ) or a construction with Pfunc . In the case of several help synths (HSpar), there is the option of defining a separately timed pattern to switch between playing help synths, always mar ...

  3. PLbindef Doc

    ... xo, PLseq([0, 0, 1, 2]), // echo introduces delay, so do delay if no echo \lag, Pfunc { |e| e.fxo.asArray.includes(1).if { 0 }{ 0.2 } }, \a, 0.1, \att, 0.01, \rel, 0.1, \cd, Pkey(\att)+ Pkey(\rel) + 0.001 ); PLbindef(\echo, \fx, \echo, \dta ...

  4. PG_Cookbook08_Swing Doc

    ... ], 1), \dur, Pwhite(1, 3, inf) * 0.25 ), (swingBase: 0.25, swingAmount: 0.2) ), Pfuncn({ q.stop; Event.silent(1) }, 1) ]) ]).play; ) ⧉ ✔ Swing should not apply to triplets. Note that the rhythmic value 1/6 introduces floating-point rounding ...

  5. TestPatternProxy Quark

    ... 10), (zz: 10, yy: 2)], inf)) }, { |x| Pchain( Pbindf(x, \xx, Pseq([1, 2]), \yy, Pfunc { |event| event[\zz] } ), Pbind(\zz, Pseries()) ) }, { |x| Pfindur(2, x).loop }, { |x| Ppar([x, Plazy { x }]) }, { |x| Psym(Pseq([\a, \b], 2), (a: x), (b: ...

  6. UtopiaExamplesMultiUser_1 Quark

    ... freq ~params[\freq] = 880; // somebody else start playing ~pbind = Pbind(\freq, Pfunc({~params[\freq]})).play; // somebody else change it ~params[\freq] = 660; ~pbind.stop; /* Notes about OSCObjectSpace 1. Only objects which can be archived ...

  7. Tdef Help

    ... Ppar ([ Pbind ( \dur , Tdef ( \z ), \note , Pseq ([1, 3, 2, 1, 0], inf ), \x , Pfunc { TempoClock .default.elapsedBeats.postln } // posts the onset times ), Pbind ( \dur , 4, // reference beat \sustain , 0.1, \note , 8 ) ]) ).play(quant:1) ...

  8. ChordtrisSoundModule Quark

    ... ***** Pattern definitions for the first voice ***** // part 1 var cond6b = Pif( Pfunc { Pdefn(\scale).source == Scale.harmonicMinor }, 6b, 6); var notes_voice1_part1 = Ppatlace([4, 1, 2, 3, 2, 1, 0, 0, 2, 4, 3, 2, 1, 2, 3, 4, 2, 0, 0, \p, 3 ...

  9. Guide_to_HS_and_HSpar Doc

    ... / PHSuse by the local variable ~val , e.g. by Pkey(\val) or a construction with Pfunc . In the case of several help synths (HSpar), there is the option of defining a separately timed pattern to switch between playing help synths, always mar ...

  10. PLbindefPar Quark

    ... , PLseq ([0, 0, 1, 2]), // echo introduces delay, so do delay if no echo \lag , Pfunc { |e| e.fxo.asArray.includes(1).if { 0 }{ 0.2 } }, \a , 0.03, \att , 0.01, \rel , 0.1, \cd , Pkey ( \att )+ Pkey ( \rel ) + 0.001 ); PLbindef ( \echo , \f ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow