X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=scripts%2Fmidi_cc_to_automation.lua;h=9a5780e73de1c8e89ef67da99b19518d289fc1cb;hb=3cf888498a9837be4cf19394fe554d1cdb9efde5;hp=afe5bdd00a261acbdb983ee1034983b6ce5e397d;hpb=4521c1d5253fd6e16d5ee2cc7f691273925e5623;p=ardour.git diff --git a/scripts/midi_cc_to_automation.lua b/scripts/midi_cc_to_automation.lua index afe5bdd00a..9a5780e73d 100644 --- a/scripts/midi_cc_to_automation.lua +++ b/scripts/midi_cc_to_automation.lua @@ -95,7 +95,7 @@ function factory () return function () -- MIDI events are timestamped in "bar-beat" units, we need to convert those -- using the tempo-map, relative to the region-start - local bfc = ARDOUR.DoubleBeatsFramesConverter (Session:tempo_map (), r:start ()) + local bfc = ARDOUR.DoubleBeatsSamplesConverter (Session:tempo_map (), r:start ()) -- iterate over CC-events for av in ec:list ():events ():iter () do