Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. risset bells by fredrik-olofsson (Fredrik Olofsson) Code

    ... var env= EnvGen.ar(Env.perc(0.005, dur*durs[i], amps[i], -4.5), t_trig); SinOsc.ar(freq*frqs[i]+dets[i], 0, amp*env); }); Out.ar(out, Pan2.ar(src, pan)); }).add; }; ) a= Synth(\risset, [\freq, 72.midicps, \dur, 4]) a.se ...

  2. CutMod1 Quark

    ... =0, outbus=0, modamount=0,modfreq=0; var input, fx; input= In.ar(inbus,i+1); fx=SinOsc.ar(modfreq, 0, input); ReplaceOut.ar( outbus, (1-modamount)*input +(modamount*fx) ); //Lag.kr(cutoff, 0.05),Lag.kr(q,0.05) }); }); }); } *new{arg modamou ...

  3. allArm_ORIG Quark

    ... 005), 0.2, WhiteNoise.ar(1 ! q.numChans) * LFDNoise0.kr(0.4, 0.5, 0.5) ), 2.2, (SinOsc.kr(divefreq, 0.2, 0.7, 0.7) + LFDNoise3.kr(divefreq * 2.6, 0.4, 0.0)).max(mintime).min(2.2), 1 ) ); Sanitize.ar( Limiter.ar( OnePole.ar(([ HPF.ar(source, ...

  4. Function Doc

    ... ction provides its own releasable envelope, this is omitted. x = { |freq = 440| SinOsc.ar(freq, 0, 0.3) }.play; // this returns a Synth object; x.set(\freq, 880); // note you can set the freq argument x.defName; // the name of the resulting ...

  5. NL2 Doc

    ... 2, 3, 0.5]; //specification of crossterms c=Buffer.sendCollection(s, a, 1); ) {SinOsc.ar(MouseX.kr(440,1760),0,0.2)}.play //without //subtle distortion {NL2.ar(SinOsc.ar(MouseX.kr(440,1760),0,0.5),c,1, 6).clip2(1.0)}.play //with //random b ...

  6. ArrayMax Doc

    ... ation as an audio effect: ( x = { // A collection of different tones: var son = SinOsc.ar((100, 100.3 .. 110)); var val = ArrayMax.ar(son).at(0); val = LeakDC.ar(val); // the operation tends to induce DC offset Pan2.ar(val) }.play ) x.free ...

  7. Pslide Doc

    ... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( c = Pslide(#[1, 2, 3, 4, 5], inf, 3, 1, 0) * 3 + 67; x = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, x.next ...

  8. SETODictObj Quark

    ... have a look at them: SETOgui(a) s.boot SynthDef(\whoa, {|freq = 100| Out.ar(0, SinOsc.ar(freq)!2 * EnvGen.ar(Env([0, 1, 0], [0.11, 0.01]), levelScale: 0.051, doneAction: 2))} ).add; SynthDef(\wuha, {|freq = 100| Out.ar(0, LPF.ar(Pulse.ar(f ...

  9. xf-bufFun Quark

    ... , 0.001], [0.001, 1 ]]; ot = ot.sum; // sum it up ot = Rotate2.ar(ot[0], ot[1], SinOsc.kr( (Amplitude.kr(in).squared * 2), 0, 3 ).wrap2(1) ); BufWr.ar( in*newLvl.squared.min(1).lag(0.5) + (ot * oldLvl.lag(0.7).cubed), buf, phaW); // loop re ...

  10. sample sched simple test case Quark

    ... rg server; SynthDef("sine", { arg out=0, freq=110.0, amp=0.1; OffsetOut.ar(out, SinOsc.ar(freq, 0, amp).dup); }).send(server); }); OSCBundle.new.add([ "/s_new", "sine", 2000, 1, 1, 'freq', 1000, 'amp', 0.25 ]).syncedSend(~slaves[0],1); OSCB ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow