HISE Logo Forum
    • Categories
    • Register
    • Login

    YAPTSA - Yet another Pitch./Time stretching Algo.

    Scheduled Pinned Locked Moved General Questions
    14 Posts 6 Posters 731 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.
    • d.healeyD
      d.healey @Lindon
      last edited by

      @Lindon said in YAPTSA - Yet another Pitch./Time stretching Algo.:

      real-time you mean changing on the fly as its running right?

      Not even that. I mean being able to set a stretch value and play your instrument via MIDI without either enormous lag or stupid high CPU.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      LindonL Christoph HartC 2 Replies Last reply Reply Quote 1
      • LindonL
        Lindon @d.healey
        last edited by

        @d-healey bummer - i thought we had timestretching and pitch shifting in HISE now...

        HISE Development for hire.
        www.channelrobot.com

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

          For FX plugins, real time performance is very important too.

          Even if the quality is lower, if the delay in real time is very low and the CPU is low, I'm in.

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @d.healey
            last edited by

            @d-healey I'd rather try to find a solution for the initial CPU spike problem than put in another library into the HISE codebase - Bungee (non)-Pro sounds OKish, but the way that the voices are handled currently in HISE, it will cause the exact same CPU spike as the current signalsmith library. Also there's no information about how much the Pro license costs (just like it was with HISE for the first 8 years lol now I get why nobody is using it).

            The problem is that it has to process ~50ms of samples before the timestretcher gets some output, so I have to do this all within the first audio buffer, which causes the spike. If somebody has a smarter idea of how to solve that I'm all ears, but it has to be dynamic to be able to cope with tempo changes / modulation values.

            Maybe I'll open a github issue in the signal smith library, maybe the author has an idea how to solve that.

            A 1 Reply Last reply Reply Quote 2
            • A
              aaronventure @Christoph Hart
              last edited by

              @Christoph-Hart said in YAPTSA - Yet another Pitch./Time stretching Algo.:

              spike

              Can you just skip the first 50ms when it comes to timestretching and ease into it?

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @aaronventure
                last edited by

                @aaronventure Then we get latency

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                A 1 Reply Last reply Reply Quote 0
                • A
                  aaronventure @d.healey
                  last edited by

                  @d-healey I meant ease into the processing, i.e. do less timestretching in that initial period, or ramp it up gradually to spread the CPU load and reduce the spike.

                  For most recorded samples, ~50ms is still attack time. For percussive or faster instruments, ideally you're not messing up the transient so this could help.

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

                    @aaronventure could mess with the tempo syncing of loops but it might be worth a try. I think the latency is independent from the actual pitch factor (so that even at 1.0 it requires some preprocessing) but I check again.

                    DanHD 1 Reply Last reply Reply Quote 2
                    • DanHD
                      DanH @Christoph Hart
                      last edited by

                      @Christoph-Hart Did you make any progress with this? Was hoping to have time stretching in my next update. Currently I'm experiencing clicks at the front of a sample when playing notes and all through changing pitch with either mod wheel or modulation. Will do some more testing though.

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey
                        last edited by

                        I asked the Bungee developer about pricing for the proprietary version. It's very reasonable and I think most professional developers would have no problem with it.

                        So if it's implemented in HISE and it's like flicking a switch to select the free or proprietary algorithm I think it's a good call.

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

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

                        16

                        Online

                        1.9k

                        Users

                        12.4k

                        Topics

                        108.3k

                        Posts