-
hypot hypotenuse BinaryOperator hypot(x, y) x hypot: y x.hypot(y) Returns the square root of the sum of the squares of a and b. Or equivalently, the distance from the origin to the point (x, y). See also atan2 . In this example, hypot is us ...
-
atan2 arctangent BinaryOperator atan2(y, x) y atan2: x y.atan2(x) Returns the arctangent of y/x. See also hypot . OK, now we can add a pan to the hypot doppler examples by using atan2 to find the azimuth, or direction angle, of the sound so ...
-
Quant Superclass: Object Represents the standard scheduling model for Routines, Tasks and Patterns. A Quant object stores the parameters needed to calculate the precise time when a Routine/Task/Pattern will start playing on a specified Temp ...
-
SCQuartzComposerView view for rendering Quartz Composer Compositions Inherits from: Object : SCView SCQuartzComposerView allows for the rendering of Quartz Composer Compositions within the standard OSX SC GUI system. Quartz Composer is a vi ...
-
GVerb A two-channel reverb #left, right = GVerb.ar(in, roomsize, revtime, damping, inputbw, spread, drylevel, earlyreflevel, taillevel, maxroomsize, mul, add) A two-channel reverb UGen, based on the "GVerb" LADSPA effect by Juhana Sadeharju ...
-
SCLevelIndicator a level indicator GUI widget Inherits from: Object : SCView A level indicator view, suitable for use as a level or peak meter, etc. See also: SCRangeSlider Creation / Class Methods *new (parent, bounds) parent - The parent ...
-
Scheduling Events Music happens over time, and to make effective music, it's necessary to control when things happen. In SuperCollider, this is done by scheduling things on clocks. Clocks A clock in SuperCollider has two major functions. It ...
-
Using samples Playing a pattern in time with a sampled loop A deceptively complex requirement... here, we will loop the a11wlk01.wav sample between 0.404561 and 3.185917 seconds (chosen for its surprisingly accurate four-beat groove), and o ...
-
Sequencing with Routines and Tasks When you schedule a function (as in the Scheduling Events tutorial), the function always begins at the beginning and runs through to the end. For sequencing, it's more useful to have a control structure th ...