-
... |num| { num.rand }.dup(200).postcs }; ) // in streams, tasks and routines, this works just as well: ( fork { var n = 14; (1..n).do { |num| { num.rand }.dup(200).postcs; 1.wait; }; } ) ( fork { var str = Routine { |in| 10.do { in = in.rand.y ...
-
PV_JensenAndersen FFT feature detector for onset detection based on work described in Jensen,K. & Andersen, T. H. (2003). Real-time Beat Estimation Using Feature Extraction. In Proceedings of the Computer Music Modeling and Retrieval Sympos ...
-
Function Creation via Partial Application Partial application is a way to create a function by passing only some arguments to a method. The _ character stands in for missing arguments and becomes an argument to the created function. It only ...
-
... ses the stream to stop. (This is like Pfindur for event patterns, but Pif/Ptime works for value patterns as well.) // This is a really useful trick: like Pfindur but for value patterns ( p = Pbind ( \degree , Pif ( Ptime ( inf ) < 4.0, Pwhi ...
-
... ses) jitlib_efficiency (optimising code) the_lazy_proxy (how the initialisation works) jitlib_fading (how crossfade of code works) jitlib_asCompileString (storing and reproducing proxies) recursive_phrasing (a specific use of Pdef) jitlib_a ...
-
... witched. it is about as efficient as (b) - first example (setting a defname) it works only for 1 or 2 channels right now. ( s.boot; p = ProxySpace .push(s); ) ~out.play; ~s1 = { Blip .ar( Rand (32,15), 100, 0.5) }; ~s2 = { SinOsc .ar(740, 0 ...
-
... nd patterns. To see how a clock "plays" a routine, first examine how a function works in a routine. The first argument (and usually the only argument) to a routine is a function. // template for a routine Routine ({ ".... code within curly ...
-
... discussing input values in patterns, let's take a step back and discuss how it works for Routines. Routine 's 'next' method takes one argument, which is passed into the stream (Routine). The catch is that the routine doesn't start over fro ...
-
PV_PhaseShift shift phase of all bins Inherits from: Object : AbstractFunction : UGen : PV_ChainUGen PV_PhaseShift(buffer, shift) buffer - fft buffer. shift - phase shift in radians. See also FFT Overview . // internal server for scoping Se ...
-
Client versus Server Architecture and Operations The name "SuperCollider" is in fact used to indicate five different things (Figure 1): 1. an audio server 2. an audio programming language 3. an interpreter for the language, i.e. a program a ...