Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , [pan, pan+0.3]))); }).load(s); SynthDescLib.global.read; ) e = Pbind(\degree, Pwhite(0,12), \dur, 0.2, \instrument, \cfstring1).play; // returns an EventStream ( InstrGateSpawner({ arg freq = 360, pan=0, amp=0.1,dur=0.2,tempo; var out, eg ...

  2. PG_03_What_Is_Pbind Doc

    ... ttack on every note, while Pmono glides from pitch to pitch. p = Pbind(\degree, Pwhite(0, 7, inf), \dur, 0.25, \legato, 1).play; p.stop; p = Pmono(\default, \degree, Pwhite(0, 7, inf), \dur, 0.25).play; p.stop; ⧉ ✔ Articulating phrases is p ...

  3. PHSparUse Doc

    ... q = 0.24; ) // first player using a HSpar ( x = PHSpar(h, pbindArgs: [ Pstutter(Pwhite(5,10), Pseq([0.12, 0.16], inf)), [\midinote, Pkey(\thisVal) + Pseq([[2, 5], [1, 6], [0, 7]], inf), \legato, 0.2, \amp, 0.07], 0.24, [\midinote, Pkey(\thi ...

  4. DDWFollowClock Doc

    ... ted. // **** // On the lead machine: t = DDWLeadClock(2); ( p = Pbind( \degree, Pwhite(0, 5, inf) - 7, \dur, 1 ).play(t, quant: -1); ) p.stop; // when finished t.stop; // this "releases" the follower to run on its own time // **** // On the ...

  5. Rongs Doc

    ... // Play pattern ( Pdef('🌻', Pbind( \instrument, \rongsinator, \amp, 0.20, \pan, Pwhite(-1.0,1.0), \f0, Pseq([0.025,0.01,0.018], inf) + Pseg(Pseq([0.008,0.0016], inf), 14, \exp, inf), \dur, 0.125, \structure, Pseg([0.1,1.0], 5, \lin, inf), \ ...

  6. 16-Sequencing-with-Patterns Doc

    ... , 2, 3, 4, 5 Pgeom (start, grow, length) geometric series, e.g., 1, 2, 4, 8, 16 Pwhite (lo, hi, length) random number generator, uses rrand(lo, hi) -- equal distribution Pexprand (lo, hi, length) random number generator, uses exprand(lo, hi ...

  7. Pmsyn Doc

    ... wrand((1..5), (5, 4..1).normalizeSum, inf) * 0.15, \amp, 0.1, \ratioPlug, Pdup( Pwhite(2, 10, inf), Pseq([ 0, // alternate between no-plug and plug Pfuncn({ { |ratio| Plug({ |ratio| ratio * Demand.kr( Impulse.kr(12), 0, Dseq([Dseries(1, 0.1 ...

  8. Streams Doc

    ... c filter patterns Pset Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream Event Stream EventStreamPlayer helpfile source: /usr/local/share/Sup ...

  9. Event Doc

    ... ind: 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).postln }, (x: { ~y + 1 }, y: 0)); (type: ...

  10. PHSparPlayer Doc

    ... te register, small random add for pitch ~pitchBaseStream = (Pseq([60,80],inf) + Pwhite(0.0,5.0)).asStream; p = PHSpar(h, 2, // switchDur = half phase of sine wave Pseq([0,1], inf), // switchIndex [\center, ~pitchBaseStream] ! 2, [0.25, [\mi ...

prev 11 12 13 14 15 16 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow