mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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.
8 lines
281 B
Lua
8 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
|