Critique a beginner's code! - sorry, forgot one!
Larry Troxler
lt@westnet.com
Sat, 16 Nov 1996 22:02:48 -0500 (EST)
I'm sorry but I fogot to ask something in my post a few minutes ago.
You suggest this in the redefined write-event for pnote (inherited from
midi-note):
> (setf (slot-value obj 'time) (- (slot-value me 'time) 100))
> (write-event obj file))))
> (call-next-method)) ; Always send the original midi-note (obviously)
I thought about this at first, but I wasn't sure that I could do that. I was
worried about what happens if this throws the output out of time-increasing
order. For example, what if there was already a midi event written starting
at (- (slot-value me 'time) 50) ?
Larry Troxler
lt@westnet.com