Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    EnvEditorGui : ObjectGui { var ev, timeScale=1.0, levelScale = 1.0; writeName {} guiBody { arg layout; var curves, levels, times, temp=0.0; ev = GUI.envelopeView.new(layout, 100@40) .thumbSize_(5); ev.drawLines = true; ev.selectionColor = C ...

  2. ThreeKicks Quark

    ... , { var snd; snd = DC.ar(0); snd = snd + (SinOsc.ar(XLine.ar(800, 400, 0.01)) * Env.perc(0.0005, 0.01).ar); snd = snd + (BPF.ar(Hasher.ar(Sweep.ar), XLine.ar(800, 100, 0.01), 0.6) * Env.perc(0.001, 0.02).delay(0.001).ar); snd = snd + (SinOs ...

  3. default-synths-extra Quark

    ... elay lines // "accelerate" is used for a pitch glide, and "sustain" changes the envelope timescale ( SynthDef(\supermandolin, {|out, sustain=1, pan, accelerate, freq, detune=0.2, speed=1| var env = EnvGen.ar(Env.linen(0.002, 0.996, 0.002, 1 ...

  4. RedDiskInSampler Quark

    ... = 0.01, sustain, release= 0.1, gate= 1| var src= DiskIn.ar(i+1, bufnum, 0); var env= EnvGen.kr( Env(#[0, 1, 1, 0], [attack, sustain, release], -4), gate, 1, 0, 1, 2 //doneAction ); Out.ar(i_out, src*env*amp); }, #['ir']).add; SynthDef("redD ...

  5. trig_demo Quark

    ... pan = 0, freq = 440, gate = 1, t_trig = 1, att = 0.01, sus = 1, rel = 0.25; var env, snd; env = Decay2.kr(in: t_trig, attackTime: att, decayTime: rel); env = env * Linen.kr(gate: gate, attackTime: att, susLevel: sus, releaseTime: rel, doneA ...

  6. Samplertestcode Quark

    ... hort); t.key([30, 40, 50, 60, 70, 80], [\peakat, 2]); // pitch bend with an x-y envelope array t.key([60, 66], bendenv: [0, 1, 0.2, 1, 1, 3]); // granular expand t.key(60, expand: 2); t.key(60, pan: -1) // amplitude envelope t.key(60, ampen ...

  7. EnvEditor Quark

    EnvEditor : Editor { // could make the curve an array automatically // for playing, send the array editable on server // but saves as Env which is fixed var <>levelSpec; *new { arg env,levelSpec; if(levelSpec.isNil,{ levelSpec = StaticSpec( ...

  8. EnvEditor Quark

    EnvEditor : Editor { // could make the curve an array automatically // for playing, send the array editable on server // but saves as Env which is fixed var <>levelSpec; *new { arg env, levelSpec; if(levelSpec.isNil, { levelSpec = StaticSpe ...

  9. scm_synthdef_autoload Quark

    ... num, BufRateScale.kr(bufnum) * rate, startPos: pos * BufFrames.kr(bufnum)); var env = EnvGen.kr(Env.perc(0.003, decay, curve: -3), doneAction: 2); sig = sig * env; sig = tanh(sig * (1 + boost)); OffsetOut.ar(out, Pan2.ar(sig, pan, amp)); }) ...

  10. FractureSynth Quark

    ... ) } *new { arg fracture, numChannels = 2, pan = 0, gain = -20, normalize = 0.7, env = [0.2, 0.2, \lin], rate = 1; ^super.new.init(fracture, numChannels, pan, gain, normalize, env, rate) } init {arg argfracture, argnumChannels, argpan, argga ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow