Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rand(list, repeats) Choose items from the list randomly (same as list.choose ). Pxrand(list, repeats) Choose randomly, but never repeat the same item twice in immediate succession. Pshuf(list, repeats) Shuffle the list in random order, and ...

  2. Draw your waveform feat. silly pattern player by rukano (rukano) Code

    ... }.play, \octave, 3, \scale, Scale.minorPentatonic, \degree, Pn(Plazy{Pseq(Pxrand((0..4),inf).asStream.nextN(4),4)}), \dur, 1/4 ).play; // clean up w.onClose_({ b.free; x.stop; }); )

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

  5. HS Doc

    ... [], 0.2, [\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 // no u ...

  6. Lamento by 56228375 (56228375) Code

    ... s, Pkey(\dur), \a, 0.4 ); q = Pbind( \instrument, \flute, \freq, Pxrand(parser.asMidi("c5 eb5 g5 bb5 c6").midicps ++ [Rest(), Rest()], inf), \dur, Pbrown(lo:0.1,hi:1.0, step:0.125, length:inf), \a, Pkey(\dur)*0.8, \a ...

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

  8. 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( ...

  9. OSCMapper Doc

    ... s.free; ⧉ ✔ as a Pdefn ( p = Pbind( \instrument, \default, \dur, 0.5, \degree, Pxrand((0..10), inf), \amp, o['/1/fader1'].asPdefn, ).play; ) p.stop; ⧉ ✔ as a raw value o['/1/fader1'].value; ⧉ ✔ via a callback on change o['/1/fader1'].callb ...

  10. A Modular Approach To Phase Modulation by bp (bp) Code

    ... \root, -5, \octave, Pfunc{{rrand(2, 3)} ! 6}, \degree, Pxrand((0..7), inf).stutter(5), \harmonic, Pfunc{{rrand(1, 8)} ! 6}, \group, [~g0, ~g1, ~g2, ~g3, ~g4, ~g5], \in, [~b0, ~b1, ~b2, ~b3 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow