MiniDexed icon indicating copy to clipboard operation
MiniDexed copied to clipboard

Cleanup reverb state on reverb enable

Open soyersoyer opened this issue 7 months ago • 6 comments

Since doReverb was not called after reverb was turned off, so the cleanup was missed.

Call the cleanup explicitly when enabling reverb.

The cleanup() resets all values ​​associated with the previous run to zero.

This change also removes the unnecessary bypass variable, as doReverb is only called when it is enabled (m_nParameter[ParameterReverbEnable]).

soyersoyer avatar Apr 23 '25 01:04 soyersoyer

This needs some testing. Is this really useful? Not all the noise I don't like about the performance change has gone away.

soyersoyer avatar Apr 23 '25 01:04 soyersoyer

It seems to abruptly stop any still-running reverb tail when a new performance is loaded.

I think it gives a small "click" artefact due to the abrupt cutoff. Maybe we could use a very short fade out instead to avoid that?

probonopd avatar Apr 23 '25 01:04 probonopd

It also seems to cut off any still-playing notes. Is that intended? I don't think e.g., the Montage does it that way ;-)

probonopd avatar Apr 23 '25 01:04 probonopd

It also seems to cut off any still-playing notes. Is that intended? I don't think e.g., the Montage does it that way ;-)

That's really not good then.

I saw on some big brand synths that you can set whether the existing sounds should continue to play when changing performance.

The still playing notes will stop when changing performance even without this commit. So that's intended:)

The click is not intended. But it's there even without the commit.

But it's less annoying because there's a little reverb on top :)

soyersoyer avatar Apr 23 '25 01:04 soyersoyer