Compare commits

..

2 Commits

Author SHA1 Message Date
25e70f3f99 [docs] feat: add readme and license
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-01-20 17:23:49 +01:00
1d9706e19a feat: use range instead of location/arrangement markers
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
2024-01-20 17:21:11 +01:00

View File

@ -6,7 +6,7 @@ ardour {
description = [[Rename selected regions using track name and label of range marker at region start]]
}
function factory()
function factory ()
-- there is currently no direct way to find the track
-- corresponding to a [selected] region
function find_track_for_region(region_id)
@ -20,7 +20,7 @@ function factory()
assert (0) -- can't happen, region must be in a playlist
end
return function()
return function ()
local sel = Editor:get_selection () -- get current selection
local loc = Session:locations() -- get locations