Update scripts for new bonuce_range API
This commit is contained in:
parent
88365ae149
commit
9345f824f5
@ -38,7 +38,7 @@ function factory (params) return function ()
|
||||
playlist:to_stateful ():clear_changes ()
|
||||
|
||||
-- bounce the region with processing
|
||||
local region = track:bounce_range (r:position ():samples(), (r:position() + r:length ()):samples(), ARDOUR.InterThreadInfo (), track:main_outs (), false, "");
|
||||
local region = track:bounce_range (r:position ():samples(), (r:position() + r:length ()):samples(), ARDOUR.InterThreadInfo (), track:main_outs (), false, "", false);
|
||||
|
||||
-- remove old region..
|
||||
playlist:remove_region (r);
|
||||
|
@ -242,7 +242,7 @@ function factory (params) return function ()
|
||||
playlist:to_stateful ():clear_changes ()
|
||||
|
||||
-- do the actual work
|
||||
local region = track:bounce_range (loop:start ():samples(), loop:_end ():samples(), itt, proc, false, "")
|
||||
local region = track:bounce_range (loop:start ():samples(), loop:_end ():samples(), itt, proc, false, "", false)
|
||||
playlist:add_region (region, Temporal.timepos_t (playhead), n_paste, false)
|
||||
|
||||
n_regions_created = n_regions_created + 1
|
||||
|
Loading…
Reference in New Issue
Block a user