Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... t = { |freq = 250, intv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).mi ...

  2. PwarpDur Doc

    ... 0.05, rel = 0.04, preamp = 7.94, feedback = 1.37, amp = 0.1, pan = 0| var eg = EnvGen.ar(Env([0, 1, 0.7, 0], [0.005, hold, rel], -4), doneAction: 2); var freqEg = EnvGen.ar(Env([1, ratio, 1], [0.001, dropTime], \exp)); var fb = LocalIn.ar( ...

  3. TabletView Doc

    ... [c,d,c], 0.2); Out.ar(0, RLPF.ar(Mix.ar(p),freq * ffreqInterval.midiratio,rq) * EnvGen.kr(Env.adsr, gate, gate) ) },[0.1,0.1,0.1,0.1,0.1,nil]).add; ) ( var w, v,freq,int,synth; synth = Synth("help-2DTabletSlider"); w = Window.new.front; fre ...

  4. Tour_of_UGens Doc

    ... MouseX.kr(1,8).round(1)), 0.005, 0.5)); [a, b] * 0.4 }.scope(2, zoom:4); ) ⧉ ✔ EnvGen - envelope generator envelope is specified using an instance of the Env class. { EnvGen.kr(Env.perc, doneAction: Done.freeSelf) * SinOsc.ar(880,0,0.2) }. ...

  5. ProcModR Doc

    ... outbus, freq, amp, dur; OffsetOut.ar(outbus, Pan2.ar( SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcMod }).add; // create a new ProcModR, and a ...

  6. Panola - pattern notation language tutorial by 56228375 (56228375) Code

    ... dec=1.0, env=1000, gate=1, vol=0.1; var filEnv, volEnv, waves; volEnv = EnvGen .ar( Env .new([10e-10, 1, 1, 10e-10], [0.01, sus, dec], 'exp' ), gate, doneAction:2); filEnv = EnvGen .ar( Env .new([10e-10, 1, 10e-10], [0.01, dec] ...

  7. Pdfsm Help

    ... ( SynthDef ( \help_Pdfsm1 , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar([freq, freq + 0.1.rand2], 0, env)) }).add; ) ( var p; p = Pdfsm ( [ Prand ([0, ...

  8. CutBuf3 Quark

    ... playbuf= PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum)*rate,1,startPos,1); env= EnvGen.ar(Env([0,1,1,0],[atk,dur-atk-rel,rel],curve),doneAction:2); Out.ar(outbus,playbuf*env); }); }); }); } //will get Server from BBCutGroup later *new{arg b ...

  9. GMDuoSequencer Doc

    ... (0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); Out.ar(0, snd!2); }).add; win.layout_( HLayout() .margins_(0) .spac ...

  10. jitlib_basic_concepts_04 Help

    ... eAccurate = false ; ~x.play; // the grain frees itself ~x = { SinOsc .ar(800) * EnvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow