diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-24 02:29:24 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-24 02:29:24 +0100 |
commit | a0994b16dd9ef2d7d78938541278580b598f5f25 (patch) | |
tree | 0c97f2e43d8ce87a83708cc9997db41f4269a7cc /scripts | |
parent | 517b5f091f51d8687e98fc439e2023791741d48f (diff) |
Update Convolver/LuaConvolver
* Add API to allow per-channnel gain and delay
* Fix channel-mapping for stereo IRs w/o true-stereo
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/_convolv.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/_convolv.lua b/scripts/_convolv.lua index b2f6b477ab..b8d82627fb 100644 --- a/scripts/_convolv.lua +++ b/scripts/_convolv.lua @@ -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 |