Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ); { var p,qnty=4,gate; gate = In.kr(b); p = Mix.arFill(qnty.asInteger,{ arg i; SinOsc.ar(440 + rrand(1,5)) }) * qnty.reciprocal; Enveloper2.ar(p,gate,Env.adsr) }.play; ) // On b.value = 1.0; // Off b.value = 0.0; b.value = 0.2; b.value = 0 ...

  2. PV_PhaseShift90 Doc

    ... ods Examples s.boot; ( { |out = 0, bufnum = 0| var in, fft, fft2, shifted; in = SinOsc.ar(500, 0, 0.1); fft = FFT(LocalBuf(2048), in); fft2 = FFT(LocalBuf(2048), in); shifted = PV_PhaseShift90(fft); Out.ar(out, [IFFT(fft2), IFFT(shifted)]); ...

  3. Control Doc

    ... ol = Control.names(\array).kr(Array.rand(numsines, 400.0, 1000.0)); sines = Mix(SinOsc.ar(control, 0, numsines.reciprocal)) ; Out.ar(out, sines ! 2); }).add ) b = Synth(\help_Control_Sines); b.setn(\array, Array.rand(20, 200, 1600)); b.setn ...

  4. TChoose Doc

    ... s methods Instance Methods Inherited instance methods Examples ( { 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 continuously running. This may not be t ...

  5. PulseCount Doc

    ... d instance methods Examples SynthDef("help-PulseCount", { |out = 0| Out.ar(out, SinOsc.ar( PulseCount.ar(Impulse.ar(10), Impulse.ar(0.4)) * 200, 0, 0.05 ) ) }).play; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Pul ...

  6. Wrap Doc

    ... methods Instance Methods Inherited instance methods Examples s.boot; { Wrap.ar(SinOsc.ar(440, 0, 0.2), -0.15, 0.15) }.scope; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Wrap.schelp link::Classes/Wrap::

  7. SynthDefAutogui Doc

    ... open autogui in one line SynthDef(\test, { arg out = 0, freq = 100; Out.ar(out, SinOsc.ar(freq)) }).add.autogui; // Attach to a running Synth x = Synth(\test).autogui; // No scope x = Synth(\test).autogui(scopeOn: false); // With custom Con ...

  8. Spawning Doc

    ... object. ) // then do this ( SynthDef("help-Rand", { arg out = 0; Out.ar( out, FSinOsc.ar( Rand(200.0, 400.0), // frequency between 200 and 400 Hz 0, Line.kr(0.2, 0, 1, doneAction: Done.freeSelf) // frees itself ) ) }).play(s); ) x.free; ⧉ ...

  9. Dwrand Doc

    ... ig = Impulse.kr(MouseX.kr(1, 400, 1)); freq = Demand.kr(trig, 0, a) * 30 + 340; SinOsc.ar(freq) * 0.1 }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Dwrand.schelp link::Classes/Dwrand::

  10. PV_Invert Doc

    ... fer; var in, chain; // a sample signal (strong sin tone, little PinkNoise) in = SinOsc.ar(440, 0, 0.4) + PinkNoise.ar(0.1); chain = FFT(buffer, in); chain = PV_Invert(chain); Out.ar(0, [in, IFFT(chain) * 0.5]); }).add; s.boot; s.sendMsg(\b_ ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow