Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. OssiaReference Doc

    ... ind the frequency parameter to the synthdef, becoming an argument d = SynthDef('sinosc', { Out.ar(0, SinOsc.ar(~freq.kr, 0, 0.25)); }).add; // the snapshot convenience method returns an array with children parameter's name and current value ...

  2. Instr-SynthDefs Doc

    ... itch goes up {line = Line.kr(0,1,5)} // upDown 0 or less ==> pitch goes down ); SinOsc.ar(440*line,0,0.2); },[ StaticIntegerSpec(0,1) ]); Patch(\upOrDown, [ 0]).play ⧉ ✔ The upDown param acts as a switch between different synth def architec ...

  3. CVCenter Doc

    ... : -cvcGui NodeProxy: -cvcGui Patch: -cvcGui Examples Ndef(\sawTest, { |damping| SinOsc.ar(damping * VarSaw.ar(\sawFreq.kr([100, 101]))).tanh * \amp.kr(0.5) }); // Ndefs don't have metadata but you may add some specs ahead from creation Spec ...

  4. HilbertWRe Doc

    ... e / s.sampleRate; // in seconds freq = dur.reciprocal; { // real HilbertWRe.ar( SinOsc.ar(freq, pi/2), // cosine test, one cycle over fftbuffer size size: size); }.loadToFloatArray(overSample * dur, s, { |arr| defer { arr = arr.copyRange(st ...

  5. NPVoicer Doc

    ... ith NPVoicer. ( s.latency = nil; g = NPVoicer(Ndef(\x)); g.prime({ |freq = 400| SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.001, 0.03, 0.4), doneAction:2) }, true); g.play; w = Window("ascii player - clickies").front; w.view.keyDownAction = { |v ...

  6. HOA-NFE Doc

    ... ons.size, 1, 1).reciprocal; // audition ( { var gain = -12; var sig, hoa; sig = SinOsc.ar(~freqs, mul: gain.dbamp * ~amps); hoa = HoaNFCtrl.ar( HoaEncodeMatrix.ar(sig, ~matrixEncoder), ~encRadius, // encoding radius AtkHoa.refRadius, // ref ...

  7. Pproto Doc

    ... 0, numbufs = 8, sustain = 1, freq = 500, amp = 0.1, pan = 0| var audio; audio = SinOsc.ar(freq); audio = EnvGen.ar(Env.linen(0.4, 0.50, 0.9), 1, timeScale: sustain, doneAction: Done.freeSelf) * audio; audio = Shaper.ar(bufnum, audio); audio ...

  8. Pdefn Doc

    ... ustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; s.boot; ) ( Pdefn(\deg, Pseq([0, 3, 2 ...

  9. FormantTable Doc

    ... egree = Index.kr(scaleBuf, MouseX.kr(0, BufFrames.kr(scaleBuf))); var vibrato = SinOsc.kr(6, mul:4); var base = 4 * 12; var in = Saw.ar(((degree + base).midicps + vibrato).lag(0.3)); Out.ar(0, Mix.new(BBandPass.ar(in, f, q) * a).dup); }).se ...

  10. AutoTrack Doc

    ... ufnum,1.0,1,0,1); #trackb,trackh,trackq,tempo=AutoTrack.kr(source, lock); beep= SinOsc.ar(1000,0.0,Decay.kr(trackb,0.1)); Out.ar(0,Pan2.ar((vol*source)+(beepvol*beep),0.0)); }).play; ) a.set(\vol,0.0); a.set(\beepvol,1.0); a.set(\lock,1); / ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow