-
... a real Document d.string = (i+128).asAscii.asString; c = c.add( [ d.string.as( Array ).collect(_.ascii), i+128 ] ); }); d.close; c = c.sort({ |a,b| // sort (a[0] * [1, 1/256, (1/256)/256]).sum <= (b[0] * [1, 1/256, (1/256)/256]).sum }); e ...
-
... t.keyRanges; t.key(0, amp: 2.5); SSampler(\tublar).key; // play a chord with an array t.key([30, 40, 50, 60, 70, 80]); t.key([30, 40, 50, 60, 70, 80], \nosorting); t.key([30, 40, 50, 60, 70, 80], \percussive); t.key([30, 40, 50, 60, 70, 80] ...
-
... ntries that belong to the EventStreamPlayer //being scheduled at this time. The array shifts back. //The - 1 is needed as forBy starts from 1, and first element //is the index of the queue 3.do({ queue.removeAt(i - 1) }); }); }); }); }) } r ...
-
... s, \amp, amp, \timeScale, timeScale, \lag, lag], [\n_setn, envnode, \env, env.asArray.size] ++ env.asArray); env.releaseNode.isNil.if({ clock.sched(env.times.sum, { this.release; {gui.if({button.value_(0)})}.defer; }); }) }, { server.sendBu ...
-
... 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 ...
-
... 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 ...