Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1483) Code (412) Doc (388) Help (177) Quark (503) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Event_patterns_and_array_args Doc

    ... ampExp)).normalizeSum * amp).lag(otLag); sig = SinOsc.ar(freqs, 0, amps); env = EnvGen.ar(Env.asr(att, 1, rel), gate, doneAction: 2); Out.ar(out, Splay.ar(sig) * env) }).add ) // Note that SynthDef \array_1a uses the array arg's size (8) at ...

  2. redo_minimalish sketch by fredrik-olofsson (Fredrik Olofsson) Code

    ... SynthDef(\p, {|out= 0, freq= 400, amp= 0.1, gate= 1, detune= 0| var env= EnvGen.ar(Env.perc(Rand(0.001, 0.01), LinRand(0.2, 0.4), amp, Rand(-9, -1)), doneAction:2); var snd= Mix(SinOsc.ar(freq+[0, detune*0.1], env*2pi)); Out.ar ...

  3. Re: circling transpositions by luka (Luka P.) Code

    ... out = 0, amp = 0.1, freq = 440, decay = 5, coef = 0.1; var env, snd; env = EnvGen.kr(Env.linen(0, decay, 0), doneAction: 2); snd = Pluck.ar( in: BrownNoise.ar(amp), trig: Impulse.kr(0), maxdelaytime: 0.1, delaytime: freq. ...

  4. Binaural Beats Experiment by axl99 (axl99) Code

    ... s = SinOsc.ar(freqtransition - VarLag.kr(diff, difftime, 0, \lin)); var env = EnvGen.kr(Env.asr(fade, level, fade), gate, doneAction:2); Out.ar(0, [links, rechts] * env); }).add; ) a = Synth(\brainwave, [\prime, 200, \diff, ~alpha] ...

  5. FMGrainI Doc

    ... 440, 880), 200, LFNoise1.kr(1).range(1, 10), envbuf1, envbuf2, MouseX.kr(0, 1), EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ) ) }).add; ) y = Env([0, 1, 0], [1, 1], \sin).asSignal(1024); z = Env([0, 1, ...

  6. Onsets Help

    ... ll hear percussive "ticks" whenever an onset is detected pips = WhiteNoise .ar( EnvGen .kr( Env .perc(0.001, 0.1, 0.2), onsets)); Out .ar(0, Pan2 .ar(sig, -0.75, 0.2) + Pan2 .ar(pips, 0.75, 1)); }.play; ) x.free; // Free the synth ///////// ...

  7. Generative jazz by devi-skanadze (Devi Skanadze) Code

    ... var snd, mod, env; mod = SinOsc.ar(freq.midicps * 3, mul: amount); env = EnvGen.kr(Env.linen(0.02, 0.1, release, 0.1), doneAction: 2); snd = SinOsc.ar(freq.midicps + mod , mul: env); Out.ar(0, snd * 0.5 ! 2); }).add; SynthDef ...

  8. Voicer Doc

    ... thDef.new("harpsi", { |out = 0, freq = 440, gate = 1, amp = 0.1| var sig; sig = EnvGen.ar(Env.adsr, gate, doneAction:2) * Pulse.ar(freq, 0.25, 0.75); Out.ar(out, (sig * amp).dup); }).add; ) // or ( Instr.new([\harpsi], { |freq = 440, gate = ...

  9. 063-angents-fm_synth Doc

    ... Feedback.ar(fmbusin, 1)*(fmamount*5000); rmod= InFeedback.ar(rmbusin, 1); penv= EnvGen.kr(Env.perc(pitchatk, pitchdec), t_trig, env*pol); freq2= freq+penv; aenv= EnvGen.kr(Env.perc(atk, dec), t_trig, t_trig); dry= SinOsc.ar(freq2+fmod, 0, a ...

  10. 063-angents-fm_synth Quark

    ... Feedback.ar(fmbusin, 1)*(fmamount*5000); rmod= InFeedback.ar(rmbusin, 1); penv= EnvGen.kr(Env.perc(pitchatk, pitchdec), t_trig, env*pol); freq2= freq+penv; aenv= EnvGen.kr(Env.perc(atk, dec), t_trig, t_trig); dry= SinOsc.ar(freq2+fmod, 0, a ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow