Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Sieves and Psieve patterns Quark

    ... defined to produce 'points' it can e.g. be wrapped into a Pdiff). Sieve .union( Pseq ([1, 10], inf ), 5, 7, `30) Sieve .union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one arg ...

  2. Verbosity Quark

    ... ct = (key: \otto); // if the object understands .key, key gets shown g.object = Pseq([1, 2, 3], inf); g.close; */

  3. PLser Quark

    ... replace repeats ~r = 3; // replace array elements ~ a[0] = [77, 93.5]; ~ a[2] = Pseq ((94..96)); // replace whole array ~ a = [55, 52]; x.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLser ( \a, 3 ) ...

  4. TempoClick Quark

    ... ter ( Pwhite (1, 4, inf ), Pwhite (-2, 9, inf )) - #[0, 2, 4], \dur , Pwrand ([ Pseq (#[0.125, 0.375], 1), 0.25, 0.5, 0.75], #[1, 4, 3, 1].normalizeSum, inf ), \sustain , max(0.12, Pkey ( \dur ) * Pwrand (#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], ...

  5. TempoClick Quark

    ... ter ( Pwhite (1, 4, inf ), Pwhite (-2, 9, inf )) - #[0, 2, 4], \dur , Pwrand ([ Pseq (#[0.125, 0.375], 1), 0.25, 0.5, 0.75], #[1, 4, 3, 1].normalizeSum, inf ), \sustain , max(0.12, Pkey ( \dur ) * Pwrand (#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], ...

  6. PHSparPlayer Quark

    ... ve segment, alternate register, small random add for pitch ~pitchBaseStream = ( Pseq ([60,80], inf ) + Pwhite (0.0,5.0)).asStream; p = PHSpar (h, 2, // switchDur = half phase of sine wave Pseq ([0,1], inf ), // switchIndex [ \center , ~pitc ...

  7. UGenPatterns Overview Quark

    ... s... (only standard patterns) a= Pbind ( \dur , 0.25, \freq , Pn ( Pstutter (4, Pseq ([800, 400])))+(sin( Ptime ()/ Pkey ( \dur )*2pi*(1/40))*10).trace).play a.stop //and the equivalent (well, roughly) synth as well... (compare how time is ...

  8. saybuf_premake Quark

    ... */ // and play the piece ( Pdef(\nightmare, Pbind( \instrument, \saybuf, \buf, Pseq(~bufs), \dur, Pn(Pgeom(0.5, 0.992, 250), 4) * Pn(Pgeom(1, 0.99, 143), 7), \pan, Pwhite(-1.0, 1.0), \rate, Pbrown(0.9, 1.1, 0.02) * Pwrand([1, -1], [0.9, 0. ...

  9. SlaveTempoClock Quark

    ... .ceil) * 5.3); // Have some Pbind fun with this clock ( ~bind = Pbind( \degree, Pseq([1,5,3,2,6,9,11], inf), \dur, 1, \octave, 4, \root, 3, \amp,0.1 ).play(~slaveClock) ) // Stop the madness! ~bind.stop */ SlaveTempoClock { var clock, start ...

  10. PLrand Quark

    ... ] = 97; e.a[0] = 96; // ... or arrays f.a = (72, 72.5..77); e.a = [60]; e.a = [ Pseq ([60, 47.5]) + [0, 5], [61, 65.5]]; x.stop; y.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLrand ( \a ); ~a = [ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow