HISE Logo Forum
    • Categories
    • Register
    • Login

    Gain Envelope Intensity <100% - Tail Cutoff

    Scheduled Pinned Locked Moved Unsolved Bug Reports
    7 Posts 2 Posters 344 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.
    • CyberGenC
      CyberGen
      last edited by CyberGen

      When the intensity of a gain envelope is set to < 1.0, there is an abrupt cutoff of the sound after the release time has elapsed? It doesn't feel like this is working properly. I believe it should be proportional drop off rather than a hard cut. That is how it operates with all my analog synths and how it works for functions like the HISE filter envelope for example. I've been getting around this by using the attack level rather than the intensity. But is not the same thing.

      Not sure if this is a bug or intentional. Anyone else having this issue?

      Can you help me confirm that this is a bug?

      HiseSnippet 1004.3oc4X0saaaCElJ1LqNsMcEXE6VcwtHEnXv1qsa.6h3D+SiwpSLhxZ2cErTzwDQlTfhxaFC6oYuC659BLf8HTf8Br2fsCEUhnRT87LV5Zv7EA57G024WdTFqjTVRhTg7ZbxhXFx6N3fEB8ztSIbAZXOj213QjDMS4aYs+hXRRBKD44U6YFFdMpix98G6tOIhHnrBVHzKjbJ647YbcA2wc9FdTz.RH6D9LGsebmgTonqLRlB3oFtIJlPOibJ6PhQsMvHuM6Gx0RUflnYIHu56KCWDLU98Bq9ufmvecDyPzBE.Gjk8.YTnAwlmQcmxiBGetemfPd3wEQgZ1nvmfGwC4WvuHZ7wYB7KrvMd3sQY3UqD7Z8tfWEPxyAR0sP593.phGqKjXvyswCEPxYBAB6tPwpKx6M3tRPAg9ymQNiMPADWXvNOsYyG4C+4ge8jTAUykBeo3PolcjXmGt0OtUis9os7urnISpTl40njQQLUkhMYZ0xLbGQ5rWyTOxeNIJkcghf6WNlt4pESoVu1QQoXnfqOJlkSWTTzphL.JOrAO8sC6QzDSRImGnWLSo4F330iMGpvsonF3drjyzxXnF+J4OnxQFlFQzkKmL8P4Bf3QobnIQIR35Et8XWtFq96NdzrxVfJ81UDt2GOlqoSqFuaTAdgn10Mdy6XuKt+jILpt.r0wC9tk1d9uNTdfEJ2F+RxbV1XzLf7fL5IR0L+mwDLkIl1ZICR+sUcPZ7JOH8HpFfvIJhHIVlvZ4dxWRVaWY8X5TQY0srJokw8F.tmid2py4La6xbLQT5v.5RmzH9OTP91c6KHPBIfAdS3QITvYMwN21gwoQIrWxC0Sa4ZXA61trOfnBg7BsTAZsUtpvc.S49VG8qXZ9lWWWv7ds4+ZcV0+fqqcua7dV79Q38NnWvw4ynxd1uuXNKBFTWtSajTHimJE7R0.GyzJ9omxJUZcYW5s+b7ut6dZMrSR2T0bV4lBJYwU3ZU1suzx44L.ZtJd.3wEzeVmri6BFuQ0IHMQWZFgAyQLRRw662+kN8oRH8vVVJX8WIAuhkI2EacR+rYReXee11miUaF4CavdGbVYwMg358v4Er2HBraiy6ktIDZW5JX09e+JXK+BLX8B+aLKa+oXXkm19Yoa++6y2GKS0bwoiHvUkvRZ3CSmE.6WRY.hEBVD7hvdaX9xIKcSCsANALQXFweB+xE1xP6kKr04Beu7NlQnJ4qn1u5zbw1sx3.9sH6eyPC7HCseKT1Wh5FXmAal8JJs7QcECautF9EqqgOdcM7IqqgOccM7KWWC+p+dCMKNuWpVNy1m.eMw39Ye5tmm8CIxZYP+EP4V7GG
      
      1 Reply Last reply Reply Quote 1
      • CyberGenC CyberGen marked this topic as a question on
      • CyberGenC
        CyberGen
        last edited by

        friendly bump.

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

          @CyberGen there is a voice kill threshold compiler flag that was added a few weeks ago.

          Search for "threshold" in commits and you'll find it.

          CyberGenC 1 Reply Last reply Reply Quote 0
          • CyberGenC
            CyberGen @aaronventure
            last edited by

            @aaronventure Found it, HISE_SILENCE_THRESHOLD_DB.
            But what is a good value for it? I can tell that it's doing something but I may not be understanding how it works because it still cuts off the tail of the gain envelope. Initially I tried HISE_SILENCE_THRESHOLD_DB=1, as with most preprocessors, but it still produced a sharp cut in the envelope release. Then I thought it could be a db value, so I tried -60, -99, 99, all of them still produce a cutoff in the tail.

            How do I set it up so the I can use maximum length release with the full spectrum of intensity values?

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

              @CyberGen you can check the changes in that commit, I think it has a comment about how it's to be used. Or the commit description.

              I think I may have misunderstood your issue, if your reelease cuts off halfway through.

              Have you tried creating an envelope in scriptnode? The ahdsr module is in there in full form.

              CyberGenC 1 Reply Last reply Reply Quote 0
              • CyberGenC
                CyberGen @aaronventure
                last edited by

                @aaronventure I tried with scriptnode, but I quickly realized I was in over my head in scriptnode world, mainly because of the mod tabs, I am using global modulators on all mod tabs. Not sure I have the skills to workaround the issue in that way. I'll give it another shot though I feel that there might just be something broken with the gain envelope, considering the same issue is not present when using the envelope with other processors, like the filter for example.

                Thank you for the tips.

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

                  @CyberGen check this, maybe it'll help

                  Link Preview Image
                  [Bug] Using a global simple envelope breaks Sampler's retrigger handling · Issue #453 · christophhart/HISE

                  Create a global modulator container. Create a Simple Envelope. Create a Sampler. Set the retrigger mode to "Do Nothing" so you can play repeating notes indefinitely. Hold the pedal for sustain to check that they are in fact stacking. Rep...

                  favicon

                  GitHub (github.com)

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

                  37

                  Online

                  1.8k

                  Users

                  12.0k

                  Topics

                  104.5k

                  Posts