Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. Purno Doc

    ... dom number generator Purno([1,2,Pwhite(0,1.0,1),4],2).asStream.nextN(10); ( a = Pbind( \note, Purno((0,1..11), inf), \dur, Prand([0.2, 0.4, 0.8], inf), \amp, 0.1, \octave, 5, ).play; ) // Series selection with generators! Purno([Pwhite(0,1. ...

  2. Ndef Doc

    ... 51.3], 0, 0.2) }); Ndef(\a, { Pulse.ar([350, 351.3] / 4, 0.4, 0.2) }); Ndef(\a, Pbind(\dur, 0.03, \freq, Pbrown(0, 1, 0.1, inf).linexp(0, 1, 200, 350))); Ndef(\a, { Ringz.ar(Ndef.ar(\b), [350, 351.3] * 2, 0.4) }); Ndef(\b, { Impulse.ar([5, ...

  3. Pfin Doc

    ... , [\freq, b.next.midicps]); 0.12.wait; }) }).play; ) // or, more concisely: p = Pbind( \instrument, \help_sinegrain, \midinote, Pn(Pfin({ rrand(3, 5) }, Pseq([1, 2, 3, 4, 5, 6], inf) * 4 + 65), inf), \dur, 0.12 ).play; p.stop; ⧉ ✔ helpfile ...

  4. DWGBowed Doc

    ... = LPF.ar(son,6000); Out.ar(out, Pan2.ar(son * 0.1, pan)); }).add; ) //Use it. ( Pbind( \instrument, \help_dwgbowed, \dur , 0.25, \degree, Pseq([1,5,7+3], inf), \amp , Pseq([0.9,0.7,0.5],inf), ).play; ) ⧉ ✔ helpfile source: /usr/local/share/ ...

  5. PLexprand Doc

    ... ments, // intervals grow together with base tone ( q = PLexprand(\lo, \hi); p = Pbind( \midinote, 60 + q + PLtuple([0, q]), \dur, 0.1 ); ) // prepare current Environment ( ~lo = 0.1; ~hi = 10; ) // run x = p.play; // replace ~hi = 20; x.sto ...

  6. TempoClick Doc

    ... ; ) // TempoClick uses server.latency, just like patterns by default // so this Pbind will stay in sync with the synth ( p = Pbind( \degree, Pstutter(Pwhite(1, 4, inf), Pwhite(-2, 9, inf)) - #[0, 2, 4], \dur, Pwrand([Pseq(#[0.125, 0.375], 1 ...

  7. PLnaryFunc Quark

    ... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind ( \midinote , PLnaryFunc ( \f , \src , [ \dev] ), \dur , 0.1 ); ) // define Environment and play ( e = (f: { |x,y| x + y }, src: PLseq ([61, 62]), dev: Pb ...

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

    ... )); Out.ar(out, Pan2.ar(output, pan, 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}) ...

  9. PLwhite Doc

    ... defaults to inf ( ~lo = PLseq((60..70)); ~hi = PLseq((62..72)); ) // run ( x = Pbind( \midinote, p, \dur, 0.1 ).play; ) // replace, converging bounds, stops when ~lo ends (Pseq default repeats = 1) ( ~lo = Pseq((60..80) ++ (80!5)); ~hi = 8 ...

  10. PLseries Doc

    ... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind( \midinote, PLseries(0, \step) % 24 + 60, \dur, 0.1 ); ) // prepare Environments ( e = (step: 1); f = e.copy; ) // run e.use { x = p.play(quant: 0.1) }; f ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow