Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ) ) }).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 ...

  2. PG_06c_Composition_of_Patterns Help

    ... , ~rhythm).play; ~melody.source = PmonoArtic ( \default , \degree , Pseries (4, Prand (#[-1, 1], inf ), inf ).fold(-4, 11)); ~melody.source = Pbind ( \degree , Pseries (4, Pwrand (#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf ), inf ).fold(-4 ...

  3. SynthDef Doc

    ... tes \trig in the // event to \t_trig in the synth. ( Pmono(\trigTest1, *[ trig: Prand([0, 1], inf), // for random trigger, use trig, not t_trig freq: Pwhite(lo: 220, hi: 440, length: 10), dur: 1 ]).play; ) // Note that With event type \set, ...

  4. Build It Up - A2 - 115modulations by ldavidson (ldavidson) Code

    ... nf) , \amp, Pwhite(0.2, 0.5), \att, 0.01, \rel, 0.1, \modfreq, Prand([10, 20, 25, 30], inf), \pos, 0 ); ~fmletsdothis = Pbind( \instrument, "fm2", \dur, Pseq([ Pn(1/8, 6), 3/8, Pn(2/8, 5), 5/8 ...

  5. Event Doc

    ... Eve").play; // overrride default // in a Pbind: Pbind(\type, \happyEvent, \who, Prand(["Alice", "Bob", "Eve"], inf), \dur, Pwhite(0.1, 1.0, inf)).play; // parent event type for indirect calls: Event.addEventType(\test, { ("x was" + ~x.value ...

  6. Processes Doc

    ... themselves when they become silent loop { var note = rrand(60, 63); var elev = Prand([-90, -60, 30, 0, 90]).asStream; // Kamikaze is a special case of synth generated by SATIE // it frees itself when its envelope falls to silence self.sati ...

  7. proxyspace_examples Help

    ... + freqOffest, 0, 0.1 / 8)), LFNoise0 .kr(2)) }; ) ~out.setn( \array , Array .exprand(8, 400, 2000)); ~out.set( \freqOffest , rrand(300,200)); ~out.map( \freqOffest , ~lfo); // a simpler short form for this is: ( ~out = { arg freqOffest=0, ...

  8. Broken Nostalgia - 115granular by ldavidson (ldavidson) Code

    ... "granny3", \rate, Pseq([60, 50, 60, 70, 50], 20), \amp, 0.25, \startPos, Prand([0.5, 0.36, 0.8, 0.3, 0.4], 20), \attack, 0.05, \release, 0.02, \ffreq, 500, \rq, 0.04, \delay, 0, \decay, 0.5, \buffer, b, \d ...

  9. PG_06c_Composition_of_Patterns Doc

    ... elody, ~rhythm).play; ~melody.source = PmonoArtic(\default, \degree, Pseries(4, Prand(#[-1, 1], inf), inf).fold(-4, 11)); ~melody.source = Pbind(\degree, Pseries(4, Pwrand(#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf), inf).fold(-4, 11)); p. ...

  10. PdefGui Doc

    ... - called internally. Inherited instance methods Examples Pdef(\a, Pbind(\freq, Prand((1..16) * 55, inf))); Pdef(\a).play; t = PdefGui(Pdef(\a), 4); Pdef(\a).set(\dur, 0.125, \amp, 0.05); Pdef(\a).stop; Pdef(\a).play; Pdef(\a).pause; Pdef(\ ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow