Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (807) Code (67) Doc (450) Help (188) Quark (73) Plugin (29) SCDoc ↗ Forum ↗ Google ↗
  1. SmoothFoldS2 Quark

    ... 001. Examples ( s = Server .local; Server .default = s; s.boot; ) // see scope, MouseX controls foldRangeLo, MouseY foldRangeHi x = { SmoothFoldS2 .ar( SinOsc .ar(90), -0.1, 0.1, MouseX .kr(0, 1), MouseY .kr(0, 1)) }.scope x.release

  2. PitchShift Doc

    ... y({ PitchShift.ar( SoundIn.ar([0, 1]), // stereo audio input 0.1, // grain size MouseX.kr(0, 2), // mouse x controls pitch shift ratio 0, // pitch dispersion 0.004 // time dispersion ) })) ( // use PitchShift to granulate input - USE HEADPH ...

  3. Warp1 Help

    ... f soundfile over 15 seconds pointer = Line .kr(0, 1, 15); // control pitch with MouseX pitch = MouseX .kr(0.5, 2); env = EnvGen .kr( Env ([0.001, 1, 1, 0.001], [0.1, 14, 0.9], 'exp' ), doneAction: 2); out = Warp1 .ar(1, buffer, pointer, pit ...

  4. flanger by lambda (lambda) Code

    ... =maxdelay/2; maxdepth=basedelay/2; depth = MouseY.kr(0,maxdepth); mfreq = MouseX.kr(0,maxfreq); mod1 = SinOsc.ar(mfreq,0,depth); sig = SoundIn.ar(0,mul:2); out = DelayC.ar(sig, maxdelay,basedelay+ mod1); out = Mix.ar([out,sig ...

  5. Friction Doc

    ... + LFPulse.kr(0.33)).range(220, 660).lag(0.1)); out = Friction.ar(sig, friction: MouseX.kr(0.00001, 0.03, 1), mass: MouseY.kr(0.2, 10, 1)); [sig, out] * 0.1; }.scope ) x.free; ( // Some Ringz oscillators, each with a _separate_ Friction1, th ...

  6. TChoose Help

    ... rray) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TChoose .ar( Dust .ar( MouseX .kr(1, 1000, 1)), a) * 0.2 }.play; ) Note: all the ugens are continously running. This may not be the most efficient way if each input is cpu-expensive.

  7. SOMRd Doc

    ... plotted in the SOMTrain helpfile. ( x = { var coords; coords = SOMRd.kr(~som, [MouseX.kr(0, 2), MouseY.kr(1, -1)], ~numnodes, 1); coords.poll(4); }.play ) // This is the same as above but then retrieves the "template vector" from the SOM a ...

  8. Decoding-FOA Doc

    ... hoic environment) arriving from some direction. The soundfield is controlled by MouseX and MouseY , where MouseX specifies the incident azimuth angle (pi to -pi; left to right of display) and MouseY the FoaPush angle (0 to pi/2; bottom to t ...

  9. ObjectSpec Doc

    ... ec(nil) ]); ) // use the default exciter p = Patch([\analog, \voxlet], [Patch({ MouseX.kr(20, 20000, 1, 0.1) }), 0.5, nil, nil, Patch({ MouseY.kr(20, 20000, 1, 0.1) }), nil, nil, nil, nil, nil, 1, 0]); p.play; // move the mouse to control b ...

  10. Dwrand Help

    ... = Dwrand ([0, 1, 2, 7], [0.4, 0.4, 0.1, 0.1], inf ).dpoll; trig = Impulse .kr( MouseX .kr(1, 400, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow