HISE Logo Forum
    • Categories
    • Register
    • Login

    Convolution gain louder at higher sample rates

    Scheduled Pinned Locked Moved Bug Reports
    samplerateconvolution
    37 Posts 7 Posters 3.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.
    • lalalandsynthL
      lalalandsynth @Christoph Hart
      last edited by

      @christoph-hart I guess it would be helpful to have an approximation at least, I guess not many users are switching sample rates mid project?

      https://lalalandaudio.com/

      https://lalalandsynth.com/

      https://www.facebook.com/lalalandsynth

      https://www.facebook.com/lalalandsynth

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

        Or getting a tool that tests different samplerates for an impulse and spits out a compensation table (why not an API we can directly use in script? but execution time might be a problem, or not with the new background thread...)

        As @Christoph-Hart said it also depends on the input, but this is a lesser problem since users need to compensate for the signal they put in (as it's always been the case in any audio processing)

        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

          What about providing several impulses at different sample rates and loading the one based on the "current" sample rate?

          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 I'm not sure this erases the gain problem, because you have to resample them somewhere anyway, but I might be mistaken...

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

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

              Here's an interesting consideration in the last post:

              Just a moment...

              favicon

              (dsp.stackexchange.com)

              My opinion would be to record them at different samplerates from the start, so you never resample, and load them as @d-healey mentioned
              Although this might not fix the fact that regarding the frequency domain, you'll have additional energy in the upper frequencies at higher SR and so have to deal with (a filter might be enough though)

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

              1 Reply Last reply Reply Quote 2
              • ustkU
                ustk
                last edited by

                Could someone provide me with an IR at two different SR for which you approximately know the gain difference?
                I'd like to make some tests...

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

                1 Reply Last reply Reply Quote 0
                • bendursoB
                  bendurso
                  last edited by

                  This is from two years ago, was there any change in Hise? I have this same problem.

                  Is it possible to decrease the volume of the Convolution Reverb samples with some configuration? So I could decrease the volume of the samples according to the sample rate.

                  Dan KorneffD 1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @bendurso
                    last edited by

                    @bendurso I ended up doing some calculations for the gain differences and threw it in a script.

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    bendursoB 1 Reply Last reply Reply Quote 0
                    • bendursoB
                      bendurso @Dan Korneff
                      last edited by

                      @Dan-Korneff said in Convolution gain louder at higher sample rates:

                      I ended up doing some calculations for the gain differences and threw it in a script.

                      Did you put a "Simple Gain" and modify it based on the currentSampleRate?

                      Because only the Wet signal is increased by the sample rate change. The Dry stays the same, and if I put a Simple Gain it will also impact the Dry signal.

                      Dan KorneffD 1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @bendurso
                        last edited by

                        @bendurso I did. I leave the convolution node set to full wet and mange the blend separately.

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        bendursoB 1 Reply Last reply Reply Quote 0
                        • bendursoB
                          bendurso @Dan Korneff
                          last edited by

                          @Dan-Korneff Cool thanks, I was learning scriptnode these days and I was able to do that. But how did you monitor the Sample Rate changes? In your last code post you were asking about that.

                          Making a timer to monitor the current sample rate would be another option to constantly output the values. Wouldn't there be any problem with this?

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

                          35

                          Online

                          1.8k

                          Users

                          12.0k

                          Topics

                          104.5k

                          Posts