Update Convolver/LuaConvolver

* Add API to allow per-channnel gain and delay
* Fix channel-mapping for stereo IRs w/o true-stereo
This commit is contained in:
Robin Gareus
2018-12-24 02:29:24 +01:00
parent 517b5f091f
commit a0994b16dd
4 changed files with 76 additions and 13 deletions

View File

@@ -26,7 +26,9 @@ function dsp_configure (ins, outs)
mode = ARDOUR.DSP.IRChannelConfig.Stereo
end
conv = ARDOUR.DSP.Convolver (Session, ir_file, mode, 0)
local irs = ARDOUR.DSP.IRSettings()
irs.gain = 0.5
conv = ARDOUR.DSP.Convolver (Session, ir_file, mode, irs)
collectgarbage ()
end