Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ,10, 5)).clip2(1); var val = Crest.kr(sig, 440).poll; Out.ar(0, sig * 0.1.dup); K2A.ar(val); }.plot(5, minval:1, maxval: 4) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/MCLDUGens/HelpSource/Classes/Crest.schel ...

  2. DemandEnvGen Doc

    ... seq([Dseries(-0.1, 0.01, 20)], inf), SampleDur.ir * MouseY.kr(1, 100, 1), 1, 0, K2A.ar(1), Impulse.ar(MouseX.kr(1, SampleRate.ir * MouseX.kr(0.002, 1, 1), 1), 0, 1.5) ) }.scope; ) // softsyncing a saw ( { DemandEnvGen.ar( Dseq([Dseries(-0.1 ...

  3. Loudness Doc

    ... sampling rates 88200 and 96000 loudness = Loudness.kr(chain, 0.25, 6).poll(50); K2A.ar(loudness * 0.016) }.plot(2.0) ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Loudness.schelp link::Classes/Loudness::

  4. TBall Doc

    ... ouse x controls switch of level // mouse y controls gravity ( { var t, sf; sf = K2A.ar(MouseX.kr > 0.5) > 0; t = TBall.ar(sf, MouseY.kr(0.01, 1.0, 1), 0.01); Pan2.ar(Ringz.ar(t * 10, 1200, 0.1), MouseX.kr(-1, 1)); }.play; ) // mouse x contr ...

  5. RedAGrain Doc

    ... ; //mouseX controls position d.free; d= SynthDef("pos", {Out.ar(r.posBus.index, K2A.ar(MouseX.kr(0, 1, lag:1)))}).play; //mouseXY control + a little random d.free; d= SynthDef("pos", {Out.ar(r.posBus.index, LFNoise2.ar(120, MouseY.kr(0, 0.1 ...

  6. BFDecode1 Doc

    ... e B-format signals MUST be audio rate signals. If you want to zero one out, use K2A.ar(0). Class Methods BFDecode1. ar1 ( w , x , y , z , azimuth: 0 , elevation: 0 , maxDist: 10 , distance: 10 , wComp: 0 , mul: 1 , add: 0 , scaleflag: 1 ) 3 ...

  7. LevelIndicator Doc

    ... mul; // measure rms and Peak SendReply.kr(imp, '/levels', [Amplitude.kr(colum), K2A.ar(Peak.ar(colum, delimp).lag(0, 3))]); colum; }.play; a = LevelIndicator(bounds: Rect(100, 100, 100, 400)).front; a.onClose_({ x.free; o.free }); o = OSCFu ...

  8. StreamKrDur Doc

    ... ⧉ ✔ A metronome ( var nome,layout; nome = Patch({ arg beat,freq,amp; Decay2.ar( K2A.ar(beat), 0.01,0.11, SinOsc.ar( freq, 0, amp ) ) },[ BeatClockPlayer.new(4.0), StreamKrDur( Pseq([ 750, 500, 300, 500, 750, 500, 400, 500, 750, 500, 400, 50 ...

  9. SOMTrain Doc

    ... me index"); BufWr.kr(err.sqrt, ~errorvals, ~traindur-remain); Out.ar(0, Pan2.ar(K2A.ar(val) * 0.01)); }.play ) // Once the training is finished (i.e. once "remain" drops to zero): x.free; // We should be able to look at the 2D data points r ...

  10. Live_Granulation Doc

    ... e of envelope shouldn't be changed while application latchedTrigRate = Latch.ar(K2A.ar(trigRate), startTrig); latchedStartTrig = Impulse.ar(latchedTrigRate); latchedOverlap = Latch.ar(K2A.ar(overlap), startTrig); latchedOverlap = max(latche ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow