Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SynthTracker Quark

    ... laces any existing routine for this defName // the routine will perform cleanUp every <time> seconds var routine, oldRoutines; SynthTracker.initialize; oldRoutines = routines.select({ |item| item.defName == defName.asSymbol }); if( oldRouti ...

  2. 1c_nUFO_imupad_abs Quark

    ... ger the action only once when array from imu comes in, // not several times for every input value MFdef(\nUFOImuFunc).value; }; // set the first 9 values of the inphlux from the imu params: NTMI.inphlux.addHalo(\imuNames, NTMI.inphlux.inNam ...

  3. ListeningClocks Quark

    ... if(isPlaying, func) } } } } allPermanent { ^if(others.isNil) { true } { others.every(_.permanent) && this.permanent } } addClock { arg clock, weight; others = others.add(clock); if(weight.notNil) { weights = weights.add(weight); // todo: m ...

  4. ModernLife Quark

    ... e .new.setRule( "45678/3" ).fps_(25).fadeAmount_(1).play; a.stop; //replicator, every pattern is replicated by a copy of itself. //clear the scene with c and draw a pattern, press space, watch in awe. a = ModernLife .new.setRule( "1357/1357 ...

  5. TestKMeansRT Quark

    ... |acent| (acent - range[0]) / (range[1] - range[0]) }.flat; this.assert(rescaled.every{|val| (val>=0) and: {val<=1}}, "clustering range-limited data should give centroids within that range (%D, k=%)".format(d, numclust)); testsIncomplete = t ...

  6. periods Quark

    ... } // expects j >= i miSC_symmetryType { |i, j| ^((j == i) or: { (0..j - i - 1).every { |k| this[i + k + 1] == this[i] } }).if { 3 }{ this.miSC_isSymmetricRange(i, j).if { 2 }{ this.miSC_isQuasiSymmetricRange(i, j).if { 1 }{ 0 } } } } miSC_ ...

  7. SamplerQuery Quark

    ... diChannel = Dictionary.new; playing = playing.add(midiChannel); }; } //Gate off every playing voice tagged with one of the given gestureIDs. //Voices fade over the SynthDef kill-gate release (0.1s) then free themselves. //gateOff (not raw . ...

  8. MxQuery Quark

    ... t(0) } asArray { ^Array.fill(this.size, { arg i; this.at(i) }) } // includes // every // any /* perform actions on all items in the query result */ >> { arg that; // unless that is another query this.prAllDo({ arg app; app >> that }) } disc ...

  9. TimeSpec Quark

    ... multiple processes simultaneously. Usage: asTimeSpec should be implemented for every type of object that should be able to be converted into a TimeSpec by playing a process. Current implementations are: nil --> NilTimeSpec quant --> NilTim ...

  10. PatternsInterplation Quark

    ... interp with other AlgaNodes, can be dynamically set. //No need to create it for every triggered synth, but just when new connections will be set with other AlgaNodes! var bundle = server.makeBundle(false, { var bus = Bus.control(s, 1); var ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow