Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. ServerRegistry and PeerGroup Tests Quark

    ... / similarly, we can use any list pattern with a PeerGroup, since it is an Array Pbind(\server, Pseq(~gm[\twoServers], inf), \dur, 0.1).play Pbind(\server, Pseq(~reg.values, inf), \dur, 0.1, \degree, Pseq((0..9), 1)).play // AddrBook methods ...

  2. TelepathicClock Quark

    ... XLine.kr(0.1, 0.0001, sustain, doneAction: 2) * SinOsc.ar(freq, 0.5pi)) }).add; Pbind(\freq, 810, \sustain, 0.5, \dur, 1, \instrument, \x).play(t, quant:1); Pbind(\freq, 8110, \sustain, 0.5, \dur, 1, \instrument, \x).play(x, quant:1); Pbind ...

  3. TelepathicClock Quark

    ... eq, 0, 0.2);\ OffsetOut .ar(0, Pan2 .ar(z*e, pan));\ \).store;\ \ \ Pdef ( \ ,\ Pbind ( \ , \ ,\ \ , Pseq ((0..7), inf ),\ \ , 0.25, \ , -0.5, \ , 0.5\ )\ ).play(t);\ \ Pdef ( \ ,\ Pbind (\ \ , \ ,\ \ , Pseq ((0..7), inf ) + 7,\ \ , 0.25, \ ...

  4. EventShortcuts Quark

    ... ventShortcuts .postAll // play an Event with midinote 70 (m: 70).play // play a Pbind ( Pbind ( \m , Pwhite (60, 90, 20) + [0, -7], // midinote \p , Pwhite (-1.0, 1), // pan \l , 3, // legato \s , 0.1, // strum \d , 0.5 // dur ).play ) // d ...

  5. ClockProxy Quark

    (\ t = ClockProxy ( TempoClock .default);\ s.boot;\ );\ \ Pbind ( \ , \ , \ , 0.1, \ , 0.25, \ , 679).play(t);\ \ \ t.clock = TempoClock (2).permanent_( true );\ u = t.clock;\ \ t.clock = TempoClock (0.42).permanent_( true );\ u.stop;

  6. PatternDurFix2 Quark

    ( ~dur = 1; p = Pbind( \degree, Pwhite(0, 7, inf), \dur, Pfuncn({ var a = ~dur.next; a.postln; a }, inf) ).playRescheduling(quant:1) ) p.reschedule(2); p.algaSchedAtQuantOnce(1, { "ye".postln; ~dur = 0.5 }) p.algaSchedOnce(0.1, { "ye".postl ...

  7. PSloop Quark

    ... mmediate loop change by setting doSkip to 1 ~lookBack = 0; ~doSkip = true ; p = Pbind ( \dur , 1/5, \midinote , PSloop ( Prand ((60..80), inf ), bufSize: 10, lookBack: { ~lookBack }, doSkip: { ~doSkip } ) ).play ) // wait a bit to fill buff ...

  8. startup14-perc Quark

    ... ultSubType; // abstract process based on buffers // the process generates a new Pbind per cycle // amp pattern is specified in terms of subdivisions: // #[0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0] will sound on beats 2 and 4 // if ~di ...

  9. PLslide Quark

    ... step = 1; ~start = 0; ~a = [60, 61, 62, 70, 71, 72, 80, 81, 82]; ) // run ( x = Pbind ( \midinote , p, \dur , 0.2 ).play; ) // replace list elements ~a[0] = 60.5; ~a[8] = Pseq ([92, 80.5], 1); // len and step can be replaced by Patterns // ...

  10. PsymNilSafe Quark

    ... mNilSafe.new. Example ( s = Server .local; Server .default = s; s.boot; ) ( x = Pbind ( \midinote , Pseries (60, 1, 10), \dur , 0.5).asStream; y = Pbind ( \midinote , Pseries (90, -1, 10), \dur , 0.5).asStream; z = Pseq ([2, 3, 1, 2], 1).as ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow