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

      @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
                                  • Dan KorneffD
                                    Dan Korneff @SteveRiggs
                                    last edited by

                                    @SteveRiggs said in Latency problem on FX plugins...:

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

                                    is 10ms the actual value?

                                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                                      @Christoph-Hart Adjusting the Limiter attack during playback creates some nasty audio glitching. Is this a known issue?

                                      Dan Korneff - Producer / Mixer / Audio Nerd

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

                                        @dustbro

                                        If you set your attack sliders properties like this it will work with 10ms as the min value :)

                                        Screen Shot 2019-10-23 at 14.32.25.png

                                        www.anarchyaudioworx.com

                                        www.facebook.com/groups/audioworx/

                                        1 Reply Last reply Reply Quote 2
                                        • C
                                          clumsybear
                                          last edited by

                                          Good to know, wasn’t aware of the lookahead functionality below 10ms

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

                                            What if you use Engine.setLatencySamples(Engine.getSamplesForMilliSeconds(10))?
                                            10ms attack is a big min value for a limiter...

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

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

                                            38

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.2k

                                            Posts