-
... s.control(server, size) }; isListening.not.if { this.listen(pHelpSynth.relDemandIndexUserNums.size); }; server.sendBundle(latency ?? demandLatency, synth.newMsg(server, [\i_out, bus.index, \out, bus] ++ (args ?? []) ), synth.runMsg(false)); ...
-
... es = Toolbox.splitLines(s); ind = Toolbox.repeat(" ", shift); lines.do({ arg l, index; lines.put(index, (ind ++ Toolbox.trimLeft(l))); }); ^Toolbox.joinLines(lines); } // end indent // --- unindent(s, shift) : String ----------------------- ...
-
... . np[idx] = nil. } } ) } // helper function to create kr control functions with index suffix // to avoid name clashes when multiple instances of the same module are used // e.g. \freq -> \freq0, \freq1, ... *krFunc {|name, spec, dict, lag = ...
-
... Ktl : MIDIKtl { classvar <>verbose = false; classvar <>midiOut; *makeMIDIOut { |index = 0| midiOut = MIDIOut(index, MIDIClient.destinations[index].uid) } *initClass { this.makeDefaults; } mapToPxPars { |proxy ... pairs| if (midiOut.notNil) ...
-
... width, <>loc; var >label, >visible, >lowGraphicsMode; var offset, marqueeColor, index; *new { arg bounds=bounds(10,10,20,20), color = Color(0.5, 0.5, 0.5, 1); ^super.new.init(bounds, color) } init{ arg r, c; color = c; bounds = r; marqueeCo ...
-
... xorvalue = absdif(values[lastTaps[0]], values[lastTaps[1]]); reverseTaps.do { |index| xorvalue = absdif(values[index], xorvalue) }; values = values.rotate(1).put(0, xorvalue); ^xorvalue } nextN { |num = 100| ^num.collect { this.next } } // ...
-
... ath) } // preferences get corrupted quite often, // then one gets an error with index: -1. *killPrefs { unixCmd("rm" + "~/Library/Application\\ Support/MantaCocoa/lastSettings.xml") } // addr can be used for identifying multiple Mantas *new ...
-
... during the life of the `maxAge` option to check if the file has changed. ##### index By default this module will send "index.html" files in response to a request on a directory. To disable this set `false` or to supply a new index pass a s ...
-
... {} PHelpSynthPar : PHelpSynthParUse { var <>startPattern, <>switchDur, <>switchIndex, <>helpSynthArgs, <>switchOn, <>switchOff, <>set, <>hsStartIndices; *basicNew { |helpSynthPar, switchDur = 10000, switchIndex = 0, helpSynthArgs, pbindArg ...
-
... ct{|indices| this.prSelect(indices); plot.refresh; } selection{ ^selected.selectIndex{|elem| elem}; //{|elem|elem} } prSelect{|indices| selected = false!numItems; indices.asArray.do{|idx| selected[idx] = true; }; } initPlot {|parent, bounds ...