HISE Logo Forum
    • Categories
    • Register
    • Login

    Timestretching/Pitchshifting

    Scheduled Pinned Locked Moved General Questions
    125 Posts 14 Posters 11.5k 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.
    • L
      Lumi283 @d.healey
      last edited by

      @d-healey I tried, but it's not working... I tried with Tonality = 0.01, it changes the pitch but impossible to define which one.

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

        @Lumi283 I just looked at the docs and I don't think the tonality parameter does what you want - https://docs.hise.audio/hise-modules/sound-generators/list/streamingsampler.html#timestretching

        Looks like you can just use any standard pitch modulator as long as timestretching is enabled for the sampler

        If the timestretching is enabled, any pitch modulation (using the modulation or root note detune) will not change the pitch using resampling but with the pitch transposition of the timestretch algorithm which retains the duration of the sample.

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

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

          @Christoph-Hart Did you say there was a way to get a stretch ratio below 50%?

          Oh never mind, I can just set it in the function and it works.

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

          CasmatC 1 Reply Last reply Reply Quote 0
          • CasmatC
            Casmat @d.healey
            last edited by

            @d-healey Can't get timestretch working properly on my end, I have three samplers and setting 2x timevariant timestretch to all three causes a lot of audio issues and clips, keeping only one sampler activated works better, but theres still audio issues, doesnt seem to be really cpu since my task manager cpu chart shows some resources left... the video shows the issues:

            timestretchissue.mp4

            In the vid, the first part is showing the timestretch enabled on all three samplers with half and double speed stretches. Then I turn off the first two samplers so that only one is on half speed stretching and it still makes some audio issues. Any ideas?

            i make music

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

              @Casmat I can't assess what's going on behind the scenes in that video. Make a test project, add 3 samples, load some samples, play around with the settings in the sampler module UI. See what result you get. If it works without issue then the problem is caused by something else in your main project.

              Are you using IPP?

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

              CasmatC 1 Reply Last reply Reply Quote 0
              • CasmatC
                Casmat @d.healey
                last edited by

                @d-healey yup, test project does the same, ipp is enabled and just recompiled today..

                i make music

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

                  @Casmat Send me the test project (with some of the samples you're using if possible)

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

                  CasmatC 1 Reply Last reply Reply Quote 0
                  • CasmatC
                    Casmat @d.healey
                    last edited by

                    @d-healey https://we.tl/t-bDHJ1vv0Jg Try pressing down chords of 3/4/5

                    i make music

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

                      @Casmat you can‘t play 10 voices of timestretched sounds. One voice is about 10-15% depending on your system.

                      CasmatC d.healeyD 2 Replies Last reply Reply Quote 1
                      • d.healeyD
                        d.healey
                        last edited by

                        I'm not noticing an issue

                        https://filedn.eu/larUQgXOwVjQdvpPaD96lHH/2023-08-28 12-09-59.mkv

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

                        1 Reply Last reply Reply Quote 0
                        • CasmatC
                          Casmat @Christoph Hart
                          last edited by

                          @Christoph-Hart @d-healey so i guess its time to get a new computer:grinning_face_with_sweat:

                          i make music

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

                            @Christoph-Hart Do you think there is anything that can be done to improve the CPU usage, especially when in low latency mode? At the moment I think the applications for the time stretching in virtual instruments are quite limited because of these two factors.

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

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

                              @d-healey no it‘s a pretty complex algorithm. For me it‘s about as performant as the complex pro algorithm in Ableton.

                              You might add a HQ button that toggles the low latency that people can use when exporting to bring down the spikes a bit.

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

                                @Christoph-Hart That's a good idea! How is the CPU compared to rubberband? I can't remember what you said before.

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

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

                                  @d-healey way better (2x as good)

                                  CasmatC 1 Reply Last reply Reply Quote 1
                                  • CasmatC
                                    Casmat @Christoph Hart
                                    last edited by

                                    @Christoph-Hart @d-healey just tried it on a 2013 Mac Pro (2.7ghz 12 core intel Xeon E5, with 32 gb ram) and the glitches still occur, could this be a compatibility issue or something?

                                    Thanks!

                                    i make music

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

                                      @Casmat You're probably just maxing out the CPU, what does the CPU meter in HISE show?

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

                                      CasmatC 1 Reply Last reply Reply Quote 0
                                      • CasmatC
                                        Casmat @d.healey
                                        last edited by

                                        @d-healey where can I find this? I thought I had found it somewhere (like the CPU/RAM/VOICES info text on some hise vsts) but I can’t find it anymore

                                        i make music

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

                                          @Casmat Click the little keyboard icon in the top right

                                          44a436a4-39fe-42ca-b7d3-c86fd8a20a25-image.png

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

                                          CasmatC 1 Reply Last reply Reply Quote 0
                                          • CasmatC
                                            Casmat @d.healey
                                            last edited by

                                            @d-healey ok, just ran it through and a single sampler in timevariant mode with ratio at 100% gives 40% cpu per voice. A single note with all three samplers wit the same settings goes above 100%. And with timestretch disabled altogether on all three samplers, it sits at a happy 10% with multiple notes pressed. Something’s up…

                                            i make music

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

                                            9

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts