Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (458) Code (127) Doc (139) Help (76) Quark (116) SCDoc ↗ Forum ↗ Google ↗
  1. BufEnvir Doc

    ... ) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth(\help_PlayBuf, [ \bufnum, q.b[\apollo], \rate, 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset, 1.0.rand, \sustain, dt * rrand(1.0, 1.3 ...

  2. CampCutProc Doc

    ... 0,2,4],[2,4,6],Array.new(0)]; //choose random indices method= Pseq([Pseq([8],1),Prand([0,1,2,3,4,5,6,7],inf)],1).asStream; campstream= CampStream.new(pdata,method,8); BBCut2(CutBuf1(f),CampCutProc.new(campstream,{[0.5,1.0,2.0].choose})).pla ...

  3. PS Doc

    ... o store a sequence of 6 events ( p = Pbind( \midinote, Pwhite(60, 90, 6), \dur, Prand([0.2, 0.4], inf) ); // As the sequence ends with nil, nil is also stored in the buffer of PStream's MemoRoutine. // Hence to store the whole sequence we m ...

  4. EnvirGui Doc

    ... e built-in EnvirGui in TdefGui: TdefGui(Tdef(\text), 8); Tdef(\text).set(\yuhu, Prand([2, 3, 5, 8, 13], inf), \magic, [\abra, \cadabra]); Tdef(\text).clear; Tdef(\text).envir.clear; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSo ...

  5. Conductor Doc

    ... on: 1), [amp: [vol, vol.dbamp], freq: freq ]); conductor.pattern_(Pbind (\freq, Prand([1, 3/2, 5/4, 7/4], inf) * freq + Ptuple([Pwhite(-1.0,1),Pwhite(-1.0,1)]), \db, vol, \dur, Prand([0.2, 1.2],inf), \group, 22, \legato, 10), quant:0 ); } ) ...

  6. Maybe Doc

    ... [1, 2, 3]); ~b = Pseq([5, ~a, ~a + 10], inf); ~b.value.asStream.nextN(10); ~a = Prand([100, 200]); ~b.value.asStream.nextN(10); // keyword arguments ~a = { |x=0, y=0| x + y }; ~a.(2, 3); ~a.(y:3); ~k = 1997; ~a.(x:2, y:~k); // to do : flop! ...

  7. PG_05_Math_on_Patterns Doc

    ... 1-5, with the sign (positive or negative) randomly chosen (Pwhite(1, 5, inf) * Prand(#[-1, 1], inf)).asStream.nextN(10); ⧉ ✔ If a binary operation occurs on two patterns, every time a value is requested from the resulting stream, both of t ...

  8. Sieves_and_Psieve_patterns Doc

    ... om operator changes p.(PSVop_i([5, 9], Pn(Pshuf([\u, \d])))) p.(PSVop_i([5, 9], Prand([\u, \d], inf))) // change of difIndex: p.(PSVop_i([5, 2, 3], \d)) p.(PSVop_i([5, 9], Prand([\u, \d], inf))) // "subtract" from index 0: multiples of 5, n ...

  9. VarGui_shortcut_builds Doc

    ... lacement as in basic example above \default.pVarGui(pReplace: [\dur, PL(\dur) * Prand([2,1,1], inf)] ).gui; // adding a pattern pair after the main block of pairs, // same effect as before \default.pVarGui(pAfter: [\dur, Pkey(\dur) * Prand( ...

  10. OpenObject Doc

    ... // loopback IP for this test Pdef(\xx, Pbind(\dur, Pseries(0.2, 0.1, 6), \note, Prand([0, 2, 3, 4, 8, 9], inf))); n.sendMsg("/oo", \Pdef_xx, \play); Ndef(\zz, { |freq=20, numharm = 200| Blip.ar(freq * [1, 1.2], numharm) * 0.3 } ); n.sendMsg ...

prev 11 12 13 14 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow