diff --git a/sfxr.lua b/sfxr.lua index 97eb957..415a2d6 100644 --- a/sfxr.lua +++ b/sfxr.lua @@ -1085,6 +1085,7 @@ function sfxr.Sound:load(f) return version end + self:resetParameters() -- merge the loaded table into the own mergetables(self, params) @@ -1165,6 +1166,8 @@ function sfxr.Sound:loadBinary(f) f:close() end + self:resetParameters() + local off = 1 local function readFloat()