From f245992186017fa9fb5bf5994e88eb24d7c93244 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 13 Jul 2020 18:03:25 -0600 Subject: [PATCH] updated Temporal::Beats ... scripts edition --- share/scripts/midi_cc_to_automation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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