From 9345f824f5289532982194f78ca677b497d739eb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 16 Oct 2023 20:59:47 +0200 Subject: [PATCH] Update scripts for new bonuce_range API --- share/scripts/bounce_replace.lua | 2 +- share/scripts/tomsloop.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/scripts/bounce_replace.lua b/share/scripts/bounce_replace.lua index 6db9792670..3478b263d4 100644 --- a/share/scripts/bounce_replace.lua +++ b/share/scripts/bounce_replace.lua @@ -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); diff --git a/share/scripts/tomsloop.lua b/share/scripts/tomsloop.lua index c70303a177..0cbfd00f4c 100644 --- a/share/scripts/tomsloop.lua +++ b/share/scripts/tomsloop.lua @@ -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