Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. jitlib_fading Doc

    ... created, but the synth is freed (without fading) ( ~out = { Out.ar(0, SinOsc.ar(Rand(440,550),0,0.2)) }; ) ⧉ ✔ c) custom fade envelope // when a gate arg is provided, and the env can free the synth, this envelope // is supposed to be the fa ...

  2. core-synths-global Quark

    ... kr(1).range(0.01, 0.02)); // regulate input 4.do { in = AllpassN.ar(in, 0.03, { Rand(0.005, 0.02) }.dup(numChannels), 1) }; depth = size.lag(0.02).linexp(0, 1, 0.01, 0.98); // change depth between 0.1 and 0.98 loop = LocalIn.ar(numChannels) ...

  3. bufdelays_1_bench Quark

    ... eNoise.ar; Out.ar(0, 250.collect{|i| buf = LocalBuf(SampleRate.ir * 6); delay = Rand(0.01, 3.0); [BufDelayN, BufDelayL, BufDelayC].wrapAt(i).ar(buf, src, delay) }.mean) })

  4. fm_sin_1_bench Quark

    SynthDef( \fm_sin_1, { var freqs = 250.collect{|n| SinOsc.ar(n + 1.0.rand).range(rrand(10, 10000), rrand(10, 10000)) } * 10; var oscs = freqs.collect{|f| SinOsc.ar(freq: f) }; Out.ar(0, oscs.mean) })

  5. Image Doc

    ... ok = { Pen.translate(100, 100); 10.do{ // set the Color Pen.color = Color.blue(rrand(0.0, 1), rrand(0.0, 0.5)); Pen.addWedge((100.rand)@(100.rand), rrand(10, 100), 2pi.rand, 2pi.rand); Pen.perform([\stroke, \fill].choose); } }; w.refresh; ) ...

  6. Tracing-Processes Doc

    ... will only post part of the data, or a simplified representation. // n times 200 random numbers // will just add ... etc ... after 123 var n = 3; (1..n).do { |num| { 1000.rand }.dup(200).postln }; ⧉ ✔ posts the compile string, i.e. the code ...

  7. Gradient Help

    ... w = Window .new.front; v = CompositeView (w, Rect (50,50,300,300)); c = Color .rand; d = c.vary(0.15); v.background = Gradient (c, d, \v ); [c, d].postln ) ( var w, k, c, d, e, c1, c2, f, g; w = Window .new.front; k = Slider2D (w, Rect (50 ...

  8. Participation Quark

    ... efault ?? {default = this.new.autoCollect } } *makeName { ^format("%_%", String.rand(8, 1), NetAddr.myIP.split($.).last).asSymbol } channel { ^("/" ++ groupName).asSymbol } myAddr { ^everybody[myName] } init { arg participants; addresses = ...

  9. 18_Frequency_modulation Doc

    ... bs", { ReplaceOut.ar( 6, Mix.arFill(7, { CombL.ar(In.ar(4, 1), 0.1, LFNoise1.kr(Rand(0, 0.1), 0.04, 0.05), 15) }) ) }).add; SynthDef("allpass", { arg gain = 0.2; var source; source = In.ar(6, 1); 4.do({ source = AllpassN.ar(source, 0.050, [ ...

  10. Plazy Doc

    ... nval ) . func . func = value Examples ( a = Plazy({ var x, y; x = Array.series(rrand(2, 4), [1, 100].choose, 1); Pshuf(x, 1); }); x = Pn(a, inf).asStream; 30.do({ x.next.postln }); ) // Plazy used to produce a sequence of pitches: ( SynthDe ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow