Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (655) Code (151) Doc (206) Help (61) Quark (221) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Button Doc

    ... tates_([ ["sine", Color.black, Color.rand], ["saw", Color.black, Color.rand], ["noise", Color.black, Color.rand], ["pulse", Color.black, Color.rand] ]) .action_({ |butt| butt.value.postln; }); w.front; ) // does not do action b.value = 2; / ...

  2. Rongs Doc

    ... r sustain A trigger/gate input to keep the resonator open (feeding it crackling noise) f0 The base scale for the frequency expressed in herz. This is sort of arbitrary and will be scaled by amount of modes and a combination of the other par ...

  3. In Doc

    ... instance methods Examples read from an audio bus: s.boot; ( SynthDef("help-PinkNoise", { |out = 0| Out.ar(out, PinkNoise.ar(0.1)) }).add; SynthDef("help-In", { |out = 0, in = 0| var input; input = In.ar(in, 1); Out.ar(out, input); }).add; ...

  4. LevelIndicator Doc

    ... meter s.waitForBoot({ b = Buffer.read(s, ExampleFiles.child); x = { var colum, noise, imp, delimp, mul = 1; imp = Impulse.kr(10); delimp = Delay1.kr(imp); colum = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1) * mul; // measure rms and Peak ...

  5. MugicSpatCon Doc

    ... efers to one of these functions. Each of these wraps a particular UGen: 0 White noise (using LFNoise2 ) 1 Brownian movement (using LFBrownNoise2 ) 2 Lorenz attractors (using LorenzL ) 3 Feedback sine (using FBSineC ) 4 Onset detection (usin ...

  6. 06-Presented-in-Living-Stereo Doc

    ... oes between -1 (left) and 1 (right). Take a look at this example: { Pan2.ar(PinkNoise.ar(0.2), SinOsc.kr(0.5)) }.play; ⧉ ✔ This uses a SinOsc to control the position (remember it outputs values from -1 to 1, or left to right), but uses a di ...

  7. ZeroXBufWr Doc

    ... alloc(s, 256); z = Buffer.alloc(s, 256); ) // analyse a short snippet of random noise ( { var src = LFDNoise3.ar(5000); ZeroXBufWr.ar(src, b, z, startWithZeroX: 0, doneAction: 2); Silent.ar }.play ) // plot buffer, most likely it doesn't st ...

  8. Exercise_09_HOA_interfacing_VBAP_and_Ambisonics Doc

    ... // watch the scope window for you binaural results s.scope(2); ⧉ ✔ Now encode a Noise source over VBAP with the Lebedev speaker positions and feed this 50 channels into the HOAEncLebedev50 e.g. for the 5th order. Then, binauralize the resul ...

  9. Convolution2 Doc

    ... e; input = SoundIn.ar(0); inputAmp = Amplitude.kr(input); threshhold = 0.02; // noise gating threshold gate = Lag.kr(inputAmp > threshhold, 0.01); Convolution2.ar(input*gate, g.bufnum, 0, a, 0.5) }.play; ) // one last example ( b = Buffer.a ...

  10. ATK-SynthDef-Examples Doc

    ... PanB is the SuperCollider inbuilt equivalent. This first example encodes a PinkNoise source as a planewave and decodes to stereo. Server.default = s = Server.local.boot; ( var decoder; // First we will define our decoder // stereo decoder ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow