Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (119) Code (25) Doc (43) Help (17) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. HS Quark

    ... , [ \instrument , \simpleMorph , \midinote , Pkey ( \val ) * 30 + 60 + [0, 9] + Pxrand ([0, 1.5, -1.5], inf ), \amp , 0.07, \morphQ , Pkey ( \val ) ] ).play(c,q); ) // sync it with a normal pbind (EventStreamPlayer) with default instrument ...

  2. Psmartstutter Quark

    ... r while it's trivial with Psmartstutter. p = Psmartstutter ( Pfunc ({ |n| n }), Pxrand ((1..5), inf )).asStream; p.nextN(20); [ 1, 5, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 1, 2, 2, 3, 3, 3, 2 ] If you want lower return values to be repeated more ...

  3. Psmartstutter Quark

    ... r while it's trivial with Psmartstutter. p = Psmartstutter ( Pfunc ({ |n| n }), Pxrand ((1..5), inf )).asStream; p.nextN(20); [ 1, 5, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 1, 2, 2, 3, 3, 3, 2 ] If you want lower return values to be repeated more ...

  4. startup20-basicChordBits Quark

    ... ({ Pn(notes.asChord, 1) }, { Pn(notes, 1) }); } => ArpegPat(\block); #{ |notes| Pxrand(notes, inf) } => ArpegPat(\xrand); #{ |notes| Pseq(notes.sort, inf) } => ArpegPat(\up); #{ |notes| Pseq(notes.sort({ |a, b| a > b }), inf) } => ArpegPat( ...

  5. startup20-basicChordBits Quark

    ... ({ Pn(notes.asChord, 1) }, { Pn(notes, 1) }); } => ArpegPat(\block); #{ |notes| Pxrand(notes, inf) } => ArpegPat(\xrand); #{ |notes| Pseq(notes.sort, inf) } => ArpegPat(\up); #{ |notes| Pseq(notes.sort({ |a, b| a > b }), inf) } => ArpegPat( ...

  6. PIdev Quark

    ... ~rhythms [ _ ]).flatten * 0.3, \midinote , Pstutter ( Pwhite (1, 2), Pclump (3, Pxrand ((50..100), inf ))).flatten + [0, 12], \pan , Pstutter ( Pwhite (1, 2), Pclump (3, Pwhite (-1.0, 1))).flatten ).play; ) p.stop Ex.8) Proof of concept ( / ...

  7. ChuckHacking Quark

    ... .global.read; BP ( \flexscale ).play; // chuck new patterns into the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment ...

  8. ChuckHacking Quark

    ... .global.read; BP ( \flexscale ).play; // chuck new patterns into the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment ...

  9. PLIdev Quark

    ... ~rhythms [ _ ]).flatten * 0.3, \midinote , Pstutter ( Pwhite (1, 2), Pclump (3, Pxrand ((50..100), inf ))).flatten + [0, 12], \pan , Pstutter ( Pwhite (1, 2), Pclump (3, Pwhite (-1.0, 1))).flatten ).play; ) // more variation by larger devia ...

  10. Proto Quark

    ... ivial example (sc output in purple): ( n = Proto .new({ // a variable ~stream = Pxrand ([0, 2, 4, 5, 7, 9, 11], inf ).asStream; // a "method" ~next = { ~stream.next }; }); // keep the method, but change the variable o = n.clone({ ~stream = ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow