-
// RUN this entire file from elsewhere to have convenience functions // q = q ? (); // limit to sounding ndefs q.getNdefs = { Ndef.dictFor(s).envir.select({ |ndef| ndef.rate == \audio }).asArray.sort { |px1, px2| px1.key < px2.key } }; q.ge ...
-
... sFlowView { arg bounds; ^FlowView(this, bounds ?? {this.bounds}) } deepDo { arg function; // includes self function.value(this); this.children.do({arg child; child.deepDo(function); }); } allChildren { // includes self var all; all = Array. ...
-
... www.gnu.org/licenses/>. It is possible to add more type instances by adding the functions directly to the dict from the initClass function of the class that one wants to make an instance of some type class. */ + ArrayedCollection { swapI { ...
-
// this is an alternative version to modal_functionality_2, // aiming for a higher level implementation style, // using less code, allowing more flexibility, // but also requiring more conceptual thinking. // our simple use case: // we use ...
-
... me" ], [ "again" ]] ).action_({ "was hit" .postln }); ) Action can be either a function or an array of functions. In cas of an array each function is called at the swich to a new state. b.action = [ { "was hit" .postln }, { "was hit again" ...
-
... ono or ambi ~angles: Speaker array angles, if using VBAP call VBAPSpeakerArray ~function: the definition of the spatializer where function should use the following input arguments: in aziDeg +/- 180 degrees elevDeg +/- 90 degrees gainDB dec ...
-
... www.gnu.org/licenses/>. It is possible to add more type instances by adding the functions directly to the dict from the initClass function of the class that one wants to make an instance of some type class. Writer Monad */ Writer { var <a, ...
-
... Object { makeStereoProxyControl { | channelOffset = 0, proxy | if(this.isKindOf(Function)) { ^StereoSynthDefControl(this, channelOffset); } { ^this.proxyControlClass.new(this, channelOffset); } } buildForStereoProxy { | proxy, channelOffset ...
-
... var sounds, seq; // First, build a sound dictionary of characters mapping to // functions; note supercollider's $x notation for single characters: sounds = Dictionary[ "a"->{ |now| ("a" + now).postln; Synth(\blip, [\freq, 220]); }, "b"->{ | ...
-
... d to the handlers prepareToBundle { arg agroup, bundle, private, bus; bundle.addFunction({this.prSetStatus('isPrepared')}); ^this.delegate('prepareToBundle', agroup, bundle, true, bus); } spawnToBundle { arg bundle; ^this.use { ~spawnToBund ...