Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (572) Code (144) Doc (154) Help (54) Quark (220) SCDoc ↗ Forum ↗ Google ↗
  1. PG_Cookbook01_Basic_Sequencing Help

    ... ld hear a C major triad in first inversion. ( p = Pbind ( \degree , Pseries (7, Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf ), inf ).fold(0, 14) + Prand (#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf ), \dur , Pwrand (#[1, 0.5], ...

  2. How to tempo-sync LFOs in Patterns across multiple instances of a Synth by 0-4w (defaultxr) Code

    ... env * amp)); }).add; Pdef(\lfo_demo, Pbind(\instrument, \temposync, \dur, Pwhite(0.1, 1.0, inf), \legato, 1, \tbeat, Pfunc({thisThread.clock.beats}), \tempo, Pfunc({thisThread.clock.tempo}), ));

  3. PLIdev Doc

    ... efix: "rhythm type: ") .collect(~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 ...

  4. PSdup Quark

    ... sp. p y.nextN(10) // data sharing with event patterns ( p = Pbind ( \midinote , Pwhite (60, 90) + PLrand ([0, 0, [0, -3]]), \dur , PLrand ([0.2, 0.4]), \amp , PLrand ([0.07, 0.12, 0.2]), \type , Pfunc { 0.1.coin.if { \rest }{ \note } }, \pa ...

  5. Night creatures by ttsesmetzis (ttsesmetzis) Code

    ... nd( 50 ) ); dur = [ Pseq( [ 0.15.rrand( 0.2 ), Pwhite( 1.0, 4.0, 1 ) ], inf ), Pgauss( 3.rrand( 4.0 ), 1.0, 1 ) ].wchoose( [ 0.05, 0.95 ] ); amp = [ rrand( -35.0, -28.0 ...

  6. Prewrite Doc

    ... e, Pseq((3..0)))); // Random scale degrees Pdef(\c, Pbind(\dur, 0.125, \degree, Pwhite(0, 10, 8))); // Use the L-system to put together a sequence of keys // Psym will then retrieve the patterns from the global Pdef dictionary // See the po ...

  7. LocalBuf Help

    ... ction: 2)) // inverse FFT }).add; ) ( Pbind ( \instrument , \fftgrain , \rate , Pwhite ().linexp(0, 1, 0.01, 300), \legato , Pwhite (1, 3.0, inf ), \dur , Prand ([0.2, 1, 1.2], inf ) ).play ) // IndexL ( { var buf = LocalBuf .newFrom((0..5) ...

  8. Rough Draft Final by kkomers (kkomers) Code

    ... ow"); // using it in a Pbind ( Pbind( \instrument, "wow", \freq, Pwhite(50, 2000), \dur, Pwhite(0.5, 2), \amp, 1 ).play; ) ( SynthDef("guitar2", { arg freq, amp, pan = 0; var out, pluck, period, string; fr ...

  9. ModalSpec Quark

    ... ttom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \notes ]) }), \dur , Pwhite (1, 4, inf ) * 0.5, \instrument , \default ).play; p.stop; // better way if you do this kind of thing often: // create a new protoevent, replacing the ~f ...

  10. ModalSpec Quark

    ... ttom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \notes ]) }), \dur , Pwhite (1, 4, inf ) * 0.5, \instrument , \default ).play; p.stop; // better way if you do this kind of thing often: // create a new protoevent, replacing the ~f ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow