Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. test_noise_burst Quark

    ... gnu.org/licenses/>. ~name = \test_noise_burst; ~description = "A short burst of enveloped noise that goes well with Patterns"; ~channelLayout = \mono; ~function = { arg amp=1, trimDB = 0, attack = 0.01, release = 0.3; var env; env = EnvGen. ...

  2. sos_bell Quark

    ... ault Udefs set */ Udef(\sos_bell,{ |freq = 440, decay = 10, amp = 0.1| var out, env; var son, strike, hum; var trig; trig = \trigger.tr(1); URandSeed.ir(); // always the same sound // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5 ...

  3. sos_bell Quark

    ... ault Udefs set */ Udef(\sos_bell,{ |freq = 440, decay = 10, amp = 0.1| var out, env; var son, strike, hum; var trig; trig = \trigger.tr(1); URandSeed.ir(); // always the same sound // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5 ...

  4. dustyRez Quark

    ... sity = 10, attack=100, dec = 0.3, sus = 0.5, rel = 6, amp = 0.75, gate = 1| var env, envGen, dust, resonance; env = Env.adsr(attack, dec, sus, rel); envGen = EnvGen.kr(env, gate); dust = Dust.ar(density); resonance = DynKlank.ar(`[ // frequ ...

  5. triangleGrain Quark

    ... on of the plugin */ ~name = \triangleGrain; ~description = "A simple triangular envelope grain with position, rate, and duration parameters"; ~channelLayout = \mono; ~function = { |bufnum=0, startPos=0, rate=1, dur=0.1, trimDB=0| var sig, e ...

  6. kickBlocks Quark

    ... ler effect. WhiteNoise.ar should work too. Some of the attacks are so fast that Env:kr doesn't correctly handle them. Modified and combined into one SynthDef by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("kickBlocks", { arg //Standar ...

  7. snare_oto309 Quark

    SynthDef("snare_oto309", { arg out=0, amp=0.1, pan=0; var env0, env1, env2, env1m, oscs, noise, son; env0 = EnvGen.ar(Env.new([0.5, 1, 0.5, 0], [0.005, 0.03, 0.10], [-4, -2, -4])); env1 = EnvGen.ar(Env.new([110, 60, 49], [0.005, 0.1], [-4, ...

  8. crossoverDistortion Quark

    ... controls, nonlinearity ranges from 0 to 1 preamp = 1, nonlinearity = 0.75; var env, osc, snda, sndb, snd, nl; // Scales the nonlinearity control exponentially, making it more intuitive nl = 2.pow((nonlinearity.wrap(0, 1.0001)).range(-5, 5) ...

  9. XixiSampleCircle Quark

    ... var synthesis, fixedPitch, fixedPitchMode, poolname; var inbus, pitchratio; var env, synth; var synthPlaying; // new vars var radius, rangeradius; var amp, alpha, drawer; *new { | point, stageRect, drawer | ^super.new.initXixiSampleCircle(p ...

  10. dog Quark

    ... curve=0, loopnode=0, dens = 10, resfreq = 500, ringtime = 0.01| var n = 15; var env = EnvGen.kr( Env({ 1.0.rand2 }!(n+1), {1.0.rand}!n, curve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.3 ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow