Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. MxDocument Quark

    ... = doc; MxUnit(doc, [], []); }, didLoad: { ~evalCode.value(); }, evalCode: { var pn; try { ~source.eval } { arg e; ~source.error; e.errorString.postln; e.reportError } }, save: { ~source }, load: { arg doc; doc }, name: { ~source.name }, gui ...

  2. particle_system_without_graphics Quark

    ... \y, Pseq([60, 65, 63, 56, 80], inf).midicps.explin(50, 2000, -1, 1), \z, Pseq([Pn(0.25, 5), Pn(0, 3)], inf) )).play; ) ( Pdef(\mel, Pbind( \type, \spring, \dur, 0.5, \x, Pseq([0, -1, 1, 0.5, 0, 0.5, 0], inf), \y, Pseq([0.5, 0.4, 0.3, 0.2, ...

  3. ksBass-demo Quark

    ... 1/4, 1/4, 1/4, 1/4, Rest(1/6), 1/3, 1/4, 1/4, 1/4, 1/4, 1]) * 1.25, \rel, Pseq([Pn(0.3, 34), 0.6]), \ctranspose, -18, \amp, 0.3, \degree, Pseq([-2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, -5, -4, -4, \rest, -3, -2, -2, \rest, -2, 0, 1, 0 ...

  4. GenericSpace Quark

    ... "_").postln; if(segIndex.isNil) { ^nil }; proxy = switch(str[0..segIndex - 1], "pn", { PatternProxy.new }, "pe", { EventPatternProxy.new }, "t", { TaskProxy.new }, "n", { proxyspace.at(key) }, "f", { Maybe.new } ); if(this.clock.notNil and: ...

  5. ChuckExamples Quark

    ... note numbers -- .asChord method does this for me #{ |notes| notes.isArray.if({ Pn (notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, in ...

  6. ChuckExamples Quark

    ... note numbers -- .asChord method does this for me #{ |notes| notes.isArray.if({ Pn (notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, in ...

  7. PIdev Quark

    ... ~hiDev = 1; ~lookBack = 2; p = Pbind ( \dur , 1/7, \midinote , PIdev ( 78, 10, Pn ( Plazy { ~loDev }), Pn ( Plazy { ~hiDev }).trace(prefix: "absolute deviation " ), Pn ( Plazy { ~lookBack }) ).trace(prefix: "midi " ); ).play ) // start par ...

  8. OtherPatterns Quark

    ... ase { indices.isKindOf(Function) || indices.isKindOf(SequenceableCollection) }{ Pn(indices) } { indices.isKindOf(Pattern) }{ indices }.asStream; loopFuncStream = case { loopFunc.isKindOf(Function) }{ Pn(loopFunc) } { loopFunc.isKindOf(Patte ...

  9. README Quark

    ... .tempo = 124/60; ~player = \psSet -> Pbind( \skipArgs, [\amp], \midinote, Pseq([Pn(36, { rrand(3, 8) }), 39], inf), \dur, Pwrand([0.25, 0.5], [0.9, 0.1], inf) ); // filter eg ~ffreq = 400; ~feg = { |t_trig = 1, freqMul = 25| var eg = EnvGen ...

  10. TestPatternProxy Quark

    ... orString, false) }; var functions = [ { |x| x }, { |x| Pseq([x, 2, 3]) }, { |x| Pn(x, 3) }, { |x| Pswitch([10, 20, 30], x) }, { |x| Pswitch([10, x, 30], Pseq([0, 1, 2], 2)) }, { |x| Pfin(6, x) }, { |x| Pn(Pfin(4, x)) }, ]; var sources = [ 1 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow