HISE Logo Forum
    • Categories
    • Register
    • Login

    Time stretching algorithms

    Scheduled Pinned Locked Moved Feature Requests
    10 Posts 5 Posters 1.4k 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
      last edited by

      Hi,

      As we discussed I've done some tests comparing elastique to rubber band and although it's probably a good idea to do more tests I think that the rubber band algorithm is a very good candidate for HISE. It has a lot of settings that I had to play around with to get it to sound as good as elastique so it would be wise I think to make all of these settings available to users.

      These are the two demos, the first is melodic, the second percussive. The examples are structured in this order: Original (not time stretched), elastique efficient at 50%, rubber band at 50%, elastique efficient at 200%, rubber band at 200%.

      Melodic - https://www.dropbox.com/s/zwza9erodxq6juv/time stretch demos - melodic.wav?dl=0
      Percussive - https://www.dropbox.com/s/522tqmup6bj4nty/time stretch demos - percussion.wav?dl=0

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

      orangeO 1 Reply Last reply Reply Quote 3
      • Dan KorneffD
        Dan Korneff
        last edited by

        @d-healey said in Time stretching algorithms:

        As we discussed I've done some tests comparing ela

        Very interested to hear. Gonna check this in the studio on Monday.

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          Man, this is great news. Had a listen, there's a little more artifacts on the rubber band, but it sounds good.

          Sounds like there might be some phase issues on the 200% rubber band melodic, frequencies sound a bit sucked?

          1 Reply Last reply Reply Quote 0
          • orangeO
            orange @d.healey
            last edited by

            @d-healey Both are amazing. Cool stuff

            develop Branch / XCode 13.1
            macOS Monterey / M1 Max

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

              I also found this one - https://github.com/0xfe/vexwarp - it's not particularly high quality but might be useful for some synthy stuff.

              I've just been reading the license terms of rubber band, I definitely think this is the best option available for HISE. It's not as good as elastique (at least at extreme changes) but it isn't far off and I haven't seen anything as good that has an appropriate license. My only concern is it may not be fast enough for real-time use cases.

              MiniBPM, from the same developer, might be useful too if you plan to add any grid/slicing type features.

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

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

                Just had another listen to this David - if you duplicate the track on the 200% rubber band melodic, and the flip the left to the right, and the right to the left on the duplicated track, then layer it over the original, pretty much gets rid of the problem, but makes it mono. Might be something to do with the stereo matrix in there?

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

                  @duno I had to switch the algorithm's phase parameter to get it to sound decent so that might have something to do with it. If it gets implemented in HISE then I assume Christoph will make all the parameters he can available to us so you'll be able to set is as necessary for your projects.

                  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 Ah ok. Think it sounds really nice if you just draw one of the channels off, will be amazing to have it in Hise.

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

                      Haven‘t checked, can Rubberband do more than stereo? For multimic positions it would be useful.

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

                        @christoph-hart It says this in the technical documentation

                        Construct a time and pitch stretcher object to run at the given sample rate, with the given number of channels

                        Link Preview Image
                        Rubber Band Library: RubberBand::RubberBandStretcher Class Reference

                        favicon

                        (breakfastquay.com)

                        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

                        52

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts