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 12, 2024
1 parent a07f97f commit 32c93a7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
-- @description Create Impulse Response (IR) of the FX Chain of the selected Track
-- @author amagalma
-- @version 2.15
-- @version 2.16
-- @changelog
-- - Fix loading IR into Reaverb
-- - Show the correct path in "IR Name" tooltip
-- @donation https://www.paypal.me/amagalma
-- @link https://forum.cockos.com/showthread.php?t=234517
-- @about
Expand All @@ -20,7 +20,7 @@

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

local version = "2.15"
local version = "2.16"
--------------------------------------------------------------------------------------------


Expand Down Expand Up @@ -748,6 +748,7 @@ function BrowseForFile()
"Save Impulse Response as :", IR_Path, GUI.Val("Name"), "Wave Audio files (*.WAV)\0*.wav\0\0" )
if ok == 1 then
IR_Path, IR_name = retval:match("(.+[\\/])(.+)")
GUI.elms.Name.tooltip = "Enter IR name. The current path is:\n" .. IR_Path .. "\nUse the 'Browse for File' button to change path."
IR_name = IR_name:find("%.wav$") and IR_name or IR_name .. ".wav"
Msg("Path from function: " .. retval)
Msg("IR_path: " .. IR_Path )
Expand Down

0 comments on commit 32c93a7

Please sign in to comment.