Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... oup, with time offset Ptpar - embed event streams in parallel, with time offset Prand - embed values randomly chosen from a list Pseq - sequentially embed values in a list Place - interlaced embedding of subarrays Ppatlace - interlace strea ...

  2. 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, ...

  3. 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 ...

  4. 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 ...

  5. 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. ...

  6. 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(\ ...

  7. proxyspace_examples Doc

    ... (ctl + 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, arra ...

  8. PatternProxy Doc

    ... .kr(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; s.boot; ) ( x = P ...

  9. PG_06g_Data_Sharing Doc

    ... r form for the Quant object: #[1, 0, 0.1] ~chords = Pbind( \topNote, Pseries(7, Prand(#[-2, -1, 1, 2], inf), inf).fold(2, 14), \bassTriadNotes, Pfunc { ~lastBassEvent[\degree] } + #[0, 2, 4], // merge triad into topnote // raises triad note ...

  10. LocalBuf Doc

    ... n, \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).scramble); var freq = IndexL.kr(buf, MouseX.kr(0, BufFrames.kr(buf))).poll * ...

prev 11 12 13 14 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow