Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)).exprange(0.3, 20)) * // Boost the amount of triggers when we're doing a "sweep" (EnvGen.kr(Env.new([1, ...

  2. 2d_preset_func Quark

    ... ef = Ndef(\bleepo); var deltaPairs = ndef.controlKeys.collect { |key| [key, 0.1.rand2] }; MFdef(\relSet).(ndef, deltaPairs); this is for using influx changevectors to nudge ndefs. */ MFdef(\relSet).add(\relSet, { |obj, deltaPairs| var newva ...

  3. jitlib_basic_concepts_03 Doc

    ... // the function is assigned to the slots from 1 to 4 ~z[1..4] = { SinOsc.ar(exprand(300, 600), 0, LFTri.kr({exprand(1, 3)} ! 3).sum.max(0)) * 0.1 }; // the function is assigned to the slots 1, 2 and 3 (subsequent) ~z[1..] = [ {SinOsc.ar(44 ...

  4. FilePlayer Quark

    ... stfile2.txt" , "w" , true ); Task ({ 20.do{ f.writeLine( Array .fill( 10, { 1.0.rand })); 1.0.wait; }; "done" .postln; }).play; f.close; // view the file: "testfile2.txt" .openDocument; // read it with the player: a = TabFilePlayer .new( "t ...

  5. Draw your waveform feat. silly pattern player by rukano (rukano) Code

    ... ize.do{ |i| f.(i, 256) } }, // reset waveform $1, { a.size.do{ |i| f.(i, 512.rand) } }, // random waveform $2, { Array.interpolation(1024, 0, 512).do{ |val, i| f.(i, val) } }, // linear ramp $3, { Array.fill(1024, { |i| sin(i/1024* ...

  6. Pchain Help

    ... ain // examples ( Pchain ( Pbind ( \detune , Pseq ([-30, 0, 40], inf ), \dur , Prand ([0.2, 0.4], inf )), Pbind ( \degree , Pseq ([1, 2, 3], inf ), \dur , 1) ).trace.play; ) // also events can be used directly: ( Pchain ( Pbind ( \degree , ...

  7. RedSmoothUD Doc

    ... e. Inherited instance methods Examples a= RedSmoothUD(0.05, 0.95); a.filter(1.0.rand); //run repeatedly - low pass filtered random data //plot example a= RedSmoothUD(0.9, 0.1); ~squarewave= (0..1000).collect{|x| (x%200>100).binaryValue}; ~s ...

  8. PV_Compander Doc

    ... ar(Mix(CombL.ar(Decay.ar(Dust.ar(0.5.dup(4)), 0.01, WhiteNoise.ar), 0.02, Array.rand(4, 0.005, 0.01), 0.2)), 1500); chain = FFT(bufnum, in); chain = PV_Compander(chain, MouseX.kr(1, 80), 0.1, 1.0); Out.ar(out, Limiter.ar(IFFT(chain), 0.999, ...

  9. xf-jetSet Quark

    ... sig = filter + filter.mean; // and spot of reverb dry = sig; 5.do { var d = 0.5.rand; sig = AllpassN.ar(sig, d, d * delT.lag(0.2), 1); }; sig = (dry + sig) * amp; sig = SVF.ar(sig, wCut.lag(0.4)); sig = sig.clip2(cclip) * cclip.reciprocal; ...

  10. Extendable-tests Quark

    ... ethod, this can also extend methods that already exist in Object a.value = { 10.rand2 }; a.dup = { |self, n = 2| Set.fill(n, self) }; a.dup(5) // performWithEnvir a.performWithEnvir(\nockerl, (x: 8, y: 9, z: -3)); // 20 /* Some internals */ ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow