Forum
    • Categories
    • Register
    • Login

    HISE pitch shift node introduces 100-200ms delay

    Scheduled Pinned Locked Moved General Questions
    8 Posts 4 Posters 111 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.
    • StraticahS
      Straticah
      last edited by

      Hey there!

      Maybe this is normal but i am using the HISE pitch shift node in a musical context.

      31585046-95f0-47e6-9baf-cda2abc46156-image.png

      As you can see it introduces a delay shifting the whole beat.

      Any alternatives or external C++ ones that are worth checking out?

      7e6ce21c-b542-47f6-82f9-0602f764947a-image.png

      creating user interfaces: www.vst-design.com
      founder @prototype.audio https://www.prototype.audio/

      dannytaurusD HISEnbergH resonantR 3 Replies Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @Straticah
        last edited by dannytaurus

        @Straticah Pitch shifting causes latency. Have you tried Tools > Check latency of signal chain?

        Also, this post: https://forum.hise.audio/topic/13654/latency-issuewith-fx-pitch_shift?_=1771883682066

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        1 Reply Last reply Reply Quote 2
        • HISEnbergH
          HISEnberg @Straticah
          last edited by HISEnberg

          @Straticah ya measure the latency introduced by the pitch node, then delay the dry signal by the same amount of samples. Use Engine.getLatencyInSamples to find it, then use Engine.seLatencyInSamples. This reports the Latency introduced to your DAW and the DAW should adjust to compensate.

          Sonic Architect && Software Mercenary

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

            @Straticah A dynamic latency based on the pitch shift value. This has been measured before, so it will be useful for you:

            https://forum.hise.audio/topic/14160/latency-compensation-not-being-triggered-in-daw/14?_=1771933207445

            1 Reply Last reply Reply Quote 2
            • dannytaurusD
              dannytaurus @HISEnberg
              last edited by dannytaurus

              @HISEnberg said in HISE pitch shift node introduces 100-200ms delay:

              Use Engine.getLatencyInSamples to find it, then use Engine.seLatencyInSamples.

              It's Engine.getLatencySamples and Engine.setLatencySamples (no In).

              And getLatencySamples doesn't calculate the latency. It just returns whatever you set with setLatencySamples.

              Use "Tools > Check latency of signal chain" to calculate the actual latency of the plugin.

              @resonant Ah yes, that was the post I was looking for! 👍

              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

              HISEnbergH 1 Reply Last reply Reply Quote 1
              • HISEnbergH
                HISEnberg @dannytaurus
                last edited by

                @dannytaurus thanks for the correction!

                Sonic Architect && Software Mercenary

                StraticahS 1 Reply Last reply Reply Quote 1
                • StraticahS
                  Straticah @HISEnberg
                  last edited by

                  @HISEnberg @dannytaurus @resonant thanks guys!

                  I am actually only using 2 settings one for 1 oct aone for 2 octaves.

                  So the delay should be easy to detect.

                  Is it possible to tell the DAW we have x amount of delay and compensate for it?

                  creating user interfaces: www.vst-design.com
                  founder @prototype.audio https://www.prototype.audio/

                  HISEnbergH 1 Reply Last reply Reply Quote 0
                  • HISEnbergH
                    HISEnberg @Straticah
                    last edited by

                    @Straticah yup checkout @resonant ’s link, someone already calculated the latency for you. So you just need an if/else statement to set the latency based on the octave amount.

                    Sonic Architect && Software Mercenary

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

                    23

                    Online

                    2.2k

                    Users

                    13.4k

                    Topics

                    117.0k

                    Posts