-
... var <device; var <hardwareBufferSize = 512; var <useForWFS = false; *presets { ^Dictionary[] } inDevice { ^if( thisProcess.platform.name == \linux ) { nil } { if( device.isString or: device.isNil ) { device } { device[0] } } } outDevice { ^ ...
-
/* dictionary that keeps objects with the same key in a list and returns randomly one of them */ FuzzyDictionary : IdentityDictionary { put { arg key, item; super.put(key, super.at(key).add(item)) } at { arg key; var list = super.at(key); l ...
-
... licated behaviors only after getting comfortable with the basics. The parameter dictionary used at initialization can get rather long. Use a BP Factory to simplify use in performance. Important: The drum machine processes are not polyphonic ...
-
... licated behaviors only after getting comfortable with the basics. The parameter dictionary used at initialization can get rather long. Use a BP Factory to simplify use in performance. Important: The drum machine processes are not polyphonic ...
-
... m the file name. Saving this as ev.scd, will create an event in the Opus:events Dictionary with the key \ev, and give the CtkPMod the same ID. Calling opus:newEventFromProcess expects the processKey to use for creating the new CtkPMod, and ...
-
... ook for, by default this is "event" . See also deviceRoot . Returns: an IdentityDictionary of available devices LID. deviceRoot LID. deviceRoot = value This is the base path where to look for devices. By default this is: "/dev/input" . With ...
-
... argument to the created function. It only applies to a single method, list, or dictionary call, not to a more complex nested expression. for example: f = _ + 2; f is now a function of one argument. f.value(7); it is equivalent to having wr ...
-
... a.clear(3); Adding new roles: Roles can be added on the fly. They are kept in a dictionary ( buildMethods) in AbstractPlayControl. A second dictionary ( proxyControlClasses ) provides the wrapper class for a given key. Here is a new role th ...
-
tag system sketch ( // create tagger ~t = { var lib = Dictionary(); { |w,k,op='|'| if(w.isNil.not and: w.isMemberOf(Association).not, { [k,w] do: {|t| [t].flatten do: {|i| lib.includesKey(i).not.if({ lib[i] = Set() })} }; ...
-
... ys at which a responder func's functions are stored in this dispatcher's active dictionary. The keys will be an OSC path. Arguments: funcProxy The OSCFunc or OSCdef whose keys should be returned. Returns: An Array containing the funcProxy's ...