Forum
    • Categories
    • Register
    • Login

    [bug] Filter makes noise all by itself

    Scheduled Pinned Locked Moved Bug Reports
    17 Posts 5 Posters 1.0k 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.
    • Matt_SFM
      Matt_SF @David 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

      David HealeyD 1 Reply Last reply Reply Quote 1
      • David HealeyD
        David 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.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - 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)

          David HealeyD 1 Reply Last reply Reply Quote 1
          • David HealeyD
            David Healey @Frankbeat
            last edited by

            @Frankbeat Thanks for confirming.

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            FrankbeatF 1 Reply Last reply Reply Quote 0
            • FrankbeatF
              Frankbeat @David 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
              • David HealeyD
                David 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.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @David Healey
                  last edited by

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

                  Hise made me an F5 dude, browser just suffers...

                  David HealeyD 1 Reply Last reply Reply Quote 0
                  • David HealeyD
                    David Healey @ustk
                    last edited by

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

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    ustkU 3 Replies Last reply Reply Quote 0
                    • ustkU
                      ustk @David 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 🤷♂

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

                      Hise made me an F5 dude, browser just suffers...

                      1 Reply Last reply Reply Quote 1
                      • ustkU
                        ustk @David 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...

                        Hise made me an F5 dude, browser just suffers...

                        1 Reply Last reply Reply Quote 1
                        • ustkU
                          ustk @David 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?

                          Hise made me an F5 dude, browser just suffers...

                          David HealeyD 1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @ustk
                            last edited by David Healey

                            @ustk

                            What do you think?

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

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            Christoph HartC 1 Reply Last reply Reply Quote 1
                            • Christoph HartC
                              Christoph Hart @David 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! :)

                                Hise made me an F5 dude, browser just suffers...

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

                                  @Christoph-Hart @d-healey Fixed and pushed

                                  Hise made me an F5 dude, browser just suffers...

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

                                  72

                                  Online

                                  2.1k

                                  Users

                                  13.0k

                                  Topics

                                  112.7k

                                  Posts