-
... ^this.findInTracker.notNil } trackFree { // find the synth in the SynthTracker dictionary and free it if it's there. // If it's not there free it anyway var index; index = this.findInTracker; if(index.notNil) { ^SynthTracker.freeAt(this.de ...
-
... an2.ar(z*e, pan)); }).add; s.sync; synths= (); //keep track of synths with this dictionary //--world w= RedWindow("particlesystem test2", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], 0, 20, 1.25); //dim, ...
-
... ); if(obj.class === Symbol, { ^JSON.stringify(obj.asString) }); if(obj.isKindOf(Dictionary), { out = List.new; obj.keysValuesDo({ arg key, value; out.add( key.asString.asCompileString ++ ":" + JSON.stringify(value) ); }); ^("{" ++ (out.join ...
-
... an2.ar(z*e, pan)); }).add; s.sync; synths= (); //keep track of synths with this dictionary //--world w= RedWindow("particlesystem test2", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], 0, 20, 1.25); //dim, ...
-
... a new PsymNilSafe object. pattern expects a pattern of Symbols, dict the lookup dictionary and defaults to the current Environment. maxNull is the number of events with delta = 0 after which PsymNilSafe's method 'embedInStream' yields and t ...
-
... age-error"); mainLayout.add(labelError, stretch: 1.0); } getState { var state = Dictionary(); state[\type] = this.class.asString; state[\rawSpecAsString] = model[\rawSpecAsString]; ^state; } loadState { | state | model[\rawSpecAsString] = s ...
-
... arguments by name even though the Synth was created without named arguments. A Dictionary displays its key/values (rather than just its sparse internal array) Registering a display hook is quite easy: ObjectInsp.registerHook(class,{ arg mo ...
-
... ath = PathName.tmp ++ "fs_" ++ UniqueID.next ++ ".txt"; params = params?IdentityDictionary.new; paramsString = params.keys(Array).collect({|k| k.asString ++ "=" ++ params[k].asString.urlEncode}).join("&"); if (url.contains(separator)){separ ...
-
... sToShow = NTMI.interfacesToShow ? NTMI.optionalNames; NTMI.filesForFoundInfos = Dictionary[ // midi "nanoKONTROL2" -> "nanoKtl", "Faderfox UC4" -> "uc4", "Music Thing 8mu" -> "mu8", "intech-grid" -> "en16", "X-TOUCH MINI" -> "xtm", // hid " ...
-
... haracters in melody ( k = Pseq ( "ab" ); c = [ "a" -> "ba" , "b" -> "ca" ]; d = Dictionary [ $a -> 0, $b -> 5, $c -> 3 ]; z = Pdict (d, // apply homomorphism (final translation) k.asStream.rewriteString(c, 5) ); Pbind ( \instrument , \sineg ...