Forum

    • Register
    • Login
    • Search
    • Categories

    getCurrentLevel can return results out of range.

    Bug Reports
    3
    4
    59
    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.
    • LightandSound
      LightandSound last edited by LightandSound

      It appears to be possible to get results from getCurrentLevel() > 1. My understanding from the documentation is that the range should be 0-1.

      This is in HISE 2.1, a simpleGain fx on a long container and a release container, pointing only to the left channel.

      peaks.PNG

      ustk 1 Reply Last reply Reply Quote 0
      • ustk
        ustk @LightandSound last edited by

        @LightandSound it's in scientific notation
        7.9250967e-08 => 0.000000079250967 (if I read well -08)

        Tired to press F5 in the forum...
        Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

        LightandSound 1 Reply Last reply Reply Quote 1
        • LightandSound
          LightandSound @ustk last edited by

          @ustk and that is why I shouldn't post past midnight! Even highlighted the negative myself lol

          1 Reply Last reply Reply Quote 1
          • Christoph Hart
            Christoph Hart last edited by

            If the volume is above 0dB, it will result in values over 1.0. The statement

            the range is between 0 and 1

            means that the domain is normalised and not measured in dB or anything else.

            But yes, that scientific notation is annoying. In audio DSP if you have something this low you expect it to be zero in most cases, but I didn't write the number to string converters myself.

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

            8
            Online

            732
            Users

            5.4k
            Topics

            50.2k
            Posts