NumRunningSynths:
Filter:
Description
Class methods
ir
Inherited class methods
Undocumented class methods
kr
Instance methods
Inherited instance methods
Examples
Classes
|
UGens
>
Info
NumRunningSynths
:
InfoUGenBase
:
UGen
:
AbstractFunction
:
Object
Number of currently running synths.
Source:
InfoUGens.sc
See also:
NumAudioBuses
,
NumControlBuses
,
NumBuffers
,
NumInputBuses
,
NumOutputBuses
Description
Number of currently running synths.
Class Methods
NumRunningSynths.
ir
From superclass:
InfoUGenBase
Inherited class methods
Undocumented class methods
NumRunningSynths.
kr
Instance Methods
Inherited instance methods
Examples
// example: frequency is derived from the number of synths running ( SynthDef("numRunning", { arg out; Out.ar(out, SinOsc.ar(NumRunningSynths.ir * 200 + 400, 0, 0.1)); }).add; ) s.sendMsg("/s_new", "numRunning", -1, 0, 0); s.sendMsg("/s_new", "numRunning", -1, 0, 0); s.sendMsg("/s_new", "numRunning", -1, 0, 0); s.sendMsg("/s_new", "numRunning", -1, 0, 0);
helpfile source:
/usr/local/share/SuperCollider/HelpSource/Classes/NumRunningSynths.schelp
link::Classes/NumRunningSynths::