Update Lua script to use new bounce API
This commit is contained in:
parent
22ab752924
commit
44fc824128
@ -39,7 +39,7 @@ function factory (params) return function ()
|
||||
playlist:to_stateful ():clear_changes ()
|
||||
|
||||
-- bounce the region with processing
|
||||
local region = track:bounce_range (r:position (), r:position() + r:length (), ARDOUR.InterThreadInfo (), track:main_outs (), false);
|
||||
local region = track:bounce_range (r:position (), r:position() + r:length (), ARDOUR.InterThreadInfo (), track:main_outs (), false, "");
|
||||
|
||||
-- remove old region..
|
||||
playlist:remove_region (r);
|
||||
|
@ -243,7 +243,7 @@ function factory (params) return function ()
|
||||
playlist:to_stateful ():clear_changes ()
|
||||
|
||||
-- do the actual work
|
||||
local region = track:bounce_range (loop:start (), loop:_end (), itt, proc, false)
|
||||
local region = track:bounce_range (loop:start (), loop:_end (), itt, proc, false, "")
|
||||
playlist:add_region (region, playhead, n_paste, false, 0, 0, false)
|
||||
|
||||
n_regions_created = n_regions_created + 1
|
||||
|
Loading…
Reference in New Issue
Block a user