HISE Logo Forum
    • Categories
    • Register
    • Login

    Warping Sampler

    Scheduled Pinned Locked Moved Feature Requests
    35 Posts 13 Posters 2.7k 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.
    • Casey KolbC
      Casey Kolb @Christoph Hart
      last edited by Casey Kolb

      @Christoph-Hart :loudly_crying_face: I'm sure it's a gargantuan task (but would be so awesome!)

      We might have one of our JUCE devs add this for us. Maybe if you give us some guidance we can add it in a few months and merge into the public master repo later this year. I'm sure there are complications regarding which time stretching algorithm to use and how to weave it into the sampler component.

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

      d.healeyD trillbillyT 2 Replies Last reply Reply Quote 1
      • d.healeyD
        d.healey @Casey Kolb
        last edited by

        @Casey-Kolb said in Warping Sampler:

        which time stretching algorithm to use

        I'm guessing that Rubberband is the only one that is both decent quality and suitable for HISE in terms of licensing.

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

        KimiAK 1 Reply Last reply Reply Quote 2
        • trillbillyT
          trillbilly @Casey Kolb
          last edited by

          @Casey-Kolb Is this something you continued to work on?

          1 Reply Last reply Reply Quote 0
          • KimiAK
            KimiA @d.healey
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              The Faust library has a realtime pitch-shifter, does anyone know if it has any other time-stretchy stuff? If it does, it's probably best to wait for the faust update before diving headfirst into trying to implement another 3rd party library

              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @A Former User
                last edited by

                @iamlamprey No I don‘t think that Faust will be helpful here. Rubberband is the way to go for now.

                KimiAK 1 Reply Last reply Reply Quote 1
                • KimiAK
                  KimiA @Christoph Hart
                  last edited by

                  @Christoph-Hart Would we have to implement Rubber band in the additional source code folder in our projects or would we have to code it into the HISE source code and re-build it?

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

                    @KimiA I'll integrate it at some point in the future into HISE, but if you want to use it now, the easiest way would be to create a ThirdParty node, put the Rubberband code into DspNetworks/ThirdParty/src and write a custom file player node that uses the Rubberband API for pitch changes. Then you can export the dll and you can develop the C++ node without having to recompile HISE as it will be loaded as dll like compiled DSPNetworks.

                    KimiAK ? Adam_GA 3 Replies Last reply Reply Quote 4
                    • KimiAK
                      KimiA @Christoph Hart
                      last edited by

                      @Christoph-Hart Sounds great! I'll give it a shot.

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

                        @KimiA Let me know how it goes.

                        You can take a look at how Tracktion Engine integrates Rubberband for reference.

                        KimiAK Casey KolbC 2 Replies Last reply Reply Quote 1
                        • KimiAK
                          KimiA @Christoph Hart
                          last edited by

                          @Christoph-Hart It's a little confusing to wrap my head around but it's starting to make sense!

                          1 Reply Last reply Reply Quote 0
                          • Casey KolbC
                            Casey Kolb @Christoph Hart
                            last edited by Casey Kolb

                            @Christoph-Hart Thoughts on Elastique? I think we'd prefer that.

                            Casey Kolb
                            Founder & CEO of Lunacy Audio
                            Composer | Producer | Software Developer

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

                              @Casey-Kolb The licensing isn't compatible with HISE but if you were to license it independently there is nothing preventing you from using it. When I last spoke with Christoph about it I think the idea was to make the HISE interface appear fairly library agnostic so that you could choose which pitch/time stretching library to use but by default HISE would use Rubberband because of the favorable license. Similar to how you can choose which FFT library to use.

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

                              Casey KolbC 1 Reply Last reply Reply Quote 1
                              • Casey KolbC
                                Casey Kolb @d.healey
                                last edited by Casey Kolb

                                @d-healey Ah yes, that's right. I forgot the licensing issue. Makes sense!

                                Casey Kolb
                                Founder & CEO of Lunacy Audio
                                Composer | Producer | Software Developer

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @Christoph Hart
                                  last edited by

                                  @Christoph-Hart What are thirdparty nodes? Is this a new thing, and can they be used to add any sort of 3rd party stuff ie Tensorflow? :)

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @A Former User
                                    last edited by

                                    @iamlamprey said in Warping Sampler:

                                    Is this a new thing,

                                    Nope. https://docs.hise.audio/scriptnode/manual/third_party.html

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

                                    ? 1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @d.healey
                                      last edited by

                                      @d-healey Oh wild, time to study🤓

                                      1 Reply Last reply Reply Quote 0
                                      • modularsamplesM
                                        modularsamples
                                        last edited by

                                        You can do a kind of time stretching with the granular node.
                                        Just modulate the position with a tempo synced ramp and set a highish grain size. Obviously it's far from transparent, but it works.

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @modularsamples
                                          last edited by

                                          @modularsamples One way of doing time stretch in the audio realm is with granular processing. But I think there was also a basic time stretcher scriptnode example by @Christoph-Hart floating around in the forum somewhere.

                                          modularsamplesM 1 Reply Last reply Reply Quote 0
                                          • modularsamplesM
                                            modularsamples @A Former User
                                            last edited by

                                            @UrsBollhalder I've not come across that example, I'll have to dig around.

                                            Another weird, not time-stretching thing you can do is clock the pitch. The idea comes from one of the modes in Expert Sleepers Disting. Tempo Sync is converted From ms to frequency and then is patched to the pitch of a file player/granular node. Now when you increase tempo, the pitch goes up with it.

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

                                            43

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts