Addenda comment on my last message, after looking at the SAOL file
you sent along (forgot it was attached) ...
> Roundoff on note triggering may be the cause here, since real numbers
> are used for trigger times on SASL commands,
Hard to believe this is the case for your example, since the trigger
time is zero ... what it could be, though, is that sfront may zero pad
the front of the file, to prevent start-on clicks, and this may
be where the time-shifting is coming from (I can't remember if it does
this for file I/O, I remember it does for real-time audio control drivers
as part of its buffering strategy ...).
> If I understand the problem correctly, I believe that this functional
> form:
>
> k1*(kline(1, ...., 0) + k2)
>
> should solve the problem for sfront --
Looking over your code this seems to be whats happening here, you'll
need to replace these:
kline(.5 , .0625 , 1 )
kline(1 , 2 , .5 )
kline(.5 , .25 , .25
with calls that end with zero, and then add in the offset you want
outside of the kline() call, to get robust behavior when kline
finishes early ...
--jl
This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:03:53 EST