[CM] Sprouting processes from sequences?
Larry Troxler
lt@westnet.com
Wed, 22 Jan 2003 21:02:55 -0500
Rick Taube wrote:
>
> hmm that sounds like a neat idea. i think you can simply define the class however you want and then define a method on 'schedule-object' for your class. your method inserts arpeggio stuff instead of the object itself:
>
> (defmethod schedule-object ((obj arpeggio) start)
> (let ((add (create-arpeggio-objects obj)))
> ;; add stuff to queue but not self.
> (dolist (a add)
> (enqueue a start start))))
>
> look in schedule.scm (or schedule.lisp) for the schedule-object methods.
What do the third and fourth arguments to "engueue" do? Obviously they
deal with the time the event should be scheduled, but why two arguments
and what is the difference in function between them?
Larry Troxler