Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. VoicerSequencer Quark

    ... utArg( \ffreq , Pseq ([ Pgeom (800, 1.2, 18)], inf )); q.putArg( \pan , Pseq ([ Pseries (-1, 0.05, 40)], inf )); q.stop; // you should stop the sequencer before stopping the clock; // otherwise some notes may get stuck v.free; t.stop;

  2. VoicerSequencer Quark

    ... utArg( \ffreq , Pseq ([ Pgeom (800, 1.2, 18)], inf )); q.putArg( \pan , Pseq ([ Pseries (-1, 0.05, 40)], inf )); q.stop; // you should stop the sequencer before stopping the clock; // otherwise some notes may get stuck v.free; t.stop;

  3. ProtoEvent Quark

    ... ); Proto ({ ~event = (eventKey: \composite ); ~asPattern = { Pbind ( \number , Pseries (1, 1, inf ), \protoEvent , Prand (#[ \a , b], inf ), \delta , 0.5) }; }) => BP ( \comp ); BP ( \comp ).play; BP ( \comp ).stop; BP ( \comp ).free; Sche ...

  4. ProtoEvent Quark

    ... ); Proto ({ ~event = (eventKey: \composite ); ~asPattern = { Pbind ( \number , Pseries (1, 1, inf ), \protoEvent , Prand (#[ \a , b], inf ), \delta , 0.5) }; }) => BP ( \comp ); BP ( \comp ).play; BP ( \comp ).stop; BP ( \comp ).free; Sche ...

  5. PSdup Quark

    ... e is used, // so it's easiest to wrap the original pattern into a PS ( p = PS ( Pseries ()); q = PSdup (p); // PSx patterns have a state and, in this regard, behave like Streams. // However, like other Patterns, for generating they must be ...

  6. SmoothSlider Quark

    ... ({ var pt; pt = PintC ( Pseq ( [b.value, Pwhite ( 0.0 , 1.0 , inf )], 1 ), 1 / Pseries ( 2 , 0.25 , inf ) ).asStream; b.doAction; 100 .do({ |i| b.value = pt.next; b.background = Color .red.alpha_(0.5).blend( Color .black.alpha_( 0.25 ), i/ ...

  7. TestPatternProxy Quark

    ... n( 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: Pfin(2, x))) }, { |x| Psym1(Pseq([\a, \b], ...

  8. PLbindefPar Quark

    ... ive structures ( PLbindefPar ( \add , 12, \i , \sin_grain , \d , 1, \m , { Pn ( Pseries (rrand(40, 60), Pwhite (1.0, 3), 20)) } ! 12, \att , 5, \rel , 5, \a , 0.005 ).play ) ~add .f = { PLseq ((1..16)) * (100 + Pwhite (0.0, 3)) } ! 12 ~add ...

  9. SmoothRangeSlider Quark

    ... pt; pt = PintC ( Pseq ( [b.value, Pwhite ( 0.0 .dup, 1.0 .dup, inf )], 1 ), 1 / Pseries ( 2 , 0.25 , inf ) ).asStream; b.doAction; 100 .do({ |i| b.value = pt.next; b.background = Color .red.alpha_( 0.5 ).blend( Color .black.alpha_( 0.25 ), ...

  10. PLx suite Quark

    ... ll inputs of a source pattern x can be dynamically updated (e.g. the start of a Pseries), not all of them are allowed to be Patterns itself. Implementation and usage may differ a bit from class to class. If there is no PLx implementation of ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow