Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting a newly added region?
#1
Given the following snippet of code (written for ardour but asking here as well):

Code:
-- bounce selected region with processing
local region = track:bounce_range (r:position ():samples(), (r:position() + r:length ()):samples(), ARDOUR.InterThreadInfo (), track:main_outs (), false, "", false);

-- Add the newly bounced one
playlist:add_region (region, r:position (), 1, false, 0, 0, false)



Is there any way to select the newly added region (in the script, of course) so that I can rename it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)