-
... re represented as dots on the canvas. The sound engine reads randomly though an array of the locations of those dots, creating a granular cloud. The density of the cloud, the envelope length and envelope type of each grain can be controlled ...
-
... Rect(0, 0, 600, 100).center_(GUI.window.screenBounds.center)); list = dict.keys(Array); list.sort; wrect = w.view.bounds; listview = GUI.popUpMenu.new(w, wrect.copy.width_(wrect.width/2 - 75).height_(50).insetBy(5, 15)).items_(list); // add ...
-
... ee.remove( this, server ); ServerQuit.remove( this, server ); } inputLabels_ { |array| inputLabels = array; this.changed( \inputLabels ); } useFilters_ { |bool| bool = bool ? useFilters; useFilters = bool; if( isRunning ) { this.start; }; t ...
-
... ment.value); var rcur= ampRampCurvSpec.map(ampRampCurvElement.value); var amps= Array.fill(drone.numChannels, {|j| (i*(j+1)*rfre%1).lincurve(0, 1, ampRangeElement.value[0], ampRangeElement.value[1], rcur); }); drone.setAmplitudes(amps); amp ...
-
... 0 , timeScale: 1.0 , doneAction: 0 ) Arguments: envelope An Env instance, or an Array of Controls. (See Control and the example below for how to use this.) The envelope is polled when the EnvGen is triggered, and at the start of a new envel ...
-
... ct( _.select({ |x| x > 3 }) ) // -> return [ None(), None(), Some(4) ] ⧉ ✔ With arrays: [Some(2),None(),Some(4)].flatten // -> return [2,4] [Some(Point(1,2)),None(),Some(Point(3,4))].collect( _.collect( _.x) ).flatten // -> return [1,3] ⧉ ✔ ...
-
... l = sendAll // expand list, flat to allow group substitution if (where.isKindOf(Array)) { ^where.collect(this.resolveWhere(_)).flat.reject(_.isNil) }; // nil = me if (where.isNil) { ^me.name }; // if (where === \all) { ^nameList }; if (wher ...
-
... be added to the code, based on its properties. These methods can be Symbols, or arrays with one Symbol and a value which is regarded as the default value for that specific method. If no default value is specified, asCode uses nil as the def ...
-
... "; ^stream.collection } } + Class { respondingMethodSelectors { var selectors = Array.new(256); // keep the order this.superclassesDo { |class| class.methods.do { |method| if(selectors.includes(method.name).not) { selectors = selectors.add( ...
-
... hod is chooseblock, during which the instance variable cuts must be set with an array of cuts, and the blocklength parameter with the length of this next block to render. The aspiring class writer is advised to thoroughly check out an exist ...