Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ed into a Pdiff). Sieve .union( Pseq ([1, 10], inf ), 5, 7, `30) Sieve .union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As ...

  2. 1_flatcat_NTMI_advanced Quark

    ... rift, [0, 0.1]); Tdef(\flatcatSim).set(\drift, 0.03); Tdef(\flatcatSim, { |env| loop { 0.05.wait; NTMI.flatcat.sendDrift(env.drift); } }); /* Tdef(\flatcatSim).play; Tdef(\flatcatSim).stop; */ // NTMI.flatcat.onData: the actions to do when ...

  3. EZText Help

    ... ).envir.put(*[k, ez.value].postcs); }, v); }; Tdef ( \text , { |ev| var mydur; loop { mydur = ev.dur; (note: ev.note, dur: mydur).postln.play; mydur.wait; } }).play; ) // type these or similar functions into dur and note fields and evaluat ...

  4. MKtlElement Doc

    ... ue_(0.5); k.value; ⧉ ✔ Classic knobs rotating demo for BCF: ( var x = 0; fork { loop { 0.1.wait; x = x + 0.1; 8.do { |i| var el = m.elementAt(\kn, 1, i); var val = (x + (i/7)).mod(1.0); el.value_( val ) } } } ) // Various tests to show how ...

  5. OtherPatterns Quark

    ... [i], \type, Pseq([\off]), \dur, offset, \id, g) } ) }) } } ////////////////// PSloop : Pattern { var <>psPat, <>lookBack, <>doSkip, <>loopFunc, <>loopFuncPerItem, <>loopFuncAsGoFunc, <>goFunc, <>indices; *new { |srcPat, length = inf, bufSiz ...

  6. GLOBOL Quark

    ... msg[2]; // GLOBOL DOES TRY NOT TO PERMIT SYSTEM CALLS // AVOID INFINITE NETWORK LOOP if(inID != id and: { isPermitted(this, code) }) { interpret(process(this, code)); } }).add; } *disconnect { responder.remove; responder = nil; "* INTERPRET ...

  7. Voicer Quark

    ... patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things nodes = Array.new(voices); // must add the nodes incrementally lcm = th.size.lcm(args.size); voices.do({ |i| var node = this.makeNode(th.wrapAt ...

  8. DOMElement Quark

    ... this.normalize; // recursion to cover possible next occurrence ^this; // break looping over children, return }); }); }); }); } // end normalize // --- getText() : String ------------------------------------------------- // getText { var n; ...

  9. Sieves_and_Psieve_patterns Doc

    ... wrapped into a Pdiff). Sieve.union(Pseq([1, 10], inf), 5, 7, `30) Sieve.union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As ...

  10. XiiSynthDefs Quark

    ... tPos=0, endPos= 1000; var updateRate=40, playbuf, ampl, ampr, signal; playbuf = LoopBuf.ar(2, bufnum, pitch, trig, startPos, startPos, endPos) * vol; signal = Balance2.ar(playbuf[0], playbuf[1], pan); ampl = Amplitude.kr(signal.at(0)); ampr ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow