Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. BufFiles Doc

    ... e, Pwhite(0.5,1.0), \buffer, Pdefn(\polySelected, Pseq(b.selected, inf)), \dur, Pfunc{|ev| ev[\buffer].duration * ev[\rate].abs.reciprocal } ).play; ) ⧉ ✔ Inherited instance methods Examples b = BufFolders(s, "path/to/808/sample/pack"); b[\ ...

  2. Key Doc

    ... use in a Pbind ( a = Scale.major; a.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 sour ...

  3. Alga Doc

    ... { a = AP(( def: { SinOsc.ar * EnvPerc.ar(release: 0.1 * \tempo.kr(1)) }, tempo: Pfunc { Alga.clocks[Server.default].tempo.reciprocal } )).play(chans: 2) }) ) //10 times faster Alga.interpTempo(tempo: 10, time: 5) //Using a shape Alga.interp ...

  4. CV Doc

    ... ind( \instrument, \default, \freq, a, \db, b, \dur, 0.2 ).play(quant: 0); ) ⧉ ✔ Pfunc can be used to change the CV from within a Pattern. ( SynthDescLib.global.read; Pbind( \instrument, \default, \freq, Pwhite(100, 1000).round(100), \placeh ...

  5. PHS Doc

    ... pe, Pkey(\val).collect { |x| (~middle == \rest).if { \note }{ \rest } }, \post, Pfunc { |e| e.use { "demandIndex: ".post; ~demandIndex.postln; "timeGrains: ".post; ~timeGrains.postln; "dur: ".post; ~dur.postln; "val: ".post; ~val.postln; "= ...

  6. PSdup Doc

    ... 0, [0, -3]]), \dur, PLrand([0.2, 0.4]), \amp, PLrand([0.07, 0.12, 0.2]), \type, Pfunc { 0.1.coin.if { \rest }{ \note } }, \pan, 1 ); q = PS(p); // use PSdup as base for alterings // it takes the last event stored in PS(p) r = Pbindf(Padd(\m ...

  7. GenericGlobalControl Doc

    ... atically convert themselves into streams: Pbind(\g, g) is the same as Pbind(\g, Pfunc { g.value }) . Synth arguments -- GenericGlobalControls automatically map the control bus: Synth(\default, [freq: g]) is the same as Synth(\default, [freq ...

  8. recursive_phrasing Doc

    ... def(\sweep3, { arg freq=440; Pbind( \type, \phrase, \instrument, \sweep, \freq, Pfunc({ rrand(0.8, 1.3) }) * freq.value, \dur, 0.3, \legato, 1.3, \n, 5 ) }); ) // the pattern that is found in Pdef.all (or your own defined library) is trunca ...

  9. PSPdiv Doc

    ... ource for each PL, // but for each midinote divisions per pulse can vary ~div = Pfunc { (2 ** (1..4)).choose.asInteger }; ~divBase = 1; ~pulse = 1; ~rel = 0.015; ~sourceType = 1; // as q is an array the args 'div' and 'divBase' will be expa ...

  10. PG_Cookbook01_Basic_Sequencing Doc

    ... se, though, the \time key should be divided by the tempo: \time, Pkey(\delta) / Pfunc { thisThread.clock.tempo }, ⧉ ✔ ( b = Buffer.read(s, ExampleFiles.child); SynthDef(\stretchedFragments, { |out, bufnum, start, time = 1, stretch = 1, amp ...

prev 1 2 3 4 5 6 7 8 9 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow