Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Function Doc

    ... yEnvir valueWithEnvir functionPerformList performWithEnvir performKeyValuePairs loop defer dup ! sum choose bench fork forkIfNeeded block thunk flop flop1 envirFlop inEnvir inEnvirWithArgs case matchItem performDegreeToKey Exception Handlin ...

  2. gendyfyre Quark

    ... = ndef.nodeMap; "Tdef(\gendyfyre) starts".postln; ndef.play; ndef.set(\pan, 0); loop { // "gendyfier".postln; levels = q.gendy.levels; times = q.gendy.times; // mymap[\pan] = (mymap[\pan] + mymap[\pandrift].bilinrand).clip(-0.9, 0.9); level ...

  3. SensorSonificator Doc

    ... r.local.boot; b = Bus.control(s,1); ( // generate some data Tdef( \updateBus, { loop{ b.set( 1.0.rand.postln; ); rrand(0.05,0.3).wait; } }).play; ); ~output = Bus.new('audio', 0 ); // create a sonificator for the first bus: x = SensorSonifi ...

  4. Scheduler Doc

    ... } }.play(x); ) x.advance(0.1); x.seconds; x.advance(5); x.seconds; ( Routine { loop { x.advance(0.1); 0.1.wait }; }.play; ) ( Task { 5.do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind(\degree, Pseries(0, 2, 8), \dur, 0.2 ...

  5. ListComprehensions Help

    ... e series like (1..5) and (1..x) are treated as special cases and implemented as loops rather than making a collection. A list comprehension in SC is really a Routine. You can use the 'all' message to collect all of the Routine's results int ...

  6. ListeningClocks Quark

    ... ; ^if(this.allPermanent) { SkipJack({ if(isPlaying, func) }, { dt }) } { Task { loop { dt.wait; if(isPlaying, func) } } } } allPermanent { ^if(others.isNil) { true } { others.every(_.permanent) && this.permanent } } addClock { arg clock, we ...

  7. DiffString Doc

    ... llo"); // or make a separate routine: ( r = Routine { |inval| var prev, outval; loop { inval = inval.as(Array); outval = d.parse(inval, prev); prev = inval; inval = outval.yield } }; ); r.next("hello"); r.next("hello world"); r.next("hello ...

  8. LocalOut Doc

    ... f you want to implement a self contained effect that uses a feedback processing loop. WARNING: Audio written to a LocalOut will not be read by a corresponding LocalIn until the next cycle, i.e. one block size of samples later. Because of th ...

  9. FFTSubbandPower Doc

    ... , 2); Out.ar(0, (in * 0.1).dup); Out.kr(c.index, powers); }.play(s); t = Task({ loop{ 0.1.wait; c.getn(size, {|vals| { ~slider.value_((vals.log2 + 7 * 0.08).max(0).min(1)); }.defer}); }; }).start; ) x.free; t.stop; ⧉ ✔ helpfile source: /usr ...

  10. SGME_EventRecorder Quark

    ... triggering toggle actions playButton.action_({ }); // Disable action to prevent looping recordButton.action_({ }); // Disable action to prevent looping // Update the button states playButton.valueAction_(isPlaying.if(1, 0)); recordButton.va ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow