HISE Logo Forum
    • Categories
    • Register
    • Login

    Latency problem on FX plugins...

    Scheduled Pinned Locked Moved Bug Reports
    25 Posts 8 Posters 3.6k 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.
    • resonantR
      resonant
      last edited by resonant

      There is a very high latency problem on exported fx plugins.

      Here is a video that shows how the latency on DynamicsFX.
      When we activate the DynamicsFX plugin (on 0:19) on a drum loop, it goes out of sync. The problem occurs even on a Simple Gain unit too. (IPP: yes)

      1 Reply Last reply Reply Quote 0
      • orangeO
        orange
        last edited by

        Is there a fix? I get the same problem too :(

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

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

          Does this happen on other hosts too? FL Studio is the only host that needs a latency compensation and it might be possible that it doesn't report it correctly there.

          I'll take a look at it, but it's not very high priority now.

          resonantR 1 Reply Last reply Reply Quote 0
          • resonantR
            resonant @Christoph Hart
            last edited by resonant

            Ok @christoph-hart
            I've tried a couple of hosts; and the same latency problem appears in Reaper, Studio One & Cubase too...

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

              Ah ok then there’s definitely something wrong with the latency compensation. This only happens with FX plugins, yes?

              1 Reply Last reply Reply Quote 0
              • resonantR
                resonant
                last edited by

                @christoph-hart
                I couldn't use an exported Hise instrument because it asks sample file locations. But I thinkit's only on FXes...

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

                  I removed the obligatory sample dialogue a few weeks ago. Please make sure that problem persists on the most recent build.

                  orangeO 1 Reply Last reply Reply Quote 0
                  • staiffS
                    staiff
                    last edited by staiff

                    For FX plugin don't forget to implement the usersettings (settingsButton.js) parameters because it works perfectly with me (reverb, delay, dynamics, etc. ... all compiled as FX plugins) because the most problem is the Buffer size and samplerate.

                    I remember a rompler made with Rackafx who only works at 44100. my friend used Ableton live with 48000 and had a semi tone up bug for the notes (played C and eared C#). i explained him to setup Live in 44100 and all was fixed.

                    maybe the same thing for your DAWs and your FX plugins from Hise.

                    Put the settings widget in your HISE plugins and take a look at your DAW parameter.

                    Sure it will fix it, because here not any latence problem with FX plugins.

                    EDIT: and yes, the last HISE commit fixed the "load samples" problem, i asked it to Christoph on one of my last last threads and he did (fixed) it ;)

                    Excuse me i'm French.

                    1 Reply Last reply Reply Quote 1
                    • resonantR
                      resonant
                      last edited by resonant

                      @christoph-hart I've tested latest build and unfortunately problem persists :(

                      1 Reply Last reply Reply Quote 0
                      • orangeO
                        orange @Christoph Hart
                        last edited by

                        Is it ok now? Did you fix this latency problem? @christoph-hart

                        develop Branch / XCode 13.1
                        macOS Monterey / M1 Max

                        1 Reply Last reply Reply Quote 0
                        • resonantR
                          resonant
                          last edited by resonant

                          There is an another problem too; that I've posted before, for merged output on multi channel projects.
                          Thread & Video is here: https://forum.hise.audio/topic/616/merging-all-distributed-outputs-master-gain-problem-on-fx-plugins

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

                            I have checked this with the most recent DynamicFX example and there is no latency issue on FL Studio for me (FL Studio 12 64bit). There is some latency (512 samples) which is added for the plugin, but this is because FL Studio is constantly changing buffer sizes and I don't feel like hacking around the entire codebase just to make it work for this particular DAW.

                            resonantR 1 Reply Last reply Reply Quote 0
                            • resonantR
                              resonant @Christoph Hart
                              last edited by resonant

                              @christoph-hart said in Latency problem on FX plugins...:

                              I have checked this with the most recent DynamicFX example and there is no latency issue on FL Studio for me (FL Studio 12 64bit). There is some latency (512 samples) which is added for the plugin, but this is because FL Studio is constantly changing buffer sizes and I don't feel like hacking around the entire codebase just to make it work for this particular DAW.

                              It's not on FL studio only, I've used it on Reaper and Studio One and it does the same latency.

                              • So, if this issue doesn't apper on your system; what can cause that, what do you suggest? I'm using Visual Studio 2015. And should I clean Appdata folders before building Hise?

                              • What about the multi out merging problem? Routing matrix doesn't merge channels. It works on Hise but not working on host (Reaper, Studio One, Cubase...)

                              Best regards...

                              1 Reply Last reply Reply Quote 0
                              • staiffS
                                staiff
                                last edited by

                                just tried a 10 FX rack (reverb, chorus, filter, saturator, etc. ...) in 32 and 64 bits VST WIN in Studio One, reaper and cakewalk/bandlab and all working well. No latency.

                                made with the latest version of HISE in date.

                                i use ASIO (behringer WDM audio) and ASIO4all.

                                Excuse me i'm French.

                                resonantR 1 Reply Last reply Reply Quote 0
                                • resonantR
                                  resonant @staiff
                                  last edited by

                                  @staiff It was doing that on Dynamics FX. Did you tried it?
                                  Tweaking attack & release knobs also weirdly changes latency. I've downloaded ASIO SDK again from Steinberg and now the latency is very low.

                                  1 Reply Last reply Reply Quote 0
                                  • staiffS
                                    staiff
                                    last edited by

                                    yes tried the dynamic.

                                    i remember with my old PC all worked fine since years. but one day adding FX in studio one caused latency. i didn't change anything. never found why. never found what caused this problem.

                                    now i've a brand new PC so fresh installs, and all work fine with no latency with the same ASIO, DAW, VST and external soundcard.

                                    so i don't know. HISE plugs is not the problem.
                                    It's inside your config, but really don't know why/where (like me before).

                                    Excuse me i'm French.

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

                                      Ah now I understand. The dynamics module has a "lookahead" mode when you turn the limiter attack below 10ms (or something like that). In this case it needs to analyse the future signal hence introduce latency.

                                      resonantR Dan KorneffD 2 Replies Last reply Reply Quote 1
                                      • resonantR
                                        resonant @Christoph Hart
                                        last edited by

                                        @christoph-hart Yes you are right, probably it is the reason.

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

                                          @Christoph-Hart said in Latency problem on FX plugins...:

                                          The dynamics module has a "lookahead" mode when you turn the limiter attack below 10ms (or something like that). In this case it needs to analyse the future signal hence introduce latency.

                                          I'm just noticing this now. Is there a way to compensate for the "look ahead" latency?

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          SteveRiggsS 1 Reply Last reply Reply Quote 0
                                          • SteveRiggsS
                                            SteveRiggs @Dan Korneff
                                            last edited by

                                            @dustbro I just set the min value in properties to 10ms so it never goes below

                                            www.anarchyaudioworx.com

                                            www.facebook.com/groups/audioworx/

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

                                            31

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts