-
... known in computer science as "coroutines") are important because they can yield control back to the caller but still remember exactly where they were, so they can resume in the middle on the next call without having to start over. A few exc ...
-
... play that buffer. (See NodeEvent for a description of how events can be used to control running synths.) The event responds to play, stop, pause, resume , keeping both the file and buffer open. The file is closed and the buffer is freed whe ...
-
... ft); array.size.postln; Out .kr(0,array); Out .ar(0, Pan2 .ar(in)); }.play ) c= Bus .new( 'control' , 0, 13); //poll coefficients c.getn(13,{ arg val; {val.plot;}.defer}); //Continuous graphical display of MFCC values; free routine before c ...
-
... functions, or actions used in server messaging (such as Buffer.read, Buffer or Bus .get, and so on). Environment variables have dynamic scope; they are read from whichever environment is current, whether or not it was the current environme ...
-
... a[2].postln; } { |error| \caught .postln; error.dump } ) Audio play(target, outbus, fadetime, addAction, args) This is probably the simplest way to get audio in SC3. It wraps the Function in a SynthDef (adding an Out ugen if needed), creat ...
-
... sort of data that can be represented by floats can be stored in a buffer. Like busses, the number of buffers is set before you boot a server (using ServerOptions ), but before buffers can be used, you need to allocate memory to them, which ...
-
... embedInStream allows a stream definition to allow another stream to "take over control" of the stream. All objects respond to next and reset, most by returning themselves in response to next. Thus, the number 7 defines a Stream that produc ...