-
PhasorTJ { classvar jitterEngines, phaseEngines; *initClass { jitterEngines = IdentityDictionary[ \step -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \hold -> {|freq, selector = \ar| LFDNoise0.perform(selector, freq)}, \lin ...
-
... { var <name; var <addr; classvar <broadcast; classvar <all; *initClass { all = IdentityDictionary.new; } *new { arg name, cmd, func; var res = all.at(name); if(res.isNil) { res = super.newCopyArgs(name).init; all.put(name, res); } { res.na ...
-
... M) */ HIDnode { var dict; *new { ^super.new.initHIDnode; } initHIDnode { dict = IdentityDictionary.new; } add {|resp| dict.put(resp.cookie, resp); } remove {|resp| dict.removeAt(resp.cookie); } removeAll { dict = dict.class.new; } doAction ...
-
... basic = this.bases.collectAs({ arg char; char.asString }, Array); tripletDict = IdentityDictionary.new; count = 0; basic.do({ arg item1; basic.do({ arg item2; basic.do({ arg item3; tripletDict.put((item1++item2++item3).asSymbol, count); cou ...
-
... xPatch, so these need to be in common + Instr { argsAndIndices { var out; out = IdentityDictionary.new; func.def.argNames.do({ |name, i| out.put(name, i); }); ^out } listArgs { |inputs| var names = this.getWrappedArgs(inputs); ("\n\n" ++ th ...
-
... xPatch, so these need to be in common + Instr { argsAndIndices { var out; out = IdentityDictionary.new; func.def.argNames.do({ |name, i| out.put(name, i); }); ^out } listArgs { |inputs| var names = this.getWrappedArgs(inputs); ("\n\n" ++ th ...
-
... upported, sorry.".error} ) }; q.init = { // some specs of the weather q.specs = IdentityDictionary[ \temp -> ControlSpec(-30, 40), \hum -> ControlSpec(0, 100), \wind -> ControlSpec(0, 30), \press -> ControlSpec(940, 1070) ]; // here we hold ...
-
... Done, verbose).prAdd(key); } }; ^res } *at{|key| ^all[key] } *initClass { all = IdentityDictionary.new; } replace{|server, pathOrListOfPaths, channel, normalize=true, actionWhenDone, verbose=true, preloadedBuffers| this.clear(); this.init(s ...
-
... ) }.play; ) */ SynthDefResources { classvar <all, responder; *initClass { all = IdentityDictionary.new; } *makeResponder { if(responder.isNil) { responder = OSCFunc({ |msg, time, addr| this.remove(msg[1], addr) }, "/d_removed").fix } } *add ...
-
RecordMyDesktop{ classvar <all; var <name; var <pid; *initClass{ all = IdentityDictionary.new; } *new{ |name,v=30,s=5,n=2| ^super.new.init(name,v,s,n); } init{ |name,v=30,s=5,nchan=2| var cmdline; name = name ? ("RecordMyDesktop"++Date.loca ...