-
... = #{ |num| ~aVariable * num }; }); a.aMethod(5); 50 Note: I tend to use closed functions for methods (indicated by the #). The functions are not required to be closed. Also, when you call a pseudo-method in a Proto, you will enter the Prot ...
-
... s directory into `Platform.userExtensionDir`. This gives you all the main BBCut functionality. The `sounds/` directory contains two audio files, `break.aiff` and `break2.aiff`. Many examples assume that these are in `Platform.resourceDir +/ ...
-
... overview of related LFO-control setups with event patterns. "Event patterns and Functions" is treating requirements of the control of EventStreamPlayers with VarGui. "Event patterns and array args" focusses on passing arrays to synths with ...
-
... .range(0, end)}, ]; } *jitterEngine {|name, freq, selector| var engine; // UGen function defined externally // name.isKindOf(AbstractFunction).if{ // ^name.value(freq, selector) // }; name.isKindOf(Symbol).if{ engine = jitterEngines.at(name ...
-
... In; ~description = "A live ambisonic input (ACN_N3D)"; ~channelLayout = \ambi; ~function = { |order = 1, t_trig = 0, bus = 0| var env = EnvGen.kr(Env([0,1], [1]), t_trig); var chans = Array.series( size: (order + 1).pow(2).asInteger, start: ...
-
... = new EventEmitter() first([ [ee1, 'close', 'end', 'error'], [ee2, 'error'] ], function (err, ee, event, args) { // listener invoked }) ``` #### .cancel() The group of listeners can be cancelled before being invoked and have all the event ...
-
... er possibilities " ++ "of definition and examples.\n" } miSC_keysValuesEvery { |function| this.keysValuesDo { |k,v,i| if (function.value(k,v,i).not) { ^false } } ^true; } miSC_keysValuesAny { |function| this.keysValuesDo { |k,v,i| if (funct ...
-
... ecvPort = funcProxy.recvPort; argTemplate = funcProxy.argTemplate; // "wrapping function".postln; if(argTemplate.notNil, { func = OSCArgsAndSizeMatcher(argTemplate, func)}); ^case( { srcID.notNil && recvPort.notNil }, { OSCFuncBothMessageMa ...
-
////// function to make a randomOrbitz KeyPlayerGui if needed ( WinBounds.addMake('randomOrbitz', { NTMI.g.kpgui = KeyPlayerGui(KeyPlayer(\ro)); NTMI.g.kpgui.parent.bounds_(NTMI.g.kpgui.parent.bounds.height_(300)); ///////// on separate win ...
-
... the mathematical defintion of splines (a collection of Points) with supporting functions for performing the interpolations. Unlike Envelopes they are not limited to left-to-right time representations. Uses ---- Splines can be used as contr ...