Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (37) Code (3) Doc (19) Help (7) Quark (8) SCDoc ↗ Forum ↗ Google ↗
  1. PIRand Quark

    PIRand UGenPatterns quark library superclass: Pattern based on IRand PIRand(lo, hi, length) lo (default: 0) hi (default: 127) length number of values produced (default: inf) // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \midinote ...

  2. pmCrotale Quark

    ... 1, amp = 0.8, pan = 0; var env, out, mod; env = Env.perc(0, art); mod = 5 + (1/IRand(2, 6)); out = PMOsc.ar(freq, mod*freq, pmindex: EnvGen.kr(env, timeScale: art, levelScale: tone), mul: EnvGen.kr(env, timeScale: art, levelScale: 0.3)); o ...

  3. moogSing Quark

    ... = \filter -> { arg in, speed = 4, dense = 0.3; var num = 8; var multipliers = { IRand(1, 5) + ExpRand(0.99, 1.01) }!num; var hack = LFPulse.ar(speed * multipliers, 0, dense); hack.clump(2).product.lag(1/2000, 1/speed) * in; }; */ // rewrite ...

  4. moogSingORIG Quark

    ... = \filter -> { arg in, speed = 4, dense = 0.3; var num = 8; var multipliers = { IRand(1, 5) + ExpRand(0.99, 1.01) }!num; var hack = LFPulse.ar(speed * multipliers, 0, dense); hack.clump(2).product.lag(1/2000, 1/speed) * in; }; */ // rewrite ...

  5. SGliss Quark

    ... bstractSGlissVoice { *type {^\Formant} func { ^{|fre, amp| Formant.ar( fre, fre*IRand(1, 4), LFNoise2.kr(0.1).clip2.exprange(200, 1000), AmpComp.kr(fre)*amp*0.5 ); }; } } SGlissKarplus : AbstractSGlissVoice { *type {^\Karplus} func { ^{|fre ...

  6. _SynthLib Quark

    ... e2.kr(0.1,0.1,1)), t_trig, doneAction: 2); snd = RLPF.ar( PMOsc.ar(freq, freq * IRand(2,4)/2, TRand.kr(0.5, 3, t_trig),0), SinOsc.kr([0.1, 0.11]).range(400, 1900), 0.4 ); OffsetOut.ar(out, snd * env * amp); }).add; SynthDef(\sine, { arg out ...

  7. XiiSynthDefs Quark

    ... c(0.01, 220/freq, amp), doneAction:2); x = Mix.ar(Array.fill(8, {SinOsc.ar(freq*IRand(1,10),0, 0.12)})); x = LPF.ar(x, 20000); x = Pan2.ar(x,pan); Out.ar(outbus, x*env); }); // - synth1 SynthDef.writeOnce(\xiiSynth1, {arg outbus, freq=440, ...

  8. sStream Quark

    ... Env.asr(atk, 1, rel, cur), gate, doneAction:2); var snd= Formant.ar( freq, freq*IRand(1, 4), LFNoise2.kr(0.1).clip2.exprange(200, 1000), AmpComp.kr(freq)*amp*0.5 ); Out.ar(out, Pan2.ar(snd*env, pan)); }).add; SynthDef(\sStream_Karplus, {|ou ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow