-
... y running an n-argument function on each incoming value of the signals. This is done using the applicative functor combinators (<*>, <%> ): ( x = Var(1.0); y = Var(1.0); z = Var(1.0); //when you add a side-effecting function w it will fire ...
-
... are retained internally by SuperCollider), so you must call release when you're done with it (SCNSObject(s) are not automatically garbage collected). Invocation Once your Objective-C object is allocated / retained you can call it using invo ...
-
... uments: centsList A list of cent values out of which the classification will be done. tolerance Tolerance range in cents (+/- from a value). Inherited class methods Instance Methods Inherited instance methods Examples Use case examples: //I ...
-
... hod which is not usable in all instances. Here is an example of how this can be done: flop { _ArrayMultiChannelExpand ^super.flop // this gets executed if the primitive fails } ⧉ ✔ Note that returning anything besides errNone will result in ...
-
... ly required in rare cases, typically for resource cleanup that cannot be safely done in a global object destructor. For example, the DiskIO UGens and UI UGens in DiskIO_UGens.cpp resp. UIUGens.cpp use the unload function to safely join thei ...
-
... an envelope ( { var trig; trig = SinOsc.ar(1) > 0.1; EnvGen.kr(Env.perc, trig, doneAction: Done.none) * SinOsc.ar(440, 0, 0.1) }.play ) // > outputs 0 or 1 ⧉ ✔ See Operators or the implementation of these in AbstractFunction for more detai ...
-
... ll(Impulse.ar(20), \test2) }.play(s); // if no arguments are given, the poll is done every 0.1 sec. { Line.kr(0, 1, 1).poll }.play(s); // send a '/tr' message back to the client. This can be useful if the server runs on another // computer ...
-
... = 1, amp = 1, pan| var env, u = 1; env = EnvGen.ar(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, ...
-
... ce methods == action add addr cmdName cmdNameWithoutSlash hash remove removeWhenDone value Examples Classes | External Control > OSC'>OSC OSCresponder : Object client side network responder Source: OSCresponder.sc Subclasses: OSCMultiRespon ...
-
... eq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(lButton) ); CmdPeriod.doOnce({ win.close; }); win.front; }); ) ⧉ ...