mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
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:
parent
631c8afc66
commit
4faf44588f
7 changed files with 42 additions and 44 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue