Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... event switch according to select Pn(Pswitch1([p, q, r], Pwhite(0, 2))).play // Prand(patternList, repeats) - random selection from list Prand([p, q, r], inf).play // Pxrand(patternList, repeats) - random selection from list without repeats ...

  2. BP Doc

    ... pattern you're sending in. // choose arpeggiation types at random from the list Prand([\up, \down, \random], inf) =>.arpeg BP(\ch1); ⧉ ✔ A Symbol may be used to retrieve a predefined pattern from the Pdefn class; if the Pdefn doesn't exist, ...

  3. MIDIOut Doc

    ... ; // Linux users: MIDIOut(0, MIDIClient.destinations[0].uid) a = Pbind(\degree, Prand([1, 2, 3, [0, 5]], inf), \bend, Pwhite(0, 76, inf)); // chain a midi event into the pattern and play it (see Pchain) (a <> (type: \midi, midiout: m)).play ...

  4. Steno Doc

    ... ) }); // quelle (aka source) produces sound t.filter(\f, { |input| LFPulse.kr(ExpRand(1, 10), 0, Rand(0.1, 0.5)) * input }); // filter processes sound t.filter(\g, { |input| CombL.ar(input, 0.2, Rand(0.03, 0.2), 1.3) }); // use them in code ...

  5. PG_Cookbook05_Using_Samples Doc

    ... PinkNoise.ar(amp) * Decay2.kr(Impulse.kr(0), 0.01, 0.05), sig = Klank.ar(`[ { ExpRand(400, 1600) } ! 4, 1 ! 4, { ExpRand(0.1, 0.4) } ! 4 ], exc, freqscale: accent + 1, decayscale: decayScale); DetectSilence.ar(sig, doneAction: Done.freeSelf ...

  6. Tdef Doc

    ... 4, // reference beat \sustain, 0.1, \note, 8 ) ]) ).play(quant: 1); ) Tdef(\z, Prand([1, 1, 0.23, 0.5, 0.5], inf)); // exchange time pattern Tdef(\z, Pseq([1, 1, 1, 1], inf)); // pattern stays in sync. Tdef(\z, Pseq([1, 1, 1, 0.5, 0.5], in ...

  7. PHSpar Doc

    ... 1, [\midinote, Pkey(\thisVal) + Pseq([0,1],inf), \legato, 0.2 ] ], hsIndices: [ Prand([0,1], inf) ] ).play; ) p.free; // hsIndices also accepts collections of indices or patterns thereof, // referenced by ~theseVals (which is always a colle ...

  8. SimpleMIDIFile Doc

    ... ttern method patterns can be turned into midi files as well: ( p = Pbind( \dur, Prand( [0.25,0.5,1], inf ), \freq, Pwhite( 440, 880 ), \db, Pwhite( -40,-10 ), \legato, Pwhite( 0.25, 4 ) ); m = SimpleMIDIFile( "~/Desktop/testPat.mid" ); m.in ...

  9. Ndef Doc

    ... r(LFTri.kr(1).round(1.0.rand) + 1 * 180 + [0, 1], 0.04) * 0.3 }, ], inf), \dur, Prand([3, 2, 4], inf) ) ).play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Ndef.schelp link::Classes/Ndef::

  10. Using_Voicer Doc

    ... er, v, \degree, Pwhite(-7, 7, inf), \dur, Pwhite(1, 3, inf) * 0.25, \legato, Pexprand(0.5, 3, inf), \gate, Pexprand(0.1, 0.3, inf), \ffreq, Pexprand(500, 2500, inf) ).play; ) p.stop; ⧉ ✔ The \voicerArtic event type uses notes with infinite ...

prev 11 12 13 14 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow