Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. LocalIn Help

    ... n; in = Mix .fill(12, { Pan2 .ar( Decay2 .ar( Dust .ar(0.05), 0.1, 0.5, 0.1) * FSinOsc .ar( IRand (36,84).midicps).cubed.max(0), Rand (-1,1)) }); in = in + Pan2 .ar( Decay2 .ar( Dust .ar(0.03), 0.04, 0.3) * BrownNoise .ar, 0); 4.do { in = A ...

  3. 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 ...

  4. tests Quark

    ... h)); }).add; ) s.addr = ~saveAddr; o = OSCBundle.new; o.addPrepare([\d_recv, { (SinOsc.ar * 0.1).dup }.asSynthDef(name: \test1).asBytes]); o.add(Synth.basicNew(\test1).newMsg); o.dump o.preparationMessages o.messages // should hit at the sa ...

  5. 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 ...

  6. 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 ...

  7. 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 ...

  8. SCDragView Help

    ... urce (w, Rect (10,130,150,20)).align_( \center ).setBoth_( false ); f.object={{ SinOsc .ar(440,0,0.4)}.play}; f.string= "My label is independent" ; f.dragLabel= " My dragLabel_() says \n I am dragging a sound function " ; // receive anthing ...

  9. 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); / ...

  10. PopUpMenu Doc

    ... , Rect(10, 10, 90, 20)) .items_(["Sine", "Saw", "Noise", "Pulse"]); funcs = [ { SinOsc.ar(440, 0, 0.3) }, { Saw.ar(440, 0.3) }, { WhiteNoise.ar(0.3) }, { Pulse.ar(440, 0.2, 0.3) } ]; b = Button(w, Rect(110, 10, 180, 20)) .states_([["play", ...

prev 221 222 223 224 225 226 227 228 229 230 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow