Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... quals(x, y, "reshape and flat should be congruent") } } test_arraystats { var arsize, clumpsize, a, aclumped, ascaled, arev, mean, median, sd; #[ // arsize, clumpsize -- different sizes to test: [100, 10], [121, 11], [100000, 100] ].do{ |se ...

  2. SGliss Quark

    ... ers.collect{|ctrl| ctrl.frequencies.bus.getnSynchronous}; } numVoices { ^voices.size; } addVoices {|num= 1, type= \Sine, args| var voiceClass; if(controllers.notNil, { voiceClass= AbstractSGlissVoice.allSubclasses.detect{|c| c.type==type}; ...

  3. nanoktl-objects Quark

    ... // jeez. asPaddedString isn't core. OK. fine. whatever. ~padString = { |string, size, padWithChar($0)| string = string.asString; // if it's, say, a number as below if(string.size < size) { String.fill(size - string.size, padWithChar) ++ str ...

  4. XiiEffectGUI Quark

    ... = if(setting.notNil, {setting[6]}, { false }); slider = Array.newClear(param[0].size); //bufnum = nil; specs = param[2]; // mono or stereo? channels = ch; stereoChList = XiiACDropDownChannels.getStereoChnList; monoChList = XiiACDropDownChan ...

  5. extStringCleaning Quark

    ... i.inclusivelyBetween(9, 13) } } } + String { countGremlins { ^this.findGremlins.size } findGremlins { var indices = []; this.do { |ch, i| if (ch.isClean.not) { indices = indices.add(i) } }; ^indices } replaceAndCountGremlins { |replaceChar ...

  6. extStringCleaning Quark

    ... i.inclusivelyBetween(9, 13) } } } + String { countGremlins { ^this.findGremlins.size } findGremlins { var indices = []; this.do { |ch, i| if (ch.isClean.not) { indices = indices.add(i) } }; ^indices } replaceAndCountGremlins { |replaceChar ...

  7. BufferQueryQueue Quark

    ... .format(queue[0]).warn; queue.removeAt(0); // drop first item from queue (queue.size > 0).if({ this.doQueue // still an item left? go back for that one // no need to clear this responder b/c it will be overwritten }, { isRunning = false; // ...

  8. MoscaGUI Quark

    ... Int, palette; // initial arguments var width, halfWidth, height, halfHeight; // size var <win, wData, dataView, ctlView, localView, auxView, masterView, dialView, originView; var autoBut, loadBut, originBut, drawBut, saveBut, writeBut, fxBu ...

  9. extColor Quark

    ... ; saturations = hsl.collect(_[1]); avgLightness = lightnesses.sum / lightnesses.size; avgSaturation = saturations.sum / saturations.size; neutralRatio = saturations.count { |s| s < neutralThreshold } / saturations.size; chromaticHues = hsl. ...

  10. EventLoop Quark

    ... y > 0) { (envir[\postname] + "plays list of % events and % secs.") .format(list.size, list.totalDur.round(0.01)).postln; }; calcRange.value; index = if (envir[\step] > 0, minIndex, maxIndex); calcIndexInRange.value; while { envir[\looped] o ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow