HISE Logo Forum
    • Categories
    • Register
    • Login

    [bug] Filter makes noise all by itself

    Scheduled Pinned Locked Moved Bug Reports
    17 Posts 5 Posters 504 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.
    • d.healeyD
      d.healey
      last edited by d.healey

      This is one of the strangest bugs I've found. A filter and nothing else, yet there is noise!

      Open the filter, and turn the "Default Value" knob of the CC mod to 0. Do not wear headphones and be ready to mute your speakers (you won't see anything on HISE's meters).

      1e92de18-4795-4ed1-9d66-d9e3f68c5456-image.png

      HiseSnippet 865.3oc6W0sSSDDEdFZGBshDgXLw61KgDjzpHZhWXo+YZTfhEPuiLL6T5Dlcl0cmsZiwDuz2AeY3cva02AeCzY1coaqTKskhhItWzzye69Mmy24LyT2SRn99RO.Lydcbo.37nFcDpVkZgYBPsx.3Bnsv9JpmUjphcbw99Ta.Dl5YFEvLoAgOe+oEwbrfPSTA.GHYD5KXNLUh15EdNiyqhso6wb5w60KTiHEkjbYfFOoP4.tXxI3ioaiMtMCB.mshMSI8ZnvJpu1mhR6NMZIeqHx+CX9ri3TiPdPC8KJRMnTKF2t9YqUe..hpmrxSEsxuMZKlMqq9jLvsBMXkDQu4.3LCCR4GCHA6ARoifzhnFDOlqJwhAO2.USnKHMw5TcuPIxW.7TTIo1AgZMG7IzpdZgtAr7F4xspk9mUdRy.AQwjBKoXaohtiX4Ux99rYx9grV+polMGnMymwSx4TuAZ1Tc8FVfKKBbNh5spUaLOf10Q8xu+b5riVNkDsp6wQonlfo1wkFKWUxsM4Jy+OeE.Dm1z+a+ZkwJronDqS6mK0SwLvAVl1VypiJQYPko9mnjtZd84peZlizNfiU8SmL8MwFz4i9pglBkvmo5zae0XvwxMTN1nBwEQ0YJRqAiwYF.F0YpqBLF2YdSTklMoDUB.Sip95IsMbz+7y8aFINeXClVh5keZLPzcjGHBSMsF.l9uv.voC47+8OWm6e5aar3yTrDptj2wskTvHUYb8VQgfHCJRXX8P.PUO5aBnBRR15Seovt8Vd0o4dZZtUgcCv7jrq0297W2rHyUxwdW1L+XzSML5wcPcWTVWFdb5QqHcA65MxbZSkw5JpuK+XSphFJkbDjPPtTzjpDs4uXTtuOcObHLR3D0Ds061aBJQWxKc6visz01GeUgFNRopU+SuYEJSahC3pCLmtoq9SOrvTKuLp0t6hha.rLDu+c3bKf18Z.XeoLPwDGuEV4wdm9pC5xeC8NxDpFnBAkq+PH3LFFRjbNirAPMnB6PgenehMl2HCiMl+Li+Q9FNXhm7PRDM1zUMWnF85VDdAqL5a5oksxCZGwXQnbqkC3n6nNjPLaZbOc9Yvwb+IHlGLAwr9DDyCmfX1XBh4QSPLOdnwXFlsYfR5Dw+0JpWI7hIPXEgYlUXq.3mZIfM5A
      

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 1
      • d.healeyD
        d.healey
        last edited by

        Anyone able to confirm this?

        The only workaround I've found is to set the intensity to 0.99 instead of 1.00. Of course you lose a tiny bit of gain reduction but it's better than having your ears blown out.

        @Christoph-Hart This is a big problem with MPE modulators because the user can set the intensity back to 1.00.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Matt_SFM 1 Reply Last reply Reply Quote 0
        • Matt_SFM
          Matt_SF @d.healey
          last edited by

          @d-healey Strange. I got nothing here : no crazy sound, everything works fine.
          Tested on Mac & PC, both Apr. 17 builds...
          Anyone else ?

          Develop branch
          Win10 & VS17 / Ventura & Xcode 14. 3

          d.healeyD 1 Reply Last reply Reply Quote 1
          • d.healeyD
            d.healey @Matt_SF
            last edited by

            @Matt_SF Ah might be a Linux thing then. I tested on 2 distros and both have the issue. I just tested on Windows and no problem there.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            1 Reply Last reply Reply Quote 0
            • FrankbeatF
              Frankbeat
              last edited by

              Tested on MacOs 10.12.6, HISE develop ’23, the noise (saw tooth to be exact) is triggered when the knob goes to zero.

              Using HISE from the develop branch (Feb '23)

              d.healeyD 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @Frankbeat
                last edited by

                @Frankbeat Thanks for confirming.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                FrankbeatF 1 Reply Last reply Reply Quote 0
                • FrankbeatF
                  Frankbeat @d.healey
                  last edited by

                  @d-healey You're welcome! Now I had the chance to do a little for you finally :-D

                  Using HISE from the develop branch (Feb '23)

                  1 Reply Last reply Reply Quote 1
                  • d.healeyD
                    d.healey
                    last edited by

                    @Christoph-Hart Any chance of getting a fix for this? I just had a user report the issue on a Windows system.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    ustkU 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @d.healey
                      last edited by

                      @d-healey Does it happen with all filter types or just some of them?

                      Can't help pressing F5 in the forum...

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @ustk
                        last edited by

                        @ustk I just tested with the snippet from my first post and it only happens with the Peak EQ

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        ustkU 3 Replies Last reply Reply Quote 0
                        • ustkU
                          ustk @d.healey
                          last edited by ustk

                          @d-healey The filter coefficients are exploding which puts the filter in an unstable state (auto-oscillation)

                          The value seems to be linear instead of log (which should be the case for the Gain), this might be why the filter explodes at 0, but it's hard to confirm.

                          Have you tried to recompile using this pre-proc HISE_USE_SVF_FOR_CURVE_EQ ?
                          Though I don't know if it impacts the Filter Peak EQ, it might only be for the Parametric EQ module :man_shrugging:

                          EDIT: Apparently it is only used in the Parametric EQ to replace the biquad with a state variable filter...

                          Can't help pressing F5 in the forum...

                          1 Reply Last reply Reply Quote 1
                          • ustkU
                            ustk @d.healey
                            last edited by

                            @d-healey Confirmed, 0 creates a gain to -100dB which makes the filter unstable. I found where it happens, now it's a matter of finding the right conversion...

                            Can't help pressing F5 in the forum...

                            1 Reply Last reply Reply Quote 1
                            • ustkU
                              ustk @d.healey
                              last edited by ustk

                              @d-healey Alright I got it to work.
                              Now the question is, what is the range we want?
                              With the fix, it applies a -18dB to 0dB gain (cc val 0 to 127)
                              meaning that with these Gain values we get the associated modulation result below:

                              • Gain set to 0 -> cc val 0 to 127 -> -18dB to 0dB
                              • Gain set to +18 -> cc val 0 to 127 -> 0dB to +18dB
                              • Gain set to -18 -> cc val 0 to 127 -> -36dB to -18dB

                              So I wonder if CC val 64 shouldn't be the middle value instead, so the range becomes

                              • Gain set to 0 -> cc val 0 to 127 -> -18dB to18dB
                              • Gain set to +18 -> cc val 0 to 127 -> 0dB to +36dB
                              • Gain set to -18 -> cc val 0 to 127 -> -36dB to 0dB

                              So the modulation always adds -18 to 18 to the value the Gain is already set to, a bipolar-like modulation but around 64...
                              What do you think?

                              Can't help pressing F5 in the forum...

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @ustk
                                last edited by d.healey

                                @ustk

                                What do you think?

                                I think we should get @Christoph-Hart's opinion

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                Christoph HartC 1 Reply Last reply Reply Quote 1
                                • Christoph HartC
                                  Christoph Hart @d.healey
                                  last edited by

                                  The best option here (which I thought it was already) is that it applies the gain modulation as simple multiplication on the dB value - so if you have set it to +8 dB, the modulation goes from 0 to +8 and if you set it to -12dB, it goes from 0 to -12dB with an inverted curve (so that a modValue == 0 still means 0dB).

                                  I think I've never used the gain modulation on a filter...

                                  ustkU 2 Replies Last reply Reply Quote 3
                                  • ustkU
                                    ustk @Christoph Hart
                                    last edited by

                                    @Christoph-Hart Alright, trying this method! :)

                                    Can't help pressing F5 in the forum...

                                    1 Reply Last reply Reply Quote 1
                                    • ustkU
                                      ustk @Christoph Hart
                                      last edited by

                                      @Christoph-Hart @d-healey Fixed and pushed

                                      Can't help pressing F5 in the forum...

                                      1 Reply Last reply Reply Quote 1
                                      • bendursoB bendurso referenced this topic on
                                      • First post
                                        Last post

                                      21

                                      Online

                                      1.8k

                                      Users

                                      12.0k

                                      Topics

                                      104.5k

                                      Posts