Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (79) Code (17) Doc (28) Help (11) Quark (23) SCDoc ↗ Forum ↗ Google ↗
  1. TempoClick Doc

    ... max(0.12, Pkey(\dur) * Pwrand(#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], inf)), \amp, Pexprand(0.02, 0.1, inf) ).play; ) p.stop; a.free; c.free; b.free; ⧉ ✔ helpfile source: /tmp/scquark_hs/ddwCommon/HelpSource/Classes/TempoClick.schelp link::Cla ...

  2. PG_Cookbook05_Using_Samples Doc

    ... Pwhite(0, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \amp, Pexprand(0.1, 0.5, inf), \sampleBaseFreq, 440, \instrument, \sampler, \bufnum, b ).play(protoEvent: samplerEvent); ) p.stop; b.free; ⧉ ✔ Multi-sampled instrumen ...

  3. PG_02_Basic_Vocabulary Help

    ... gth): Random numbers, equal distribution ("white noise"). Like rrand(lo, hi). * Pexprand(lo, hi, length): Random numbers, exponential distribution. Like exprand(lo, hi). * Pbrown(lo, hi, step, length): Brownian motion, arithmetic scale (add ...

  4. PG_02_Basic_Vocabulary Doc

    ... ength) Random numbers, equal distribution ("white noise"). Like rrand(lo, hi) . Pexprand(lo, hi, length) Random numbers, exponential distribution. Like exprand(lo, hi) . Pbrown(lo, hi, step, length) Brownian motion, arithmetic scale (additi ...

  5. PIdev Quark

    ... y Pseg ~loDev = -1; ~hiDev = 1; p = Pbind ( \instrument , \noise_grain , \rel , Pexprand (0.05, 0.15), \dur , PIdev ( // be careful not to exceed index bounds Pseg ( Pseq ([ ~loDev .abs, ~rhythmNum - ~hiDev - 1], inf ), 10, \sin , inf ).rou ...

  6. CHANGELOG Quark

    ... rel.kr(1.0)), \gate.kr, doneAction: 2) * \amp.kr(0.5) }, dur: 4, freq: Pseed(1, Pexprand(100.0, 800.0).round(27.3)), amp: Pseq([0.3, 0.2], inf), //sustain: 4, legato: Pseq([1, 0.5], inf), rel: 0.1, callback: { |ev| ev.postln }, )).sustainTo ...

  7. PG_07_Value_Conversions Help

    ... ], \stepsPerOctave , 19, \degree , Pwhite (0, 7, inf ), \dur , 0.125, \legato , Pexprand (0.2, 6.0, inf ) ).play; ) p.stop; Amplitude conversion Finally, you can specify amplitude as \db or \amp . If it's given as \db, the amplitude will be ...

  8. PNoise Quark

    ... r:{hiVal.isNil}, {^inval}); inval= lo.rrand(hi).asInteger.yield; }; ^inval; } } PExpRand : Pattern { var <>lo, <>hi, <>length; *new {|lo= 0.01, hi= 1, length= inf| ^super.newCopyArgs(lo, hi, length); } storeArgs {^[lo, hi, length]} embedInS ...

  9. PIdev Doc

    ... ed by Pseg ~loDev = -1; ~hiDev = 1; p = Pbind( \instrument, \noise_grain, \rel, Pexprand(0.05, 0.15), \dur, PIdev( // be careful not to exceed index bounds Pseg(Pseq([~loDev.abs, ~rhythmNum - ~hiDev - 1], inf), 10, \sin, inf).round, 2, // l ...

  10. PG_07_Value_Conversions Doc

    ... 14, 17], \stepsPerOctave, 19, \degree, Pwhite(0, 7, inf), \dur, 0.125, \legato, Pexprand(0.2, 6.0, inf) ).play; ) p.stop; ⧉ ✔ Amplitude conversion Finally, you can specify amplitude as \db or \amp . If it's given as \db , the amplitude will ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow