EQ analyser does not reset completely
-
EQ Analyser does not reset completely. Even if there is no longer an audio signal, the analyser displays something. This also happens in the EQ itself. (See screenshot)
Here is a demo snippet:
HiseSnippet 1213.3oc2WszaaaDDdojoQkRaRSQPQORHzCJEFFRV1wpsnHRVObEpenX47nmBVQNRZqI2Ud4RaKD369X+Y0i8mR9GzNKojIosfqrPZBZ0AAMu39wY9lYV0UJrAeegjXj+3IiAhwma1aBWMpwHJiS5zjX7Py8o9JPZEoZmIio99fCwvH6tZEF4VgD948OeGpKkaCwpHjWIX1vdLOlJVa2Z+By0sM0ANl4kv6Mq0wVvaHbEAHdxZVhLlZeBcHb.U6VFSxOS8GQL9NyJfyFUqR2ZyJUrq98Us21lVErK2e6RaPG3ToJ3z2Yys1jRLVskCSIj8TTE3iOzcDNS5MRbNO5.dEym02EzBkI8vSNRMowHlqS2YIGeBwvrabpJaTp5Il6ybXWqONk8kgFrhiHYRyHycAox2CHYj.RqDAoGa1yVxFqhsnwyCL6vwJ3.JVaRBkHeIYxlwrg.8fqV2idBzVhBWGQwmUpzZV3WO8GymGqO9JKJm5NwGj6Uus0OYMKTaIfuQ6Irot6IDmTm6zF.2hwg01UPUL9viYtP4DANDTMDdiEbTnXgTdU.iNkh08A0sNhD3QeZIDWWBCYZ1a6.tshI3EK3HomWepG6f7qgRQ.2ovZVCl4xv0rD8+sml+c4yYk+x62SbWI6NeVyLXI3GHTvg7hg1xeYdqaZZvf4ZSm0jBWWPNWy5VJ4cEXQdfWePtl0YT2.3ZGQJTZd4pKFuzNpHlvQAuCmoNbLLUtsv0Qy2z+91rXxTV.9qW1oIUQ0D6o5P+FCRESCGilvY3njHZdNylf+IJw3PemRcvYWpo8kQD6jDGBCQviLSwkHWDO64WqMIVfU6bliBmzXZ76FDxHfMbjRK8Gw3MBHOxrdfCSLq5S5Ob13qbqVoRknmlB7h0d0UWcCsanU2rYyP0J3BUryylhFlWLdg46xaYU35rWGmB+.JRk33QkjcpUqWTtvZZW5vcfKPikBkvBfq37WKjm3iCTAT+.pqOj+RbT7slffytDNAtTU5AZ5Q8SMfroTSQzSJ39L0jjqBtGS4JcmS4VTH9XytLk8n4iwLyAiHO6eCLNc2vWX1Zv.vVECvULa+lkcQPoEeQf4rNjFAxyfVmNs9klkjBGGD30l4hSz70Tbchoc6iawo3YGl6Lx9AZgE4HQft4aeJhCr2yDO4dHS2FvrDmCtg.HitGKRtzL.0C3NgB+E9YpwxZYioFKOyXxRwCiREOvrGiCg2pILY70gxVuldFXsKvAolHU9NtXyetnWrY7BewlCsU3werjx8GK7S8f6AdriwAZ9IU9RebqLb5QZlcR8MDT4bM89m2FeImaL8np.YXKRcOb0mJUKwMp0qrX05zSGR3+bHqq7I3hTeXFw7IbJXpV7byvXOl2XWnE+LvEWTFhwuB2LNfF3ploMMwdeAWLdjfyrSV0OROXX3PPlD6y8EptRgWYJVySpcD3BzjL3us1dHyiJw7Drj4h6+8dma85aLifqktaz5+taux9+5sWeT1J7w3L7n1Rwasitkslm9YgZv2ad3+eMG9GoQYqxjvadmrV5gS4dqsc5G0sBbikMvJKafatrAt0xF3yV1.2dYCr5+bf5kP0CTBunVSBY+tshtRtQ78jxR9am2DvlA
All the best
Oli -
@Oli-Ullmann I can help you with this one — I'm just in the middle of debugging something else, but then I've got ya.
-
@clevername27
Oh, that's great! Thank you very much! :-) -
@Oli-Ullmann I can't load the snippet right now. Are you iterating through every parameter of every band?
-
@Oli-Ullmann In your snippet, where your code to reset the EQ?
-
@clevername27
Nothing in my code resets the EQ. Is that necessary? -
@Oli-Ullmann It's not a bug. This is happenning because the EQ is set to be 'suspendedOnSilence'.
See the little "S" over the module's level meter ?When there's no signal, the module is bypassed and the analyzer retains the last known values. that's why it seems to be 'frozen' .
(The feature/issues are discussed here : https://forum.hise.audio/topic/7400/new-feature-suspendonsilence/43)You can change this by editing this line:
bool isSuspendedOnSilence() const final override { return true; // change to false }
in
"...HISE/hi_core/hi_modules/effects/fx/CurveEq.h" // line 193
You'll have to recompile HISE afterwards.
-
@Matt_SF
Thank you very much for your answer!I can understand why the default value is “true”. On the other hand, a value of “false” would make more sense for day-to-day work. Don't you think so?
Anyway - I'll try it out. Thank you very much! :-)
-
@Oli-Ullmann It's set to 'true' by default in order to save CPU but in the case of the built-in EQ, unless you have dozen of them, I think you can indeed deactivate it :)