HISE Logo Forum
    • Categories
    • Register
    • Login

    New feature: Release Start

    Scheduled Pinned Locked Moved Feature Requests
    49 Posts 8 Posters 2.3k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      Hi everybody,

      it has been quite some time since I last touched anything regarding the streaming engine, but for a current project I might need a feature so here we go: Release Start mode. This basically allows you to use a single sample as sustain and release sample:

      • just set the ReleaseStart property to the position where you would cut the release sample.
      • when you release the note, the sample playback will jump to the position and play the sample until the end.

      Obviously this can be achieved with a separate sampler and a release trigger script, but this is much more convenient and faster, plus the native C++ implementation allows me to add a few nice features like automatic volume adjustment to reduce the bumps & set the fade time & gamma curve to match the sample material.

      Docs:

      Link Preview Image
      HISE | Docs

      favicon

      (docs.hise.dev)

      Have fun and let me know if you hit some glitches, I tried to cover as much cases as possible but there are many different configurations (eg. HLAC with multimic and short loops) that might have slipped through.

      d.healeyD 2 Replies Last reply Reply Quote 10
      • d.healeyD
        d.healey @Christoph Hart
        last edited by

        @Christoph-Hart oooo nice, I can drop a sampler from my project 😀 and a bunch of sample maps - I tried using redirect monolith but it always seems to give me trouble.

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

          @d-healey What is the use case for the Release-Start? For realistic legatos?

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

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

            @orange no for easier / better sounding release samples.

            1 Reply Last reply Reply Quote 1
            • dannytaurusD
              dannytaurus
              last edited by

              I've seen 'release sample' option in a few other samplers too. Never needed it but always curious.

              What are some real-world examples of using release samples? For what instruments?

              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

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

                @dannytaurus Almost all acoustic instruments.

                Take a trumpet for example. When the musician stops blowing there is a distinct sound as the note is cut off and the resonance of the room dies down.

                So you trigger a release sample containing this audio when the user lifts the key (or a MIDI note off is received). But you don't do this if the sample has already reached the release portion - with sustain samples you'll usually loop them so you'll never reach the release anyway.

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

                  @Christoph-Hart Should the playhead in the sample editor visibly jump to the release start point when the key is released? If so I'm not seeing it.

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

                    @d-healey yes but only after the fade. Have you cranked up the release of the envelope?

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

                      @Christoph-Hart Here I'm just quickly tapping and releasing the key. I have the AHDSR release set to 20000 (I also tried it at minimum), the fade time for the release is set to the default 4096.

                      Peek 2024-10-02 10-39.gif

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

                        @d-healey Have you set one shot to true?

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

                          @Christoph-Hart No, playback is set to Normal

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

                            @d-healey snippet time.

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

                              @Christoph-Hart Does this work?

                              HiseSnippet 1404.3ocyX8rTaaDFeElMM3lloISNzC8fNR5jRsv1XxjoSLXrCzfAOVjL4lmEoU3cPZWMqVQhalL8ZdK5qPeD56PeD5wdIuAseqj.IY7jXbojxAPe+S6O88+kARgCMJRHQFUOZRHEYbGr8DtZbmwDFGs2NHi6h6ShTToYJqsmDRhhntHCiJOSyvXkkQI+7gmtMwmvcn4rPnWJXNz8YALUN2AseNy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deFmRjkqYuR9hq9JlyLd8M3T3Zp6WY9uIts77E29DacccrSRk4Zmjqc79YX+j40cc2rgblvIJU+ObGy6fSZEapmbdSBuahMYNekMcUY1yIKzXTgx0SdRVi1Glc5WLcMBVDPCIXpDJcQw.8jDr1asBNfHYAGSPSMjW+w2m4LP.dLnnP6ZvOAYSNil1ooBd8BizIAAjRtUizCBJuFJz6ArLdiln8EOmNI64cYYO2xB3+RMhScG6xxH9EsSMETY2xBt4Y5+FfeD+1ACO7m514nQ8Nb+c5N7c8S+J9gr+NZLSM5v3r9ri5UeT.0cTMq0dM4LzNwg9LGHdqyJ1W7ZpDNQgCjY7pjjljH7ABY.wGVdJqf8EggyTO6K17FY7E3FMrpACwg199L0X39svsh0N45MpuQyFMtPx9T9IpwHiaiWud8FsVG1.zOV+ksL962rvYOfRNUe28lMVqUyVVVahxF.jV8Ado+5Wugx8BHNRwHmzKFny.ucBGvKvShIqf6qoMsPIWVnXBX.rUwHGmxupKY35Kpg0WTCarnF1bQMbiE0vVKpga9oMTuz2VwJQP53ODp+ftosUL5dQakJn+A.7DcGl
                              

                              Note that you need the example assets from the snippet browser (Tip of the day: this is a neat way of checking things with a generic samplemap).

                              EDIT: You have to load it twice. The first time the samplemap cannot be found because it's loaded before the asset manager is initialised from the script. UX powerhouse!

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

                                @Christoph-Hart It tells me it can't find the monolith. I have downloaded the assets - well I think I have, where are they downloaded to? I notice the downloader seems to glitch out at the extraction phase so maybe something went wrong.

                                Peek 2024-10-02 14-49.gif

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

                                  Ah I just reminded myself of the snippet browser docs, seems the assets are in my snippets folder. But the snippet you posted is failing to find the monolith.

                                  Seems like it's looking in a "My first project" path which isn't where my snippets are stored.

                                  2359d6de-5db6-401e-b44f-6242f4b5371c-image.png

                                  I've copied the files over manually and now the snippet loads, and the release trigger works as expected. Do I have to compress my samples to a monolith in order for the release start to work?

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

                                    @d-healey no, it should work in all configurations (I haven‘t explicitely tested multimics but there shouldn‘t be a problem).

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

                                      @Christoph-Hart I'm using multi-mics, I'll do some more tests and see what I can find

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

                                        @Christoph-Hart It works with a single mic, but multi-mic seems to break it.

                                        marimba.zip

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

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • d.healeyD
                                            d.healey
                                            last edited by

                                            Bump bump

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

                                            9

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.4k

                                            Posts