-
... ibrary of mathematical functions. Class Methods . new Arguments: args A list of arrays that each represent one node in the set: [element, [next_elements], [weigths]] next_elements The next node is searched by simple equality. If nil , this ...
-
... Func_({ |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ SimpleNumber, Array, Point ].any({ |class| unit.getDefault( key ).isKindOf( class ) }) && { UAdaptSpec().canAdapt( unit.getSpec( key ) ) }; }; }) .setSpec( \loop, ListSpec( [ ...
-
... e beat of the number of bars var pAccel = {|nBars = 10, beats = 6| var bar = Array.fill(beats, 1); var nBarsAccel = nBars.div(2); var accelDur = 1 - (1 / nBarsAccel / beats); var patternBars = Array.fill(nBarsAccel, Pseq(bar*accelD ...
-
... the usefulness of Patterns. example 1 - Pseq vs. Routine The Pattern class Pseq(array, repetitions) defines a Pattern that will create a Stream that iterates an array. The class Routine(func, stackSize) defines a single Stream, the function ...
-
... e in the event pattern or stream to add to. value The value, pattern, stream or array to add. The resulting stream ends when this incoming stream ends. pattern The event pattern or stream within which to add the new values. Inherited class ...
-
... = mth.filenameSymbol; if (file.notNil) { scfiles.add(file) }; }; }; scfiles.as(Array).do { |name| file = File(name.asString, "r"); if (file.isOpen, { badIndices = file.contents.findGremlins; count = badIndices.size; if (count > 0, { ("" + ...
-
... = mth.filenameSymbol; if (file.notNil) { scfiles.add(file) }; }; }; scfiles.as(Array).do { |name| file = File(name.asString, "r"); if (file.isOpen, { badIndices = file.contents.findGremlins; count = badIndices.size; if (count > 0, { ("" + ...
-
/* using this human readable syntax: Scale('b', 'major') returns a FloatArray FloatArray[ 2, 4, 6, 7, 9, 11, 13 ] */ CXScale { classvar noteNames, scales, scalesArray; *initClass { noteNames = IdentityDictionary[ 'a'->0, 'a#'->1, 'bb'->1, ' ...
-
Buffers Buffers represent server buffers, which are ordered arrays of floats on the server. 'float' is short for floating point number, which means a number with a decimal point, like 1.3. This is in contrast to integers, which are positive ...
-
... Ambisonics spatialisation with SuperCollider3. It may be used with loudspeaker arrays as well as with headphones, providing binaural rendering with HRTFs. NOTE: ambIEM encoders and decoders use the SN3D format. Note however that the channe ...