Envelope Follower Glitch?
-
I'm hoping someone here can save me some pain.
I've been working on an envelope follower for a compressor and I noticed that the attack and release controls affect the rms reading - even when they really shouldn't.
The same issue is replicated in Hise's own envelope follower:
and the issue crops up in my own custom nodes.
I've tried to recreate the issue using 3rd party plugins and they all seem to have solved this. Yet I've tried three different designs now and they all suffer the same. I'm scratching my head. Surely this isn't desirable behaviour? Am I missing something
-
@griffinboy how does it crop up in your own custom nodes? Are you using hise's envelope follower class or something? Have you tried Faust?
-
It needs to be my own implementation because I'm going to do something very custom with it. I was using some open source stuff as reference, and upon realising that even Hise's follower has this issue, it made me curious.
If this is an issue with their envelope follower I thought I should mention it. It was starting to seem intentional, the reason for the issue seems to be that the envelopes are applied before the rms calculation which means you end up affecting it. I was seeing this in multiple implementations and this seems very odd to me. Like a mistake, yet everyone is doing it.
But then I look at some followers in released products and they don't exhibit the behaviour
-
possibly found a solution
I'm going to try this out. I'll release a new node for the follower if it works as intended.
-
@griffinboy Interesting discovery! What paper is this from?
-