[CM] Sprouting processes from sequences?

Larry Troxler lt@westnet.com
Thu, 23 Jan 2003 20:49:38 -0500


Rick Taube wrote:
> 
> actually, as i look at it i realize you should not use enqueue - just call schedule-object recursivly instead. that way the stuff you are adding will get initialized correctly no matter what it is.
> 
> (defmethod schedule-object ((obj arpeggio) start)
>   (let ((add (create-arpeggio-objects obj)))
>      ;; add stuff to queue but not self.
>      (dolist (a add)
>        (schedule-object a start ))))

I tried it, and it seems that my schedule-object method never gets
called, because my 
"arpeggio" class just gets directly outputed to the score file as a
single csound
event with the instrument number being "ARPEGGIO". 

I think I'm going to give up on this and just define preprocessing
methods that insert events on objects into a new sequence (the default
would be just to copy the event). I need to cut my losses - I've spent
far too much time on this shit :-)


Larry Troxler