| Ho Ho! Thanks for this explanation, this should be the problem. Unfortunatly,
kr=sr doesn't solve the problem
i2 19.7834 0.2174 give a file legnth of 20, not 20.0008. In fact, using
kr=sr/10 gives a better result (20.006).
I think there is no solution in the Csound space. As the deviation is not
important, I can build the VRML worl and the synchronisation with the sounds,
and then set the length of the sound files with an editor (or maybe using
Csound in a second pass).
Thanks for your help
Erik Spjut wrote:
> Try running it with kr=sr. Csound always rounds (truncates?) things to the
> end of the nearest ksmps frame. If kr=sr you should be good to the nearest
> 1/sr seconds (allowing for tempo of course).
>
> ----------------------------------------------------------------
> Prof. R. Erik Spjut (spyoot rhymes with cute)
> Engineering Department, Harvey Mudd College, Claremont, CA 91711
> erik_spjut@hmc.edu Ph. (909) 607-3890 Fax (909) 621-8967
|