Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. DXMixIn Doc

    ... xpansion // play to buses silently ( a = Bus.audio(s, 5); x = { Out.ar(a.index, SinOsc.ar((3..7) * 100, 0, 0.05)) }.play ) // mix the source // a Drate ugen with arrays causes multichannel expansion // thus the drate ugen for fadeTime needs ...

  2. MethodController Doc

    ... olling GUI ( s.waitForBoot{ SynthDef( \example, { |freq, amp, timbre| var sig = SinOsc.ar( freq); sig = ( sig*timbre).tanh*amp; Out.ar( 0, sig!2); } , [0.1, 0.1, 0.1] // use lag to smoth the GUI changes , metadata:( specs: ( freq:\freq.asSp ...

  3. Tendency Doc

    ... am Use this Tendency like a Stream . ( SynthDef(\tendency, {arg freq; Out.ar(0, SinOsc.ar(freq, 0, XLine.kr(0.1, 0.0001, 1, doneAction: 2))); }).send(s); ) ( Routine.run({ g = Tendency.new(1760.0, 440.0, Env([0.01, 2.0], [10], \sin), Env([0 ...

  4. Group Doc

    ... p-moto-rev", { |out = 0, freq = 100, ffreq = 120| var x; x = RLPF.ar(LFPulse.ar(SinOsc.kr(0.2, 0, 10, freq), [0, 0.1], 0.1), ffreq, 0.1).clip2(0.4); Out.ar(out, x); }).add; SynthDef("help-Group-wah", { |out, rate = 1.5, cfreq = 1400, mfreq ...

  5. Voicer Doc

    ... s the old value for a smooth connection v.globalControls[\ffreq].automateFade { SinOsc.kr(0.2).exprange(900, 2100) }; v.release([60, 64, 67].midicps); // the modulator still exists, belonging to the VoicerGlobalControl // when we free the V ...

  6. NTMI Doc

    ... 0, curve=0; var env = Env.perc(0.01, 1/rate, 1, curve).ar(0, Impulse.ar(rate)); SinOsc.ar(freq*env) * amp; }); ⧉ ✔ Run NTMI.run and you should be able to select your new sound in one of the sound slots. A few things to notice here are: - th ...

  7. PpolyPar Doc

    ... nthDef(\sine, { |freq = 400, freqlag = 0.0, amp = 0.1, amplag = 0.05| Out.ar(0, SinOsc.ar(Lag.kr(freq, freqlag), 0, mul: VarLag.kr(amp, amplag, warp: 1)) ! 2 * EnvGate()); }).add; ) // simple usage, each stream is setting the corresponding ...

  8. HID Doc

    ... controller s.boot; // boot the server Ndef(\sinewave, { |freq = 500, amp = 0.1| SinOsc.ar(freq, 0, amp * 0.2) }); Ndef(\sinewave).play; ~freqRange = [500, 5000, \exponential].asSpec; // create a frequency range HIDdef.usage(\freq, { |value| ...

  9. MultiSliderView Doc

    ... ✔ Use as a Sequencer ( var size; size = 12; s.waitForBoot({ n = { |freq = 330| SinOsc.ar(freq, 0, 0.2) }.play; w = Window("test", Rect(200, 450, 10 + (size * 17), 10 + (size * 17))); w.view.decorator = FlowLayout(w.view.bounds); b = MultiS ...

  10. 13-Buffers Doc

    ... b = Buffer.alloc(s, 512, 1); b.cheby([1,0,1,1,0,1]); ( x = play({ Shaper.ar( b, SinOsc.ar(300, 0, Line.kr(0,1,6)), 0.5 ) }); ) x.free; b.free; ⧉ ✔ The Shaper UGen performs waveshaping on an input source. The method 'cheby' fills the buffer ...

prev 91 92 93 94 95 96 97 98 99 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow