HISE Logo Forum
    • Categories
    • Register
    • Login

    Audio glitches on IRs (Hise 2.0)

    Scheduled Pinned Locked Moved Bug Reports
    33 Posts 3 Posters 2.1k 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.
    • hisefiloH
      hisefilo
      last edited by

      Got some audio glitches when using stereo IRs on Hise 2.0
      Opened the same project on Hise 1.5 and works fine, Any idea?
      I know Hise 2.0 handles convolution more efficiently, so I want to use 2.0 obviously :)

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

        Send me the IR then I'll take a look. Did you try switching off the background rendering?

        1 Reply Last reply Reply Quote 0
        • hisefiloH
          hisefilo
          last edited by

          IR-4.wav
          Don't know how to turn off background rendering!

          hisefiloH 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            There‘s a button on the convolution module.

            hisefiloH 3 Replies Last reply Reply Quote 0
            • hisefiloH
              hisefilo @Christoph Hart
              last edited by

              @Christoph-Hart Oh, yes. Tried that! same results. trying to record a wav to show you.
              If you cant hear it, use an EQ on high freqs

              1 Reply Last reply Reply Quote 0
              • hisefiloH
                hisefilo @Christoph Hart
                last edited by

                @Christoph-Hart this is it! test1.mp3

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

                  What buffer size / samplerate are you using? Sounds like a buffer mismatch.

                  hisefiloH 1 Reply Last reply Reply Quote 0
                  • hisefiloH
                    hisefilo @Christoph Hart
                    last edited by hisefilo

                    @Christoph-Hart Screen Shot 2019-05-02 at 7.02.34 PM.png

                    Loopback or Core audio output, same thing

                    1 Reply Last reply Reply Quote 0
                    • hisefiloH
                      hisefilo @Christoph Hart
                      last edited by

                      @Christoph-Hart is this a hard thing to fix? Let me know. I can continue on 1.5 for projects using stereo IRs but need to translate scripts to old format

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

                        Can you send me the IR?

                        1 Reply Last reply Reply Quote 0
                        • hisefiloH
                          hisefilo @hisefilo
                          last edited by hisefilo

                          It'sposted above!!
                          https://forum.hise.audio/assets/uploads/files/1556830661843-ir-4.wav

                          1 Reply Last reply Reply Quote 0
                          • Dominik MayerD
                            Dominik Mayer
                            last edited by

                            You can hear it, with a SinusGenerator with this IR:
                            ir-4.wav when playing a very low note.. think has something to do with shorter looped IRs.

                            Question: When you shorten the IR to a certain minimum size, you can hear nothing. Is that the default behaviour? + after playing around with the knobs i also somehow got a freeze..
                            gd

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

                              Ooops, didn't see the link.

                              I can reproduce the issue (nice tip with the lower notes, the artifacts appear just on the bottom 4 keys of my 88 keys) and it has something to do with the IPP FFT implementation. Switching to the slower fallback FFT (Ooura) the artifacts are gone.

                              I'll make a preprocessor directive that enables you to force usage of the slower FFT - you lose about 10% - 20% performance vs. IPP, but for such a small IR it shouldn't have a measurable impact, also your hundred thousand sine waves will eat up more CPU anyway :)

                              hisefiloH 2 Replies Last reply Reply Quote 1
                              • hisefiloH
                                hisefilo @Christoph Hart
                                last edited by

                                @Christoph-Hart thanks man!!! Really appreciate it. Will report cpu changes.

                                1 Reply Last reply Reply Quote 0
                                • hisefiloH
                                  hisefilo @Christoph Hart
                                  last edited by

                                  @Christoph-Hart have you seen Yamaha Reface??? Is going spectral modeling also. (Im not the only crazy dude)

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

                                    Nope, but Reface is a weird name, like it will be a movie starring Nicholas Cage :)

                                    Anyway, this is the commit that adds the fix:

                                    Link Preview Image
                                    - added parameter to switch the FFT engine for the convolution reverb… · christophhart/HISE@4ab1ed0

                                    The open source framework for sample based instruments - - added parameter to switch the FFT engine for the convolution reverb… · christophhart/HISE@4ab1ed0

                                    favicon

                                    GitHub (github.com)

                                    and here is an example snippet:

                                    HiseSnippet 1217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x0adD1gQyOQ+8ZtGNIlpv3DrhwhFKer37xWuqcJccL0TNuZ7JmJK0qbtXpyrSIYM6VlY6Tr+xPuKc1xFmKw95J+3e7K6xBkbpx77rKr7+EyqutXJ+t1hyO2s.Im+aaWxEbEHTa0rheKzW8qOBzEgHj8P1J7Jjr6EDFyif8.wX7Ed4pZmyqdhvXcdb7wT6hsAiU3qe7GLQAT+76WeE3CbZgy3yXsxsG+vu0rMMHjIFmWm42xU.hwm+gWuucqO4X7fUQG6MQwhNtszKN.mGGcLScqsOgKE37lsNkNkDX7XaKi8Azu07uc9YBgKkgXtRoWHy.zQ3uP9S+xsUub5HIljDi2mhCAMG+AwAt3iD7.rZRH.dj4HWybKS555KXjKH7SV723u4BaXVaMWXiEBek4LBndJ4IdoWIaZFd8DDL1JRR6UwO7GW6zfj7XCzN65aUGSw9rS77Lsk2pAgTtM2YEr4tqfMauB17AqfMe3JXyGsB17wmqMlutXmXsLH8pDDnemjmHYY0QXdiaxvHx+fGCCO.
                                    

                                    I didn't want to expose this rather exotic parameter to a UI element, so in order to change it, you have to go into scripting.

                                    BTW if you're trying to compile the current master branch, don't bother if it doesn't work. I've been migrating to the latest JUCE version for VST3 support and this breaks many things (I haven't checked macOS yet, but will later today). Now why I decided to do this on the master branch is another question.

                                    hisefiloH 1 Reply Last reply Reply Quote 0
                                    • hisefiloH
                                      hisefilo @Christoph Hart
                                      last edited by

                                      @Christoph-Hart wow thanks!!! You just pushed to master for me :) that's an honor!!!!

                                      Sadly, as you said, compilation failed :(

                                      Can I copy paste this fix in any way to the previous commit? I compiled yesterday and works like a charm!

                                      Screen Shot 2019-05-03 at 12.19.22 PM.png

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

                                        Pull again, I've just committed the fixes for macOS - but you need to rebuild everything (even resave the HISE Projucer file with the newest Projucer executable).

                                        hisefiloH 1 Reply Last reply Reply Quote 0
                                        • hisefiloH
                                          hisefilo @Christoph Hart
                                          last edited by

                                          @Christoph-Hart Same thing. Also Projucer app bundled is not opening, I just used 5.4.3 build 22 Mar 2019

                                          1. pulled changes
                                          2. opened project with projucer 5.4.3
                                          3. Save and open IDE
                                          4. Build Failed

                                          Screen Shot 2019-05-03 at 1.16.45 PM.png

                                          hisefiloH 1 Reply Last reply Reply Quote 0
                                          • hisefiloH
                                            hisefilo @hisefilo
                                            last edited by

                                            @Christoph-Hart WAIT!!! Just trashed the git folder and downloaded a fresh .zip and is compiling.... updating in minutes

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

                                            51

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts