summaryrefslogtreecommitdiff
path: root/scripts/midi_cc_to_automation.lua
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2019-06-16 01:30:34 +0200
committerJohannes Mueller <github@johannes-mueller.org>2019-06-16 01:30:34 +0200
commit79db200bdb9fb168dab9e6933d943161a370ea10 (patch)
tree29734335a5310a310344bc364ece1f1aec2eff70 /scripts/midi_cc_to_automation.lua
parent9ddc47204a878a526bab96d3cd49c4f28d03fd50 (diff)
Some more frame -> sample changes (in scripts)
Diffstat (limited to 'scripts/midi_cc_to_automation.lua')
-rw-r--r--scripts/midi_cc_to_automation.lua2
1 files changed, 1 insertions, 1 deletions
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