Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (474) Code (97) Doc (170) Help (73) Quark (130) Plugin (4) SCDoc ↗ Forum ↗ Google ↗
  1. MovingAverage Doc

    ... , in seconds. // noise source: Pink Noise SynthDef(\noisrc, { |out| Out.ar(out, PinkNoise.ar); }).add; // RunningSum, averaged SynthDef(\rs_avg, { |out, in, samps=4410| Out.kr( out, A2K.kr( // convert to control rate for scoping RunningSum. ...

  2. 11-Busses Doc

    ... together. The code below will use two Synths as sources, one creating pulses of PinkNoise (a kind of Noise which has less energy at high frequencies than at low), and another creating pulses of sine waves. The pulses are created using the U ...

  3. InteractiveEnvironment Doc

    ... ); }); }; e.objectFunc_{ |object, i| var ndefFunc = { |x=0, y=0, z=0| var snd = PinkNoise.ar(0.1); AmbisonicPan.ar(snd, x, y, z, ~decoder); }; e.sonifyObject(object, ndefFunc, 10); }; e.create ⧉ ✔ helpfile source: /tmp/scquark_hs/Dimple/Hel ...

  4. OverlapTexture Doc

    ... ction: 2); freq = 440.0.rrand(110.0).dup + [0, 5.0.rrand(50.0)]; sound = BPF.ar(PinkNoise.ar(amp), freq, 0.01.rrand(0.1)) * env ; Out.ar(0, sound); }).add; ) a = OverlapTexture.new([\sinetest, \noisetest], s); a.play(60, 1, 1, 200, args: [[ ...

  5. Klank Doc

    ... t.ar(8, 0.1)) }.play; { Klank.ar(`[[800, 1071, 1353, 1723], nil, [1, 1, 1, 1]], PinkNoise.ar(0.007)) }.play; { Klank.ar(`[[200, 671, 1153, 1723], nil, [1, 1, 1, 1]], PinkNoise.ar([0.007, 0.007])) }.play; ⧉ ✔ Three resonators at maximum ampl ...

  6. DetectSilence Doc

    ... e quiet enough for a long enough time { var signal = Decay.ar(Impulse.ar(0), 2, PinkNoise.ar(0.2)); DetectSilence.ar(signal, doneAction: Done.freeSelf); signal }.play; ⧉ ✔ If the input signal starts with silence at the beginning of the synt ...

  7. SoftSet Doc

    ... ithin: 0.1); // now put in a sound process that uses \freq: Ndef(\a, { Ringz.ar(PinkNoise.ar, \freq.kr(440).lag(0.1), 0.3) }).play; // See examples below for how to use this in controllers, // but first see their different behaviors with sl ...

  8. Tour_of_UGens Doc

    ... .scope(1, zoom:8); ⧉ ✔ Broad Spectrum Noise Generators ClipNoise , WhiteNoise , PinkNoise , BrownNoise , GrayNoise arguments: mul, add { ClipNoise.ar(0.2) }.scope(1); { WhiteNoise.ar(0.2) }.scope(1); { PinkNoise.ar(0.4) }.scope(1); { BrownN ...

  9. FoaMatrixFade Doc

    ... = s.audioBusAllocator.alloc( 4 ); a = FoaMatrixFade(0, b); ~foa = { FoaPanB.ar( PinkNoise.ar(0.25), LFSaw.kr(0.3).range(0,2pi)) }.play(outbus: b) // swap to full focus to the left a.matrix_( FoaXformerMatrix.newFocus(pi/2, pi/2) ) // swap t ...

  10. SelectXFocus Doc

    ... ).range(0, 700) + 220) ); SelectXFocus.ar(mx * n, a, my * n) * 0.2 + OnePole.ar(PinkNoise.ar(0.5 ! 2), 0.4) * Line.kr(0, 1, 3); }.play; ) // jimmy played harmonica in the pub where I was born // (hh) (jrh) (cc 2006) ( { var blas, zieh, mx, ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow