Skip to content

Commit

Permalink
Update amagalma_Create Impulse Response (IR) of the FX chain of the s…
Browse files Browse the repository at this point in the history
…elected track.lua
  • Loading branch information
amagalma authored Oct 29, 2024
1 parent daa31f3 commit 6046b49
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -21,7 +20,7 @@

-- Thanks to EUGEN27771, spk77, X-Raym, Lokasenna

local version = "2.18"
local version = "2.19"
--------------------------------------------------------------------------------------------


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6046b49

Please sign in to comment.