Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... on the grid and set them en masse ~this.mx.units.whereIsA(NDef).set(\source_,{ SinOsc.ar([400, 408] * 0.8, 0, 0.2) }); // create some neighbors ~this.mx.insertAt(~this.point + 0@1, Ndef('neighborhor')); ⧉ ✔ These examples arent so exciting ...

  2. GrainExplorer Doc

    ... , freq = 67, sustain = 0.5, attack = 0.01, amp=0.1, startFreq = 1000| var osc = SinOsc.ar(XLine.kr(startFreq, freq, attack), 0.5pi); var env = EnvGen.kr(Env.perc(attack, sustain), doneAction: 2) * amp; Out.ar(out, osc * env!2); }).metadata_ ...

  3. Pnaryop Doc

    ... n.kr(Env.perc(0.01, sustain, 0.2, amp), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pnaryop(\wrap, Pseries(0, 1, 12), [3, 7]).asStream; { a.do { |val| Synth(\help_sinegrain, [\freq, (val + 72) .mi ...

  4. Streams-Patterns-Events7 Doc

    ... mp = Decay2.kr(Impulse.kr(0), 0.05, 8, amp); out = RLPF.ar( LFPulse.ar(freq, 0, SinOsc.kr(0.12,[0,0.5pi],0.48,0.5), amp), freq * SinOsc.kr(0.21,0,4,8), 0.07 ); #a, b = out; DetectSilence.ar(a, 0.0001, doneAction: Done.freeSelf); Out.ar(i_ou ...

  5. HoaNFProx Doc

    ... r gain = -12; var sig; var hoa; sig = Saw.ar(freq, gain.dbamp); // saw // sig = SinOsc.ar(freq, mul: gain.dbamp); // sine // HOA encoding, refRadius = AtkHoa.refRadius (= 1.5) hoa = HoaEncodeDirection.ar(sig, ~theta, ~phi, ~encRadius, ~orde ...

  6. ListTrig Doc

    ... tTrig.kr(b.bufnum, t_reset); env = EnvGen.ar(Env.perc(0.01, 0.1), trigs); son = SinOsc.ar(440, 0, env * 0.2); ramp = Phasor.kr(t_reset, ControlRate.ir.reciprocal, 0, inf); ramp.poll(trigs, "Trigger at time offset"); son.dup; }.play(s) ); x. ...

  7. IndexInBetween Doc

    ... 00, 900); index = IndexInBetween.kr(buffer, f0); f1 = IndexL.kr(buffer, index); SinOsc.ar([f0, f1]) * 0.1 }.play; ) // One way to map across from an arbitrary piecewise curve, onto another: // We use IndexInBetween to "unmap" your input int ...

  8. Activity Doc

    ... gain a.action = nil; // stop posting ( SynthDef(\ting, { |freq, amp| Out.ar(0, (SinOsc.ar(freq) * Line.kr(amp, amp * 0.001, 0.2, 5, doneAction: 2)).tanh ! 2); }).add; // more activity creates wider melody jumps, // and higher amplitude/dist ...

  9. MP3 Doc

    ... pfile for more on this. ( SynthDef("help_mp3_02", { |bufnum = 0| var son; son = SinOsc.ar(SinOsc.ar(Line.kr(1, 100, 10, doneAction:2)).range(220, 550)) * 0.1; son = son.dup; Out.ar(0, son); DiskOut.ar(bufnum, son); }).load(s); ) // Create a ...

  10. TermanWang Doc

    ... .kr(2.0,4.0)),0.0))}.play; {Out.ar(0,Pan2.ar(FreeVerb.ar(0.5*TermanWang.ar(2.0+ SinOsc.ar(MouseX.kr(10,10000,'exponential'),0,MouseY.kr(0.1,100.0,'exponential')),Impulse.kr(MouseX.kr(1,10000, 'exponential')),0.01,0.01,1.0,1.0,1.0,MouseX.kr( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow