From: Comix <ac...@ti...> - 2004-03-09 09:10:07
|
Jesse Chappell wrote: > As discovered today by montcoder on IRC when using hydrogen with > jack transport (and ardour), hydrogen's beats were drifting over > time. > > After analyzing the situation, I discovered that we had rounding > inaccuracies due to keeping the internal ticksize as an integer > and using it for all frame position calculations. Changing the > ticksize to float fixed the problem, and hydrogen is now accurate > across all time. Whew! > > To prove to yourself it was wrong before, just start up a > 'jack_metro -b 120 -t' , then a hydrogen (put cowbells on the 4 downbeats) > and enable jack transport. then run 'jack_transport', and roll. it will > sync right at the beginning, but do a locate command in jack_transport to > a sample position far in the future and hear how off it is. > Then repeat with the freshly compiled cvs with the fix.... and > see how on it is :) > > This is a fairly important thing to get right, so i recommend a > new release as soon as possible. > That's great! well done Jesse! :) The release is almost ready, I'm waiting for the last translation and then I will create the tarballs. Ciao -- Alessandro <Comix> Cominu http://hydrogen.sf.net e-mail: co...@de... Icq: 116354077 Linux User # 203765 [...Codito Ergo Sum...] |