Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. Simple pattern-based beat slicer by davidmorgan (david_morgan) Code

    ... nd(\instrument, \smplr_m3, [\delta, \startPos], rtn, \buf, buf, \rate, Pfunc({ clock.tempo }) / bps, \amp, amp, \dur, Pfunc({ clock.beatDur }) * Pkey(\delta) ); }; ) ( TempoClock.default.tempo_(2); ~buf = Buffer.read ...

  2. Simple performance script to launch patterns a la Ableton by misc29377 (misc29377) Code

    ... \cut, Pwhite(20, 1500), \rez, Pwhite(0.1, 0.8), \amp, Pfunc({~ampBD}), )); ~p_BD2 = EventPatternProxy(Pbind( \instrument, \BD, \dur, Pseq([ Pseq([1/2, ...

  3. ddwMiscPatternExtensions Quark

    ... eat { |minDelta = 0| ^Penvir((delta: Pdiff(Ptime(inf)).asStream), Pclutch(this, Pfunc { ~delta.next > minDelta }), true) } } + Pseries { *fromEndpoints { |start, end, length = 2| (length >= 2 and: { length != inf }).if({ length = length.asI ...

  4. ddwMiscPatternExtensions Quark

    ... eat { |minDelta = 0| ^Penvir((delta: Pdiff(Ptime(inf)).asStream), Pclutch(this, Pfunc { ~delta.next > minDelta }), true) } } + Pseries { *fromEndpoints { |start, end, length = 2| (length >= 2 and: { length != inf }).if({ length = length.asI ...

  5. 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 ...

  6. Pif Quark

    ... stream) is returned if "iftrue" or "iffalse" return nil at any time. p = Pif ( Pfunc ({ 0.3.coin }), Pwhite (0, 9, inf ), Pwhite (100, 109, inf )).asStream; p.nextN(20); [ 105, 107, 107, 8, 100, 3, 105, 5, 107, 106, 1, 104, 8, 102, 102, 4, ...

  7. Pif Quark

    ... stream) is returned if "iftrue" or "iffalse" return nil at any time. p = Pif ( Pfunc ({ 0.3.coin }), Pwhite (0, 9, inf ), Pwhite (100, 109, inf )).asStream; p.nextN(20); [ 105, 107, 107, 8, 100, 3, 105, 5, 107, 106, 1, 104, 8, 102, 102, 4, ...

  8. PS Quark

    ... ounted 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)) ]). ...

  9. CV Quark

    ... ddedArray { | array| ^value.asOSCArgEmbeddedArray(array) } indexedBy { | key | ^Pfunc{ | ev | value.at(ev[key] ) } } windex { | key | ^Pfunc{ | ev | value.asArray.normalizeSum.windex } } at { | index | ^value.at(index) } put { | index, val ...

  10. 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 ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow