On Tuesday 17 December 2002 03.23, Paul Davis wrote:
about
arithmetic: float operations, as you know, introduce
round-off error. integers can be used in accumulators with
much less inconvenience.
sorry, its just wrong.
prove it.
sorry, when i said this, i meant something more like:
"sorry, its just not right to force integral values".
in the timeline work i've done for ardour, rounding errors are
never an issue because there is no accumulator used outside of a
single measure's distance.
Right. This should apply to XAP as well. Just make sure the sequencer
doesn't let plugins run on accumulated position + tempo for too long,
and nothing will ever run out of sync.
This is nothing normal beat sync'ing plugins will ever have to worry
about. If they can take musical time position events, they get "drift
elimination" for free.
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`--------------------------->
http://olofson.net/audiality -'
---
http://olofson.net ---
http://www.reologica.se ---