Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (729) Code (188) Doc (238) Help (111) Quark (181) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. Randomness Doc

    ... .75).postln; // small groups ⧉ ✔ Random signal generators, i.e. UGens PinkNoise WhiteNoise GrayNoise BrownNoise ClipNoise LFNoise0 LFNoise1 LFNoise2 LFClipNoise LFDNoise0 LFDNoise1 LFDNoise3 LFDClipNoise Dust Dust2 Crackle TWChoose Also see ...

  2. Button Doc

    ... DragSource(v, Rect(20, 20, 80, 26)) .object_( { |b| (b.value == 1).if{ snd = { WhiteNoise.ar(0.4) }.play } { snd.free } } // a button action function ) .string_("a play noise function").align_(\center).background_(Color.rand); p = CmdPerio ...

  3. Streams-Patterns-Events3 Doc

    ... ( SynthDef( \help_SPE3_Mridangam, { |out, t_amp| var sound; sound = Resonz.ar( WhiteNoise.ar(70) * Decay2.kr( t_amp, 0.002, 0.1 ), 60.midicps, 0.02, 4 ).distort * 0.4; Out.ar(out, sound); DetectSilence.ar(sound, doneAction: Done.freeSelf); ...

  4. DXMixIn Doc

    ... Bus.audio(s, 5); x = { Out.ar(a.index, [ BrownNoise.ar(0.1), PinkNoise.ar(0.2), WhiteNoise.ar(0.05), ClipNoise.ar(0.03), GrayNoise.ar(0.05) ]) }.play ) // mix from buses, mind node order ( y = { DXMixIn.ar( Dxrand((0..4), inf) + a.index, fa ...

  5. CtkControl Doc

    ... 1, 0], [0.5, 0.5], \sin); envgen = EnvGen.kr(env, timeScale: dur); src = BPF.ar(WhiteNoise.ar(amp), freq, 0.01, amp * envgen); Out.ar(0, Pan2.ar(src, Rand(-1.0, 1.0))); }) ); score = CtkScore.new; /* creates a granular gesture of duration. ...

  6. Multichannel-Expansion Doc

    ... ne channel { Blip.ar(800,4,0.1) }.play; // two channels { [ Blip.ar(800,4,0.1), WhiteNoise.ar(0.1) ] }.play; ⧉ ✔ Each channel of output will go out a different speaker, so your limit here is two for a stereo output. If you have a supported ...

  7. Bus Doc

    ... rol(s, 1).set(0.01); ) ( SynthDef(\rlpf, { |out, ffreq, rq| Out.ar(out, RLPF.ar(WhiteNoise.ar(0.2), ffreq, rq)) }).play(s, [\ffreq, a.asMap, \rq, b.asMap]); ) ⧉ ✔ . subBus ( offset , numChannels: 1 ) Get a new Bus that is a subset of this b ...

  8. Buffer_Granulation Doc

    ... g, 0, Dseq([panMax, panMax.neg],inf) * 0.999); pos = (pos * BufDur.kr(bufNum) * WhiteNoise.kr(posDev, 1)); Out.ar(out, TGrains.ar(2, trig, bufNum, rate, pos, granDur, pan, 1, interp) * amp); }).add; // LFO synthdef for switching between 3 t ...

  9. Server_Tutorial Doc

    ... e = 2; var osc, trg; trg = Decay2.ar(Impulse.ar(rate,0,0.3), 0.01, 0.3); osc = {WhiteNoise.ar(trg)}.dup; Out.ar(0, osc); // send output to audio bus zero. }).add; ) ( // define an echo effect SynthDef("echo", { arg delay = 0.2, decay = 4; v ...

  10. Tutorial Doc

    ... e = 2; var osc, trg; trg = Decay2.ar(Impulse.ar(rate,0,0.3), 0.01, 0.3); osc = {WhiteNoise.ar(trg)}.dup; Out.ar(0, osc); // send output to audio bus zero. }).add; ) ( // define an echo effect SynthDef("echo", { arg delay = 0.2, decay = 4; v ...

prev 21 22 23 24 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow