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. 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 ...

  4. 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 ...

  5. 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 ...

  6. DOMElement Quark

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

  7. 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 ...

  8. AlgaPattern Quark

    ... Channels; tempRate = algaTemp.rate; tempControlNames = algaTemp.controlNames; //Loop around the controlNames to set relevant parameters tempControlNames.do({ | controlName | var paramName = controlName.name; var paramNumChannels = controlNa ...

  9. XiiEQMeter Quark

    ... nth(\XiiEQMeter, [\inbus, inbus], addAction: \addToTail); eqUpdateTask = Task({ loop{ c.getn(size, {|vals| { win.isClosed.not.if({ multislider.value_((vals.log2 * 0.2).max(0).min(1)); }); }.defer; }); refreshTime.wait; // is this the right ...

  10. Collection-extensions Quark

    ... uenceableCollection { // collectIfNotNil // basically collect and select in one loop collectIfNotNil { |func| var result = this.species.new(this.size); this.do { |item, i| var mapped = func.value(item, i); if(mapped.notNil) { result.add(map ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow