Tested on amd64 and pentium3 with float and double samples. The INF csound macro is 8.0e11 (25367 years). I have chosen this value because it works with sr = 192000 ksmps = 1 tempo = 1 Therefore, no problems with t0 1 f0 $INF Likewise, if the score is empty, add "f0 800000000000.0". I have not modified the INF macro in the C language (unused now but it can be useful in the calculations also with int32) This line in twarp.c can cause a segvault with score 32bit and double samples, if the time is large and/or the tempo is less than 60. tp->betbas = FL(999999.9); /* and cap with large betval */ I have replaced it for 64bit with tp->betbas = FL(9223372036854775807.0); /* and cap with large betval */ Applied in git. tito ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net