Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (133) Code (19) Doc (34) Help (11) Quark (62) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. AudioHelpers Quark

    ... also Trig // this is just one sample impulse at .ar triggered by a .kr trig // K2A.ar(trig) sounds different, being a whole control period // and has K2A interpolatiion *ar { arg trig=0.0,mul=1.0,add=0.0; var t; t=Trig.ar(trig,2.26757e-05) ...

  2. AudioHelpers Quark

    ... also Trig // this is just one sample impulse at .ar triggered by a .kr trig // K2A.ar(trig) sounds different, being a whole control period // and has K2A interpolatiion *ar { arg trig=0.0, mul=1.0, add=0.0; var t; t=Trig.ar(trig, 2.26757e- ...

  3. AttackSlope Doc

    ... = AttackSlope.kr(source,peakpicksize:20,sumthreshold:40); //slopeanalysis.poll; K2A.ar(slopeanalysis); //old now [4,5,1] //K2A.ar([slopeanalysis[0],100*slopeanalysis[1],slopeanalysis[2]]) //K2A.ar([slopeanalysis[0],100*slopeanalysis[1],slop ...

  4. extArray-Rotation Quark

    ... == 'scalar'} { if(n.rate == 'control') { RotateN.kr(n, this) } { RotateN.ar(n, K2A.ar(this)) } }; } rotateL { |n = 0| // linear interpolation ^case {n.rate == 'scalar'} { (this.rotate(n.floor.asInteger) * (1-n.frac)) + (this.rotate(((n.flo ...

  5. Perlin3 Doc

    ... ce Methods Inherited instance methods Examples s.boot {Perlin3.ar(Integrator.ar(K2A.ar(MouseX.kr(0, 0.1))), Integrator.ar(K2A.ar(MouseY.kr(0, 0.1))))}.play(s) {Perlin3.ar(*{Line.ar(0, 1000, 30)}.dup(3))}.plot(1) ⧉ ✔ helpfile source: /usr/lo ...

  6. Ambisonics Plugin

    ... * for more information */ *stereo {arg w, y, mul = 1, add = 0; var zero; zero = K2A.ar(0); ^this.ar(w, zero, y, zero, zero, zero, zero, zero, zero, [0.25pi, -0.25pi], 0, mul, add) } // stereo pairs *square {arg w, x, y, v, mul = 1, add = 0; ...

  7. Rotation Quark

    ... klicks are heard at the turning points.. // use .arSwitch to avoid this (or use K2A.ar on the 'which' input) whichfrac = which.frac; whichfloor = which.floor; ^(Select.ar(whichfloor%array.size, array) * (1 - whichfrac)) + (Select.ar((whichf ...

  8. KrPlayer Quark

    ... rol,this.numChannels) } //kr { ^this.subclassResponsibility(thisMethod) } ar { ^K2A.ar(this.kr) } value { ^this.kr } poll { ^this } //guiClass { ^KrPlayerGui } }

  9. KrPlayer Quark

    ... ol, this.numChannels) } //kr { ^this.subclassResponsibility(thisMethod) } ar { ^K2A.ar(this.kr) } value { ^this.kr } poll { ^this } //guiClass { ^KrPlayerGui } }

  10. unary_ops_1_kr_bench Quark

    SynthDef( \unary_ops_1_kr, { var src; Out.ar(0, K2A.ar(300.collect{ src = WhiteNoise.kr; (src.cubed.ampdb + 0.01).dbamp.sqrt.cos.neg.exp.floor.log.midicps.cpsmidi.softclip.distort }.mean)) })

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow