Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ected, each degree gets repeated twice. p = Pbind( \dur, 0.5, \degree, PstepDur(Pwhite(0, 7, inf), 1) ).play; p.stop; // Incorrect use in Pbind: // At the time of evaluating \degree, the input event // still has its default \dur == 1. So th ...

  2. TestAlgaPatternPlayer Quark

    ... ayer ( Alga.boot({ //.play starts the player ~player = AlgaPatternPlayer(( dur: Pwhite(0.2, 0.7), freq: Pseq([440, 880], inf) )).play; //\dur is not used with a player ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, f ...

  3. crossoverDistortion-demo Quark

    ... [0.5, Pser([0.6], 22), 0.7, Pser([0.8], 23)]), \preamp, 1.625, \amp, 0.3, \pan, Pwhite(-0.0025, 0.0025) );

  4. NodeProxy_roles Help

    ... *0.1 }; a.play; ( a[1] = \set -> Pbind ( \dur , Prand ([1, 0.5], inf ), \freq , Pwhite (200.0, 1000, inf ), \rate , Pstutter (4, Prand ([1, 3, 6, 10], inf )), \dt , Pwhite (0.01, 0.1, inf ) ) ); // modify the source in the meanwhile: a[0] = ...

  5. Sequencer Quark

    ... = Impulse.kr(2.3); var str = (Pseq([0, 12], inf) + Pstutter(Prand([2, 5], inf), Pwhite(60, 70, inf))).asStream; var freq = Sequencer.kr({ str.next }, t).midicps; SinOsc.ar(freq) * 0.2 + (Decay.kr(t, 0.01) * PinkNoise.ar(2)) }.play; ) // aud ...

  6. PG_Cookbook02_Manipulating_Patterns Doc

    ... previous value in any perceptible way). The random number generator patterns ( Pwhite ) return one element before yielding control back to the "selector" ( Pwrand ). \degree, Pwrand([Pwhite(-7, 11, 1), Pwhite(7, 18, 1)], #[0.7, 0.3], inf) ...

  7. FMRhodes1-demo Quark

    ... ed, 0.5, \lfoDepth, 0.4, \inputLevel, Pgauss(0.8, 0.1, inf), \amp, 0.2, \strum, Pwhite(0, 0.02) );

  8. PS Doc

    ... s; s.boot; ) // PS used to 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 stor ...

  9. 04_Multichannel_Expansion Quark

    ... multaneously. a = AlgaPattern(( def: Pseq([\sine3, \saw], inf), dur: 0.5, freq: Pwhite([100, 200, 300], [400, 800, 1200]) )).play(chans: 2, scale: 0.5) }); ) //Change the multichannel mode. Now \saw will behave like an AlgaNode, only taking ...

  10. AlgaPatternPlayer Quark

    ... ot({ //Define and start an AlgaPatternPlayer ~player = AlgaPatternPlayer(( dur: Pwhite(0.1, 0.5), freq: Pseq([440, 880], inf) )).play; //Use ~player for both indexing values and triggering the pattern ~pattern = AP(( def: { SinOsc.ar(\freq. ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow