Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (81) Code (15) Doc (29) Help (15) Quark (22) SCDoc ↗ Forum ↗ Google ↗
  1. intro Quark

    ... ameters that modify the playback. // change the gap between subsequent parts: ( Pbindf(k, \gap, 0.3 ).play ) // change the playback rate ( Pbindf(k, \rate, 1.25 ).play ) // multichannel expansion // by default, the first channel guides the ...

  2. TestPattern Quark

    ... x, 7) <> (y: 8), Pbind(\y, 8) <> (x: 7), Pbind(\x, 7, \y, 8), Pn((x: 7, y: 8)), Pbindf((y: 8), \x, 7), Pbindf((y: 8), \x, Pn(7, 1)).loop, Pseq([(x: 7, y: 8)], inf), Pfset({ ~x = 7 }, Pbind(\y, 8)), Pfset({ ~y = 8 }, Pbind(\x, 7)), Pbind(\x, ...

  3. Other event and pattern shortcuts Quark

    ... annels ( p = [ m: Pwhite (60, 80, 100), d: { ( ~m > 70).if { 2 }{ 1 }/8 } ].p ) Pbindf (p, \p , -1).play(quant: 1/4) // \p for pan Pbindf (p, \p , 1).play(quant: 1/4) // same with Pmono ... ( [ m: Pwhite (60, 80, 30), d: { ( ~m > 70).if { 2 ...

  4. NodeProxyRolesSN Quark

    ... .collect(_.name); Pchain( (type: \set, id: { proxy.group.nodeID }, args: args), Pbindf( pattern, \play, Pfunc { |e| args.do { |n| e[n] !? { proxy.seti(n, e.channelOffset, e[n]) } }} ) ).buildForProxy(proxy, channelOffset, index) } ); // man ...

  5. psSet-event-type Quark

    ... , // but it should actually be local to the pattern // must protect in a Ref // Pbindf will extract its value automatically // but not use composeEvents() Pbindf(pattern, \type, \psSet, \proxyspace, currentEnvironment, \releaseHolder, `(Ide ...

  6. startup11-chordal Quark

    ... argPairs.isPattern } { out = argPairs <> out } { argPairs.size > 0 } { // out = Pbindf(out, \argKeys, argPairs[0, 2..], *argPairs); out = Pbind(\argKeys, argPairs[0, 2..], *argPairs) <> out; }; ~asPatternHook.(out) ?? { out }; }; ~acceptMID ...

  7. startup11-chordal Quark

    ... f(Routine) } } { out = Pchain(argPairs, out) } { argPairs.size > 0 } { // out = Pbindf(out, \argKeys, argPairs[0, 2..], *argPairs); out = Pbind(\argKeys, argPairs[0, 2..], *argPairs) <> out; }; ~asPatternHook.(out) ?? { out }; }; ~acceptMID ...

  8. PLn Quark

    ... 5]; p = Pbind ( \dur , Pseq ([0.4, 0.2, 0.2], inf ), \note , PLn ( \a ) ); q = Pbindf (p, \note , PLn ( \b )); x = Ppar ([p, q]).play; ) // replace the lower event stream, new notes start after end of embedding Pseq ~a = Pseq ([3, 2, 0]) + ...

  9. PSPdiv Quark

    ... vPats[i].( nextEvPatDurs[i], nextDivs[j], nextDivBases[j], nextDivTypes[j] ) }{ Pbindf( Pfin(nextEvPatDurs[i].size, evPats[i]), \dur, Pseq(nextEvPatDurs[j]) ) } ) } ); } }{ sp.suspendAll; break.value; }; queueCount = queueCount + nextQueueS ...

  10. RedMst Quark

    ... c key for next, section data, playing tracks etc //test RedTrk and RedTrk2 with Pbindf, Pmono and Pfx //possible bug with RedTrk2 and addAction. it now differs from RedTrk //somehow start quant 0 so one don't have to wait for 1 whole period ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow