mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
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.
This commit is contained in:
parent
c24c210cce
commit
38c613cd9a
6 changed files with 100 additions and 0 deletions
8
share/scripts/s_cut_copy_section.lua
Normal file
8
share/scripts/s_cut_copy_section.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue