Forum
    • Categories
    • Register
    • Login

    Splitting incoming signal

    Scheduled Pinned Locked Moved General Questions
    14 Posts 3 Posters 256 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.
    • pcs800P
      pcs800 @ustk
      last edited by

      @ustk Thanks for that information. I have the following, which works, but there's a large latency on the chain with the pitch shifter. Is there anything that can be done to eliminate the latency?
      bc752f5d-7e0c-45a7-ae4c-dfb32003bec8-image.png

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

        @pcs800 any pitch shift algorithm will necessarily bring latency. It need to be compensated in the other chain using a delay node and a converter sample->ms
        Now how much you need to compensate for this particular pitch node I don’t know…

        Hise made me an F5 dude, browser just suffers...

        pcs800P 1 Reply Last reply Reply Quote 0
        • pcs800P
          pcs800 @ustk
          last edited by

          @ustk If I add delay to the other one, then the plugin will cause latency in the audio it's applied to in the daw. No?

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @pcs800
            last edited by

            @pcs800 ..and so you must make your plugin report its latency to the DAW...

            HISE Development for hire.
            www.channelrobot.com

            pcs800P 2 Replies Last reply Reply Quote 0
            • pcs800P
              pcs800 @Lindon
              last edited by

              @Lindon Yes I have discovered that. I don't know how to find the right latency in ms or how to get the plugin to report it. I will look.

              1 Reply Last reply Reply Quote 0
              • pcs800P
                pcs800 @Lindon
                last edited by

                @Lindon So as suggested by @ustk I have added the converter Sample>ms and it is showing 95.9ms, that's great. But how do I get the plugin to report that to the daw?

                pcs800P 1 Reply Last reply Reply Quote 0
                • pcs800P
                  pcs800 @pcs800
                  last edited by

                  @pcs800 Like this?

                  Engine.setLatencySamples(95)

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @pcs800
                    last edited by

                    @pcs800 yes

                    HISE Development for hire.
                    www.channelrobot.com

                    pcs800P 1 Reply Last reply Reply Quote 0
                    • pcs800P
                      pcs800 @Lindon
                      last edited by

                      @Lindon In the interface onIt?

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

                        @pcs800 yes, from any script I guess.
                        Be careful though, this function takes samples as parameter, not ms, so mind your conversions

                        Hise made me an F5 dude, browser just suffers...

                        pcs800P 1 Reply Last reply Reply Quote 0
                        • pcs800P
                          pcs800 @ustk
                          last edited by pcs800

                          @ustk Adding Engine.setLatencySamples(95) to interface onit, compiles without error and the plugin doesn't seem to have latency in the daw.

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @pcs800
                            last edited by Lindon

                            @pcs800 well 95 samples would make hardly any difference at all... whats the measured latency of your plugin?

                            oh hang on youve already said:

                            95.9ms, that's great. But how do I get the plugin to report that to the daw?

                            Go read what @ustk said above.....

                            HISE Development for hire.
                            www.channelrobot.com

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

                            12

                            Online

                            2.1k

                            Users

                            13.0k

                            Topics

                            113.2k

                            Posts