-
InRange tests if a signal is within a given range inRange.ar(in, lo, hi) InRange.kr(in, lo, hi) If in is >= lo and <= hi output 1.0, otherwise output 0.0. Output is initially zero. in - signal to be tested lo - low threshold hi - high thres ...
-
Debugging tips Debugging synthdefs Debugging client-to-server communication Debugging client code Debugging synthdefs The challenge in debugging synthdefs is the invisibility of the server's operations. There are a handful of techniques to ...
-
... SC supports extensions to its class library, documentation, and server UGen plugins. These extensions are stored in subfolders of Platform .userExtensionDir – for more info see Using-Extensions . A Quark is a more formalized kind of extensi ...
-
Classes All objects in SuperCollider are members of a class that describes the objects' data and interface. The name of a class must begin with a capital letter. Class names are the only global values in the SC language. Since classes are t ...
-
Event types Different ways that an Event can "play" Note: this helpfile is incomplete. An Event responds to a play message by evaluating ~play in the event, and the default behaviour of ~play is determined by the value of ~type. Commonly-us ...
-
Fold fold a signal outside given thresholds Fold.ar(in, lo, hi) Fold.kr(in, lo, hi) This differs from the BinaryOpUGen fold2 in that it allows one to set both low and high thresholds. in - signal to be folded lo - low threshold of folding. ...
-
** exponentiation BinaryOperator a ** b When the signal is negative this function extends the usual definition of exponentiation and returns neg(neg(a) ** b). This allows exponentiation of negative signal values by noninteger exponents. red ...
-
SynthDefs versus Synths In SC2 Synth.play was the standard way to compile a ugenGraphFunc and play it. Each time you executed Synth.play, or Spawned a new event, that function was compiled anew. SC3 on the other hand, makes use of what are ...
-
SpecCentroid Spectral centroid SpecCentroid.kr(chain) Given an FFT chain , this measures the spectral centroid , which is the weighted mean frequency, or the "centre of mass" of the spectrum. (DC is ignored.) This can be a useful indicator ...
-
Nil Inherits from: Object Nil has a single instance named nil and is used to represent uninitialized data, bad values, or terminal values such as end-of-stream. Instance Methods isNil Answers true because this is nil. In class Object this m ...