-
19_Scheduling: Filter: Routines and clocks Scheduling routines Clocks and the convenience of .play Scheduling synths with routines Tutorials/Mark_Polishook_tutorial | Tutorials > Mark_Polishook_tutorial'>Mark_Polishook_tutorial 19_Schedulin ...
-
Routines and clocks Use clocks to create automated, algorithmic scheduling. Among the things that clocks "play" are routines, tasks, and patterns. To see how a clock "plays" a routine, first examine how a function works in a routine. The fi ...
-
Routine Superclass: Thread Routines are functions that can return in the middle and then resume where they left off when called again. Routines can be used to implement co-routines as found in Scheme and some other languages. Routines are u ...
-
Routine: Filter: Description Class methods new Inherited class methods Undocumented class methods run Instance methods next value resume stop reset play reschedule awake p Accessible instance variables beats seconds clock Inherited instance ...
-
... mber that you can write down in your notebook. randSeed // every thread, also a Routine, has a random generator seed: ( r = Routine({ loop({#[1,2,3,4,5].choose.yield }) }); r.randSeed = 1923; ) // using the routine to fill an array Array.fi ...
-
... s) var <>pos = 0, <>numLines = 16, <>centerSize = 0.5, <>lineWidth = 0.08; var <routine, <>speed = 2, <>resolution = 1; var <>active = false, <>alphaWhenStopped = 0.5; var <>color; var <>startAction, <>stopAction; init { |parent, bounds| su ...
-
... ns based on scala's for and haskell's do. */ EventPlayerES : EventSource { var <routine; /* arrays is [[time,value],...] */ *new{ |array, loop = true| ^super.new.init(array, loop) } init { |array, loop| var t; var f = { t = 0; array.do{ |tx ...
-
... for handling text and for generating music. Two Stream classes: FuncStream and Routine FuncStream(nextFunction, resetFunction) A Function defines a stream consisting of the Function itself, a FuncStream defines a stream that consists of ev ...
-
... tion, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ MemoRoutine : Stream { var <>routine, <>lastValues, <>count, <>copyItems, <>copySets; *new { |func, stackSize = (512), bufSize = 1, copyItems = 0, copySets = 1| ^su ...
-
15. Sequencing with Routines and Tasks: Filter: Scheduling routines Pause and resume: Task When do you want to start? Using data routines in note sequencing A note on server messaging and timing Suggested Exercise Tutorials/Getting-Started ...