HISE Logo Forum
    • Categories
    • Register
    • Login

    reverse sample playback?

    Scheduled Pinned Locked Moved Scripting
    13 Posts 6 Posters 2.9k 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.
    • E
      elanhickler
      last edited by

      Is it possible to do this? If not I guess I can render the samples in reverse.

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

        No, not possible at present, has been discussed before - feature requests section possibly...

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

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

          Yeah, adding reverse playback would be a heavy rewrite of the streaming engine for a rather uncommon use case so I guess it's better if you render them reversed.

          1 Reply Last reply Reply Quote 0
          • D
            Dorian
            last edited by

            That is a huge shame, reversing samples is one of the most basic ways to get a really new sound from another sound. Any chance you might include this further down the line?

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

              Reversing the preload buffer is trivial so if you can live with having the full sample in memory, it should be little effort. The other one is huge.

              1 Reply Last reply Reply Quote 0
              • D
                Dorian
                last edited by

                Reversing preload buffer - that would be great, is this currently possible with the existing version of HISE? I have no problem with the full sample loaded in memory.

                I'd imagine that libraries which would like to use the reverse feature won't have issues adding all samples to RAM, because libs that might use reverse won't be your typical orchestral legato libraries, where trillions of legato intervals take up most of the space, so there's room to spare...

                1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon
                  last edited by

                  yep reverse the sample buffer would be fine I think.

                  HISE Development for hire.
                  www.channelrobot.com

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

                    Alright. This will be an easy addition.

                    1 Reply Last reply Reply Quote 0
                    • M
                      MIDIculous
                      last edited by

                      +1 for reverse sample playback loaded in RAM. It's amazing for synth stuff.

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

                        Alright, this is implemented. In order to set a sampler to reverse, choose "Reverse" or "Reverse One Shot" in the Playback Mode popup of the Sampler Settings.

                        1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon
                          last edited by

                          and the javascript call to make this happen dynamically?

                          HISE Development for hire.
                          www.channelrobot.com

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

                            You can set this property just like any other attribute using the regular scripting methods for changing attributes:

                            Synth.setAttribute(13, value);
                            

                            You can get the parameter index list by right clicking on the ModuleBrowser.

                            1 Reply Last reply Reply Quote 0
                            • D
                              Dorian
                              last edited by

                              Fantastic!!!!!! Many thanks Christoph

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

                              13

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              103.0k

                              Posts