Interpret start & length_beats properties as double rather than Evoral::Beats.

- Evoral::Beats operator!= would prevent an increment
	  of start_beats by intervals of less than a tick,
	  so its possible that other subtle problems
	  existed due to this kind of thing.
This commit is contained in:
nick_m 2016-10-10 03:39:57 +11:00
parent 631c8afc66
commit 4faf44588f
7 changed files with 42 additions and 44 deletions

View file

@ -17,7 +17,7 @@ function factory () return function ()
assert (ar and mr)
local a_off = ar:position ()
local b_off = 4.0 * mr:pulse () - mr:start_beats ():to_double ()
local b_off = 4.0 * mr:pulse () - mr:start_beats ()
vamp:analyze (ar:to_readable (), 0, nil)
local fl = vamp:plugin ():getRemainingFeatures ():at (0)