Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... d stoppable within Server-latency. // dalek mating season I ( f = StreamKrDur( Prand(Array.fill(rrand(4,16),{ rrand(20,80).midicps }),inf), 0.125,// a float 0.05); Tempo.bpm = 100; // times are in beats Patch({ arg freq; Saw.ar(freq,0.2) }, ...

  2. RecursiveCutProc1 Doc

    ... leted so far and current phrase length. The default method is {arg q,bpsubdiv; rrand(0,q - 1)*bpsubdiv}; //random offset into source ⧉ ✔ reclevel Level of recursion, so 0 gives back the source exactly, 1 is one cutup, 4 is four recursive cu ...

  3. SynthDef Help

    ... are other ways of achieving similar results, however, often using UGens such as Rand . For example, the following def will have a single randomly generated frequency, which will be the same for every Synth based on it: ( SynthDef ( \help_no ...

  4. When The Saints Come Crawling Out by walters (walters) Code

    ... -18).dbamp, 0).dbamp; noiseEnv = EnvGen.kr(Env.perc(attack, noiseDecay * TExpRand.kr(0.8, 1.25, trigger), curve: decayCurve), gate: trigger, doneAction: 0); noise = WhiteNoise.ar; noise = Select.ar(filterType, [BPF.ar(noise, fi ...

  5. ProxyChainPreset Doc

    ... n some effects to use in the chain ProxyChain.add3( \ringmod, \filter -> { |in, randrate=5| in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, 0.5, // wet/dry mix of 50/50 [ \randrat ...

  6. NamedControl Doc

    ... ction) }; q.chooseNoise = { [{ PinkNoise.ar }, { WhiteNoise.ar }, { LFNoise2.ar(Rand(100, 1000)) }].choose.value }; q.filterInput = { |q, in| [ { BPF.ar(in * 15, NamedControl.kr(\freq, 800), 0.2) }, { RHPF.ar(in, NamedControl.kr(\freq, 800, ...

  7. Quant Help

    ... ded for that calculation should also be present in the Event. // schedule for a random number of beats after the next integer Pfuncn ({ thisThread .clock.beats.debug( "scheduled for" ); nil }, 1) .play(quant: ( nextTimeOnGrid: { |self, cloc ...

  8. Block Doc

    ... nt, \perkysine, {arg freq=400, amp=1; var osc; osc = SinOsc.ar( [freq,freq+0.05.rand] ) * EnvGen.ar( Env.perc, doneAction: 2) * 0.2; osc*amp; } ); SynthFile.postAll(\block); ////////// //BLOCKS!!!! //patterns Radicles.document; ( Block.cloc ...

  9. HS Quark

    ... Pkey ( \val ).collect { |x| Array .series(x.round, 60 - (x * 1.2), 5) + Array .rand(x.round, -0.8, 0.8) }, \legato , 0.6, \amp , 0.05] ).play; ) // cleanup (freeing buses and nodes) by pressing Cmd-. or explicitely p.free; //////////////// ...

  10. Control-Structures Help

    ... e examples: if ( [ false , true ].choose, // Boolean expression (chooses one at random) { "expression was true" .postln }, // true function { "expression was false" .postln } // false function ) ( var a = 1, z; z = if (a < 5, { 100 },{ 200 ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow