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.
    • ?
      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
                                    • d.healeyD
                                      d.healey
                                      last edited by

                                      This is the pitch shifter demo, not sure if it's what Urs was thinking of. I don't know if it can be used for time warping either.
                                      https://github.com/christophhart/hise_tutorial/tree/master/PitchShifting

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

                                      ? Adam_GA NatanN 3 Replies Last reply Reply Quote 1
                                      • ?
                                        A Former User @d.healey
                                        last edited by

                                        @d-healey Yeah. Actually that’s the one I think!

                                        1 Reply Last reply Reply Quote 1
                                        • Adam_GA
                                          Adam_G @d.healey
                                          last edited by Adam_G

                                          @d-healey this is more of a time stretcher, no? the tempo changes while the pitch doesnt.

                                          is it possible to achieve the inverse of this where the tempo stays the same but the actual pitch is modified? really struggling with how to actually implement rubber band.

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

                                            @argon The thing I linked to is a pitch shifter. I've never used it though so don't know any details.

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

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

                                            46

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts