diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2019-06-16 01:30:34 +0200 |
---|---|---|
committer | Johannes Mueller <github@johannes-mueller.org> | 2019-06-16 01:30:34 +0200 |
commit | 79db200bdb9fb168dab9e6933d943161a370ea10 (patch) | |
tree | 29734335a5310a310344bc364ece1f1aec2eff70 /scripts/_dump_midiregion.lua | |
parent | 9ddc47204a878a526bab96d3cd49c4f28d03fd50 (diff) |
Some more frame -> sample changes (in scripts)
Diffstat (limited to 'scripts/_dump_midiregion.lua')
-rw-r--r-- | scripts/_dump_midiregion.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/_dump_midiregion.lua b/scripts/_dump_midiregion.lua index 34ee124b14..0c62a56479 100644 --- a/scripts/_dump_midiregion.lua +++ b/scripts/_dump_midiregion.lua @@ -7,7 +7,7 @@ function factory () return function () if mr:isnil () then goto next end print (r:name (), "Pos:", r:position (), "Start:", r:start ()) - local bfc = ARDOUR.BeatsFramesConverter (Session:tempo_map (), r:position ()) + local bfc = ARDOUR.BeatsSamplesConverter (Session:tempo_map (), r:position ()) local nl = ARDOUR.LuaAPI.note_list (mr:model ()) for n in nl:iter () do print (" Note @", bfc:to (n:time ()), @@ -18,4 +18,3 @@ function factory () return function () ::next:: end end end - |