Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. 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, ...

  2. Pfin Doc

    ... pitches ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn(Pfin({ rrand(3, ...

  3. Midterm Question 3 by mason-mccormack (Mason McCormack) Code

    ... , 7.4], mul: 0.1)) }.play; ( SynthDef("bell", {arg freq, amp; var env, snd, partials, relativeAmps; partials = [0.5, 1, 1.19, 1.56, 2, 2.51, 2.66, 3.01, 4.1]; relativeAmps = [0.25, 1, 0.8, 0.5, 0.9, 0.4, 0.3, 0.6, 0. ...

  4. 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) ...

  5. 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 ...

  6. Meandering Sines by emergent (emergent) Code

    ... ot({ s.sync; // instrument definition SynthDef.new(\sine, { var sig, env; env = Env.asr(\atk.ir(0.05), 0.75, \rel.ir(2)).kr(2, \gate.kr(1)); sig = SinOsc.ar( \freq.kr(220, \freqlag.kr(1.2)) + SinOsc.kr({Rand(0.02, 0.06) ...

  7. Xiongnu bells by badnumbersmusic (badnumbersmusic) Code

    ... odFreq=200, tapPmIndex = 3, tapRatio = 0.5, releaseTime=0.6| var audio, chimeEnv, chimeFreqEnv, tap, tapEnv; chimeEnv = EnvGen.kr(Env([0,1,0.8,0],[0.001,0.005,releaseTime],[0,-2,-2]), gate, amp, doneAction:2); chimeFreqEnv = EnvGen ...

  8. All available inputs by wondersluyter (wondersluyter) Code

    ... end not to be insane ( { var input, sig = DC.ar(0); // Per-key trigger & envelopes var trig, env, qenv; // Each key's BPF Q attack time (global) var qtime = LFNoise2.kr(1).linexp(-1, 1, 0.1, 1); // Master trigger sum v ...

  9. 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 ...

  10. Fdef Doc

    ... ractFunction : Object Lazy function proxy Source: Fdef.sc See also: Maybe , LazyEnvir , Pdef , Tdef , Pdefn , Ndef Description Fdef is a placeholder for functions. Fdef allows dynamically replacing functions while they are being used. See a ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow