HISE Logo Forum
    • Categories
    • Register
    • Login

    Envelope Follower Glitch?

    Scheduled Pinned Locked Moved Scripting
    6 Posts 3 Posters 159 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • griffinboyG
      griffinboy
      last edited by griffinboy

      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:

      https://imgur.com/a/Uh1mNM4

      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

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @griffinboy
        last edited by

        @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?

        griffinboyG 1 Reply Last reply Reply Quote 0
        • griffinboyG
          griffinboy @aaronventure
          last edited by griffinboy

          @aaronventure

          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

          griffinboyG 1 Reply Last reply Reply Quote 0
          • griffinboyG
            griffinboy @griffinboy
            last edited by

            @griffinboy

            possibly found a solution

            57d8552c-8f7a-4905-8404-49fe7a931103-image.png

            I'm going to try this out. I'll release a new node for the follower if it works as intended.

            HISEnbergH 1 Reply Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @griffinboy
              last edited by

              @griffinboy Interesting discovery! What paper is this from?

              griffinboyG 1 Reply Last reply Reply Quote 0
              • griffinboyG
                griffinboy @HISEnberg
                last edited by

                @HISEnberg

                2012/GiannoulisMassbergReiss-dynamicrangecompression-JAES2012

                Search this online

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post

                29

                Online

                1.8k

                Users

                12.1k

                Topics

                105.5k

                Posts