| The way that Csound 5 handles turning off instruments requires that any
event to be terminated be in the score event list. Therefore, simply
inserting a properly initalized instrument into the active and turnoff
lists will not work, because senseEvents will not take a look at those
lists until the current p2 or current beat variable has timed out. These
variables are not updated by schedwen. However, schedkwhen inserts a new
score event (or events) and therefore it still works.
I recommend that the insert_event and queue_event functions be removed or
reworked to create new score events as in schedkwhen.
I will do nothing further without advice.
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ . |