getCurrentLevel can return results out of range.



  • 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



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



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



  • 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.


Log in to reply
 

10
Online

517
Users

1.9k
Topics

14.6k
Posts