From 6046b49d820d96d217a35f1a366e356c967f16cf Mon Sep 17 00:00:00 2001 From: amagalma Date: Tue, 29 Oct 2024 17:39:42 +0200 Subject: [PATCH] Update amagalma_Create Impulse Response (IR) of the FX chain of the selected track.lua --- ...sponse (IR) of the FX chain of the selected track.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Various/amagalma_Create Impulse Response (IR) of the FX chain of the selected track.lua b/Various/amagalma_Create Impulse Response (IR) of the FX chain of the selected track.lua index e0c0fb525..de9a3d135 100644 --- a/Various/amagalma_Create Impulse Response (IR) of the FX chain of the selected track.lua +++ b/Various/amagalma_Create Impulse Response (IR) of the FX chain of the selected track.lua @@ -1,9 +1,8 @@ -- @description Create Impulse Response (IR) of the FX Chain of the selected Track -- @author amagalma --- @version 2.18 +-- @version 2.19 -- @changelog --- - Take track's PDC value into acount --- - Added more debugging information +-- - Work properly with localized Reaper -- @donation https://www.paypal.me/amagalma -- @link https://forum.cockos.com/showthread.php?t=234517 -- @about @@ -21,7 +20,7 @@ -- Thanks to EUGEN27771, spk77, X-Raym, Lokasenna -local version = "2.18" +local version = "2.19" -------------------------------------------------------------------------------------------- @@ -536,7 +535,7 @@ function CreateIR() end -- Rename resulting IR - local filename = string.gsub(render_path, ".wav$", "-glued.wav") + local filename = string.gsub(render_path, ".wav$", "-"..reaper.LocalizeString("glued", "glue", 0)..".wav") Msg("Expected glued filename is: ".. filename) if reaper.file_exists( filename ) then reaper.Main_OnCommand(40440, 0) -- Item: Set selected media offline