13
0
livetrax/share/scripts/s_cut_copy_section.lua
Robin Gareus 38c613cd9a Towards arranging sections
This allows to move or copy whole sections of the timline (everything
you hear) to a differnt position on the timeline.

NB. Markers and tempo-map are not yet moved, and interpolated MIDI
events are lost.
2023-01-23 04:07:46 +01:00

9 lines
281 B
Lua

ardour { ["type"] = "Snippet", name = "Move Section" }
function factory (params) return function ()
local start = Temporal.timepos_t(96000)
local _end = Temporal.timepos_t(144000)
local to = Temporal.timepos_t(480000)
Session:cut_copy_section (start, _end, to , true)
end end