Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... hen you can use the values further in the Pbind to calculate things with (using Pfunc or Pkey). Class Methods . new The new method needs a mini-notation string as argument. Returns: a pattern that will return 5 values for every step. Inheri ...

  2. PmonoPar Doc

    ... r: .collect { |x| ~dur = x } .trace \amp, Pseq([0.2, 0.05], 15).trace ],[ \dur, Pfunc { ~dur / 2 }, \midinote, Pshuf((60..85)) ] ]).trace.play; ) ⧉ ✔ Ex.3: Data sharing between streams of parallel PmonoPars // data sharing between streams o ...

  3. Pif Doc

    ... = value . iffalse . iffalse = value . iftrue . iftrue = value Examples p = Pif(Pfunc({ 0.3.coin }), Pwhite(0, 9, inf), Pwhite(100, 109, inf)).asStream; p.nextN(20); // 7 of the 20 values, or roughly 30%, are in the 0-9 range: [105, 107, 10 ...

  4. Pspawn Doc

    ... a Ref : Pseq([`Pwhite(0, 9, 5), `Pwhite(10, 19, 5)], 1).asStream.all; ⧉ ✔ Hint: Pfunc is another good way to wrap patterns, because it simply returns its result values without further embedding. See the first example. Class Methods Pspawn. ...

  5. Event_patterns_and_LFOs Doc

    ... ]).sin * ~b[1]) }; p = Pbind( \dev, Ptime().collect(f), \midinote, Pkey(\dev) + Pfunc { ~add }, \amp, 0.05, \dur, 0.15 ); // add some harmonies q = Padd(\midinote, [-12, -7, 0, 5], p); r = Padd(\midinote, [0, 2.5], p); v = VarGui([70, 55].c ...

  6. Pproto Doc

    ... Instance methods Inherited instance methods Undocumented instance methods cleanupFunc embedInStream makeFunction pattern Examples Example 1, loading and granulating a sound file. Example 2, loading a waveform buffer and modifying it in perf ...

  7. PG_06d_Parallel_Patterns Doc

    ... d( \method, \par, // embed patterns in parallel // generate the subpattern in a Pfunc (so there's a new pattern each time) // Pfunc returns the pattern without rendering the stream // -- important for Pspawn // See the Pspawn helpfile for o ...

  8. PS Doc

    ... / counted embedding of event patterns ( p = Pbind( \midinote, PLseq((55..70)) + Pfunc { [0, [4,5].choose] }, \dur, 0.2 ); q = Pbind( \midinote, PLseq((80..100)), \dur, 0.05 ); x = PLseq([ PS(p, Pwhite(2,6)), PS(q, Pwhite(2,6)) ]).play; ) x. ...

  9. Pchain Doc

    ... se, Pn(1, 4)), Pbind(\mtranspose, Pn(2, 7)) ], inf); c = Prand([ Pbind(\detune, Pfuncn({ [0, 10.0].rand }, 5), \legato, 0.2, \dur, 0.2), Pbind(\legato, Pseq([0.2, 0.5, 1.5], 2), \dur, 0.3) ], inf); Pchain(a, b, c).trace.play; ) ⧉ ✔ pattern ...

  10. PG_Cookbook05_Using_Samples Doc

    ... \amp, 0.4, \start, start * b.sampleRate, \dur, beatsInLoop, \time, Pkey(\dur) / Pfunc { thisThread.clock.tempo }, \rate, Pfunc { thisThread.clock.tempo / originalTempo } ), 0.5, Pn( Pfindur(4, Pbind( \instrument, \bell, \accent, Pseq([2, Pn ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow