Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... he Routine to do, so that stream is over; it can only yield nil thereafter. p = Pseries(0, 1, 3).asStream; // this will yield exactly 3 values 4.do { p.next.postln }; // 4th value is nil ⧉ ✔ We saw that list patterns can contain other patte ...

  2. PG_06g_Data_Sharing Doc

    ... imple - the higher the note, the shorter the length ( p = Pbind( \degree, Pseq([Pseries(-7, 1, 14), Pseries(7, -1, 14)], inf), \dur, 0.25, // \degree is EARLIER in the Pbind \legato, Pkey(\degree).linexp(-7, 7, 2.0, 0.05) ).play; ) p.stop; ...

  3. Pdiff Doc

    ... and previous values of an enclosed pattern Source: FilterPatterns.sc See also: Pseries Description A pattern that returns the difference between the current and previous values of an enclosed pattern. Class Methods Inherited class methods ...

  4. Rest Doc

    ... \degree, Pif( 0.1.loop.coin, Pseq([Rest(), 7], inf), // every second is a Rest Pseries(0, 1, inf).fold(-7, 7) ), \dur, 0.125 ).play ) ⧉ ✔ Using a Rest instance in a duration stream ( Pbind( \degree, Pseries(0, 1, inf).fold(-7, 7), \dur, Ps ...

  5. PHasher Doc

    ... ethods Examples {Hasher.ar(Line.ar(-1, 1, 0.1).round(0.02))}.plot(0.1); PHasher(Pseries(-1, 0.02, 100)).asStream.nextN(100).plot; //similar a= Pbind(\dur, 0.1, \midinote, PHasher(PLFSaw(8), mul:6, add:60)).play a.stop a= Pbind(\dur, 0.1, \m ...

  6. PG_06e_Language_Control Doc

    ... d every time whenever this pattern object plays \degree, Pseed(0x7FFFFFFF.rand, Pseries({ rrand(-7, 0) }, Pwhite(1, 3, inf), { rrand(4, 10) })), \dur, 0.25 ); q = p.play; // uses one seed q.stop; r = p.play; // uses the same seed r.stop; // ...

  7. PG_01_Introduction Doc

    ... "Give me an infinite series of numbers starting with 0, increasing by 1"? With Pseries , you can. (Here, keyword addressing of the arguments is used for clarity, but start , step and length can be omitted.) a = Pseries(start: 0, step: 1, l ...

  8. Dseries Doc

    ... mand , Dgeom , Duty , TDuty Description Demand rate arithmetic series UGen. See Pseries for structurally related equivalent. Class Methods Dseries. new ( start: 1 , step: 1 , length: inf ) Arguments: start Start value. Can be a number or an ...

  9. PG_04_Words_to_Phrases Doc

    ... p, up, down (repeat) ( TempoClock.default.tempo = 1; p = Pbind( \degree, Pseq([ Pseries({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1) Pseries({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1) Pseries({ rrand(7, 14) }, -1, { rr ...

  10. Pgeom Doc

    ... bstractFunction : Object geometric series pattern Source: Patterns.sc See also: Pseries Description Returns a stream that behaves like a geometric series. Class Methods Pgeom. new ( start: 0 , grow: 1 , length: inf ) Arguments: start start ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow