13
0

update lua script to follow API change (bb459a2e7d)

This commit is contained in:
Robin Gareus 2016-10-31 15:27:14 +01:00
parent 77c9106769
commit f09e9347e1

View File

@ -32,7 +32,7 @@ function factory () return function ()
for i,ar in pairs(audio_regions) do
local a_off = ar:position ()
local b_off = 4.0 * midi_region:pulse () - midi_region:start_beats ()
local b_off = midi_region:pos_beats () - midi_region:start_beats ()
vamp:analyze (ar:to_readable (), 0, nil)
local fl = vamp:plugin ():getRemainingFeatures ():at (0)