Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (644) Code (48) Doc (298) Help (102) Quark (184) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. Friction Doc

    ... Friction.ar(sig, friction: 5.41322e-5, mass: 8.05501); Pan2.ar(out, 0, 0.1); }.scope ) x.free; ( // Modulate the parameters by moving the mouse. Left speaker is original (modulated) sine wave, right speaker is filtered. x = { var sig, out; ...

  2. HOATransRotateAz Doc

    ... pitch yaw and roll ( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); {HOATransRotateAz.ar(~order, HOAEncPan.ar(~order, WhiteNoise.ar(1)), MouseX.kr(0, 360 ) )}.play ) ⧉ ✔ helpfile source: ...

  3. FMHDecode1 Doc

    ... 5pi, 1.25pi], [0.25pi,0.25pi,0.25pi,0.25pi,-0.25pi,-0.25pi,-0.25pi,-0.25pi]); }.scope(8); ) // some common speaker rigs ( { var w, x, y, z, r, s, t, u, v; #w, x, y, z, r, s, t, u, v = FMHEncode1.ar(WhiteNoise.ar,MouseX.kr(0, 2pi), MouseY.kr ...

  4. HOALibEnc3D Doc

    ... pitch yaw and roll ( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); {HOALibEnc3D.ar(~order, WhiteNoise.ar(1), MouseX.kr(0, 360), MouseY.kr(-90, 90 ) )}.play; ) ⧉ ✔ helpfile source: /tmp/ ...

  5. HOATransRotateXYZ Doc

    ... pitch yaw and roll ( ~order = 2; // try different orders up to 5 and watch the scope window. s.scope((~order+1).pow(2)); { HOATransRotateXYZ.ar(~order, HOAEncoder.ar(~order, WhiteNoise.ar(1.0)), LFTri.ar(0.1, 0, pi), LFTri.ar(0.1, 0, pi), ...

  6. SpecFlatness Doc

    ... l(10, "flatness: "); flatdb.poll(10, "flatness (db): "); [flat, flatdbsquish] }.scope; ) ( { // Now try with your own voice var in, chain; in = SoundIn.ar([0, 1]).mean; chain = FFT(LocalBuf(2048), in); Out.kr(0, [in, SpecFlatness.kr(chain). ...

  7. Ramp Doc

    ... Line.kr(0, 1, 15) // modulate lag time ), 0, // phase 0.3 // sine amplitude ) }.scope; ) // Compare ( var pulse; { pulse = LFPulse.kr(8.772); Out.kr(0, [Ramp.kr(pulse, 0.025), Lag.kr(pulse, 0.025), pulse]); }.play; s.scope(3, bufsize: 44100 ...

  8. AtkMatrixMix Doc

    ... ]); // pink noise sig = PinkNoise.ar; // encode AtkMatrixMix.ar(sig, matrix); }.scope ) ⧉ ✔ Stereophonic to FOA // hand code a stereo signal to a +/-45deg in B-format ( { var matrix; var sig; // define encoding matrix matrix = Matrix.with([ ...

  9. Chen Doc

    ... channel expanded amp * Splay.ar(sig, spread: chen[0]); }).play ) // See it on a scope ( Ndef(\scoped, { var x, y, z; #x,y,z = Chen.ar(0.000092); [x,y,z] }).scope; ) ( Ndef(\torn, {|amp=0.5| var chenspeedMax = 0.009; var chen = Chen.ar(LFCub ...

  10. HoaXformMatrix Doc

    ... r = 1 ~order = 2 ~order = 3 // choose an outbus, if need be ~outbus = 0 // open scope s.scope(~order.asHoaOrder.size, ~outbus); // design encoding matrix ~directions = [ [0.0, 0.0], [90.0, 0.0], [180.0, 0.0], [-90.0, 0.0], [0.0, 90.0], [0.0 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow