Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... .tuning = \just; k = Key(a); Pbind( \scale, Pfunc({ k.scale }), \degree, Pseq([ Prand(k.scale.degrees, 20), Prout({ k.mode = \minor; 0.yield; }), Prand(k.scale.degrees, 20)], 1) ).play ) ⧉ ✔ helpfile source: /tmp/scquark_hs/TuningLib/HelpSo ...

  2. MarkovSetN Doc

    ... ).postln }; ⧉ ✔ training by a stream m = MarkovSetN.fill(100, Pseq([1, 2, 3, 4, Prand([5, 55, 555])], inf).asStream, 2); 8.do { m.next([1,2]).postln }; 8.do { m.next([3,4]).postln }; 8.do { m.next([4,5]).postln }; ⧉ ✔ Authors Julian Rohrhub ...

  3. Pavaroh Doc

    ... 5, 7, 10]; avaroh = #[0, 1, 3, 5, 7, 9, 10]; synth = Synth.head(s, \ivg); pat = Prand([0, 2, 3, 4, 2, 1, 0, -1, -2], inf); str = Pavaroh(pat, aroh, avaroh).asStream; Routine({ loop({ synth.set(\freq, midicps(str.next + 60)); rrand([0.1, 1.0 ...

  4. PHS Doc

    ... timing reading from one help synth ( p = PHS(h, nil, // default help synth args Prand([0.4, 0.2],inf), [ \midinote, Pkey(\val), \amp, 0.08 ], 0.1, [ \midinote, Pkey(\val) + 9.5 + Pxrand([0, 2, 5],inf), \amp, 0.06 ] ).play; ) // stop player ...

  5. Pspawner Doc

    ... sic pattern with Pchain Pchain( Pbind(*[mtranspose: Pkey(\mtranspose) + Pdup(8, Prand([0, [0, 3, -2], [0, 2, 4]], inf))]), // make some notes into triads Pbind(*[ctranspose: Pwhite(-0.1, 0.1)]), // add random detuning to notes Pbind(*[\scal ...

  6. DWGPlucked Doc

    ... 0.5,0.5,0.5,1,0.5,0.5,1,1]*0.25,inf), \dur , 2, \degree, Pseq([1,8,8,8,8,8,8,-6,Prand([9,10,11],1),1,7,8]-8, inf), \amp , Pwhite(0.2,0.8), \c3 , Pseq([Pseq([1400],24),Pseq([300],24)],inf), \pan , Pwhite(-1,1), ).play; ) ⧉ ✔ helpfile source: ...

  7. Pdup Doc

    ... alue Examples // the first argument can be a pattern, too: ( var a, b; a = Pdup(Prand([1, 2, 5], inf), Pwhite(-1.0, 1.0)); // repeat either once, twice, or five times x = a.asStream; 20.do { x.next.postln }; ) // using event patterns: ( Syn ...

  8. Pfx Doc

    ... 0.1).softclip * 0.8); }, [\ir, 0]).add; ) ( var p, q, r, o; p = Pbind(\degree, Prand((0..7), 12), \dur, 0.3, \legato, 0.2); q = Pfx(p, \echo, \dtime, 0.2, \decay, 3); r = Pfx(q, \distort, \pregain, 20, \amp, 0.25); o = Pfx(r, \wah); Pseq([ ...

  9. PHSplayer Doc

    ... LFDNoise3.kr(freq, dev, center) }); p = PHS(h, nil, // default help synth args Prand([0.4, 0.2],inf), [ \midinote, Pkey(\val), \amp, 0.1 ], 0.1, [ \midinote, Pkey(\val) + 9.5 + Pxrand([0, 2, 5],inf), \amp, 0.08 ] ).play; ) // stop only hel ...

  10. PG_02_Basic_Vocabulary Doc

    ... st, repeats, offset) Play through the entire list repeats times. Like list.do . Prand(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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow