Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ) // some common cases: Pseq ([1, 2, 3]).squared; Pseq ([0.2, 0.5, 0.8]).coin; Pwhite (-100, 100, inf ).abs; // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc ...

  2. PG_Cookbook04_Sending_MIDI Help

    ... ere \chan , 0, // degree is converted to midinote, not just frequency \degree , Pwhite (-7, 12, inf ), \dur , Pwrand ([0.25, Pn (0.125, 2)], #[0.8, 0.2], inf ), \legato , sin( Ptime ( inf ) * 0.5).linexp(-1, 1, 1/3, 3), \amp , Pexprand (0.5 ...

  3. PmonoArtic Help

    ... ut .ar(out, sig ! 2) }).add; ) p = PmonoArtic ( \sawpulse , \dur , 0.2, \freq , Pwhite (1,8) * 100, \legato , Pwrand (#[0.5, 1.0], #[0.1, 0.9], inf ) ).play; p.stop;

  4. PG_Cookbook01_Basic_Sequencing Help

    ... ld hear a C major triad in first inversion. ( p = Pbind ( \degree , Pseries (7, Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf ), inf ).fold(0, 14) + Prand (#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf ), \dur , Pwrand (#[1, 0.5], ...

  5. LocalBuf Help

    ... ction: 2)) // inverse FFT }).add; ) ( Pbind ( \instrument , \fftgrain , \rate , Pwhite ().linexp(0, 1, 0.01, 300), \legato , Pwhite (1, 3.0, inf ), \dur , Prand ([0.2, 1, 1.2], inf ) ).play ) // IndexL ( { var buf = LocalBuf .newFrom((0..5) ...

  6. PG_06c_Composition_of_Patterns Help

    ... rand (#[0.1, 0.6, 1.01], #[0.1, 0.3, 0.6], inf ) ); ~melody = Pbind ( \degree , Pwhite (-4, 11, inf ) ); p = Pchain (~melody, ~rhythm).play; p.stop; That in itself has some good potential for algorithmic composition. Introducing EventPatter ...

  7. Adverbs Help

    ... 3, 224, 231, 232, 233, 234, nil ] Sound example: Pbind ( \dur , 0.17, \degree , Pwhite (0, 6) +.x Pseq ([[0, 2, 4], 1, [0, 2], 3])).trace.play

  8. Undocumented-Classes Help

    ... hift270 PV_PhaseShift90 PV_RandComb PV_RandWipe PV_RectComb PV_RectComb2 Pwhile Pwhite RadiansPerSample Range RefCopy ResponderArray ResponderClientFunc RingNumberAllocator Router SampleGui SampleSpec SC2compat ScalarPatchIn ScalarPatchOut ...

  9. Pstep Help

    ... for a random time interval p = Pstep ( Pbind ( \ctranspose , [0, 4, 7], \note , Pwhite (0, 12), \dur , Prand ([0.2, 0.4, 0.8], inf ) ), Prand ([1, 2, 4], inf )/4 ); Ppar ([p, p]).play; ) // change degree independant of number of events that ...

  10. Randomness Help

    ... ([ 1, 2, 3 ]); // choose one element from a list, no repeat of previous choice Pwhite (24, 72); // within range [<hi>, <lo>], choose a random value. Pbrown (24, 72, 5) // within range [<hi>, <lo>], do a random walk // with a maximum <step> ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow