diff --git a/share/scripts/midi_cc_to_automation.lua b/share/scripts/midi_cc_to_automation.lua index c8d2946e3b..458efd88c9 100644 --- a/share/scripts/midi_cc_to_automation.lua +++ b/share/scripts/midi_cc_to_automation.lua @@ -93,7 +93,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.DoubleBeatsSamplesConverter (Session:tempo_map (), r:start ()) + local bfc = ARDOUR.BeatsSamplesConverter (Session:tempo_map (), r:start ()) -- iterate over CC-events for av in ec:list ():events ():iter () do