Revert "update lua script to follow API change (bb459a2e7d)"
This reverts commit f09e9347e1
.
because the new-midi branch wasn't merged, yet
This commit is contained in:
parent
ec12fccf08
commit
ae63243bf3
@ -32,7 +32,7 @@ function factory () return function ()
|
|||||||
|
|
||||||
for i,ar in pairs(audio_regions) do
|
for i,ar in pairs(audio_regions) do
|
||||||
local a_off = ar:position ()
|
local a_off = ar:position ()
|
||||||
local b_off = midi_region:pos_beats () - midi_region:start_beats ()
|
local b_off = 4.0 * midi_region:pulse () - midi_region:start_beats ()
|
||||||
|
|
||||||
vamp:analyze (ar:to_readable (), 0, nil)
|
vamp:analyze (ar:to_readable (), 0, nil)
|
||||||
local fl = vamp:plugin ():getRemainingFeatures ():at (0)
|
local fl = vamp:plugin ():getRemainingFeatures ():at (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user