Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. loudness_tests Quark

    ... t(\v3, mkVoice.(\gA)); SamplerQuery.releaseGesture([\gA]); assertTrue.(setCalls.size == 2 and: {setCalls.every{|c| c == [\gA, \gate, 0]}}, "releaseGesture: exactly the two \\gA voices gated, \\gB untouched (got " ++ setCalls ++ ")"); Sample ...

  2. Yet another molecular music box by coreyker (coreyker) Code

    ... var scale = Scale.major.degrees.flat; inf.do{|n| var oct = (n / scale.size).floor; var degree = 12*oct + scale.wrapAt(n) + root; degree.yield; } }).asStream; }; r = Routine({ var durStream = ~dur.value(9, 14.5) ...

  3. 034-wave-system Doc

    ... t/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ //if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); if(0.005.coin, {sys.angularVel= 0.5.ra ...

  4. XOut Help

    ... ray - an Array of channels or single output to write out. You cannot change the size of this once a SynthDef has been built. xfade is a level for the crossfade between what is on the bus and what you are sending. The algorithm is equivalent ...

  5. 034-wave-system Quark

    ... t/2]; sys.add(RedObject(world, loc, nil, 0, 1.5, 10)); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ //if(0.005.coin, {world.gravity= RedVector2D[0, -0.7.rrand(0.7)]; world.gravity.postln}); if(0.005.coin, {sys.angularVel= 0.5.ra ...

  6. LazyList Quark

    ... foldl(false, { |state,x| state || f.(x) }) } includes { |x| ^this.any(_ == x) } size { ^this.foldl(0, _+1) } cycle { var f = { this.append({ { f.() } }) }; ^f.() } *repeat { |a| var g = { |a| LazyListCons(a, { this.repeat(a) }) }; ^g.(a) } ...

  7. DbufTag Doc

    ... and more explanations, see Dtag Arguments: bufnum a 1-channel buffer - when its size is reached, the process ends (dependent on mode ). Theoretically, tag systems have an infinite tape size - practically, one may want to try different finit ...

  8. CtLoop Quark

    ... escalableCtls = Set[]; task = TaskProxy({ var dt, index, event, ctlID, val, listSize, intro = true; index = (start * list.size).round.round.asInteger; "CtLoop task starts.".postln; loop({ listSize = list.size; if (list.isEmpty) { 0.1.wait; ...

  9. JITModPatch Quark

    ... oblem: cleaning 'c' array (we are iterating over it) scanLinks = { (1 .. chains.size - 1).do { |i| // 1, 2, 3... if(chains[i].notNil) { block { |break| i.do { |j| // 0, 1 .. i-1 if(chains[j].notNil) { if(chains[j].last.canConnect(chains[i]. ...

  10. Latency Doc

    ... can be as low as 0.02 seconds, depending mainly on the server's hardware buffer size. This can be measured with: s.boot; // posts worst case of ping time s.ping(10, 0.2); // this is usually in the range of 2 x hardwareBufferSize s.options.h ...

prev 211 212 213 214 215 216 217 218 219 220 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow