Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... PlayerRec.help for details k.makeRec; k.rec; // and it is here examples: // the random keyboard: ( s.latency = nil; // make sure we respond quickly thisThread .randSeed = 2008; "qwertzuiopasdfghjklyxcvbnm" .do { |char| var note = (midinote: ...

  2. IsEven Doc

    ... constructing a FunctionDef { }, and probably executes faster. ( Array.fill(20,{rand(100)}) .select(IsEven) .postln [ 12, 76, 76, 8, 18, 26, 30, 44, 24, 84 ] ) ⧉ ✔ Class Methods . value Arguments: obj Inherited class methods Instance Method ...

  3. organ_tonewheel4 Quark

    ... this Sound example var lfo, pulse, filter, env; lfo = LFTri.kr(lforate*[1,1.01],Rand(0,2.0)!2); pulse = Pulse.ar( (((freq*[1,3]).cpsmidi) + (lfo*lfowidth)).midicps,[0.5,0.51],[0.4,0.6]); env = EnvGen.ar(Env.adsr(0.0,0.0,1.0,0.1),gate,doneAc ...

  4. ddwPatterns Quark

    // some new patterns - jamshark70@dewdrop-world.net Pwxrand : Pwrand { embedInStream { |inval| var item, weightStream = weights.asStream, currentWeights, index = weightStream.next(inval).windex, totalweight, rnd, runningsum; repeats.value(i ...

  5. random 303 by devilfish404 (devilfish404) Code

    ... ,0,0,fsa.size-1 ), fsa); xc = Lag2.kr( Select.kr(oi, fa), xcs ); ffa = { rrand( 20, 90 ) } ! n; ffa.size.do({ |i| var pn = [2,4,8].choose; if ( 0.2.coin, { ffa[i] = Select.kr(Stepper.kr(cx, 0,0,pn-1), { rrand( 4, 70 ) } ! n) }) } ...

  6. 15_Scheduling Help

    ... ad(s); ) ( // DEFINE A ROUTINE r = Routine ({ 12.do({ Synth ( "fm2" , [ \bus, 2.rand, \freq , 400.0.rrand(1200), \carPartial , 0.5.rrand(2), \ts , 0.5.rrand(11) ] ); s.queryAllNodes; "".postln.postln.postln.postln.postln; 2.wait; }) }); ) / ...

  7. density_overlap Quark

    ... and overlap settings. density: number of events per second variation: amount of random variation on start times overlap: amount of overlap in duration per event, as a factor of the average time between two events. -- this is an UMapDef defi ...

  8. density_overlap Quark

    ... and overlap settings. density: number of events per second variation: amount of random variation on start times overlap: amount of overlap in duration per event, as a factor of the average time between two events. -- this is an UMapDef defi ...

  9. Fragment IX by coreyker (coreyker) Code

    ... env = EnvGen.ar(Env([0,1,0.5,0.1,0.01], [0.1,1,0.1,1], [1,-4,-4,-1]), timeScale:Rand(2,6), levelScale:0.5, doneAction:2); // source src = PinkNoise.ar(0.5); out = src * env; // filter out = RLPF.ar(out, (1..~maxharm)*freq, ...

  10. SeenBefore Doc

    ... object. This can be used to eliminate duplicates. b = SeenBefore.new; f = { 100.rand }; // or choose a random soundfile path 100.do { arg i; var v; v = f.value; if(b.value(v),{ [k,v].postln }) }; ⧉ ✔ Class Methods . new No arguments Inherit ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow