HISE Logo Forum
    • Categories
    • Register
    • Login

    Note Release - randomly gets stuck

    Scheduled Pinned Locked Moved Bug Reports
    79 Posts 11 Posters 6.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.
    • LindonL
      Lindon @Adam_G
      last edited by

      @Adam_G well its not velocity == 0 events then...

      HISE Development for hire.
      www.channelrobot.com

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

        @Adam_G so when you say this:

        "periodically while the exported vst is playing back midi in the daw a single note will get stuck and play for an extended time with no release. it seems to mostly happen with c5 and f5 for whatever reason"

        this stuck note, it plays "forever"? i.e. it never gets a note off? Or it stops at some point? randomly? When another of the same note is triggered? when?

        HISE Development for hire.
        www.channelrobot.com

        Adam_GA 1 Reply Last reply Reply Quote 0
        • Adam_GA
          Adam_G @Lindon
          last edited by Adam_G

          @Lindon it doesnt play forever. sounds like it holds it for a bar or so, maybe less but it seems to be the same amount of time each time and it plays over the other notes.

          1 Reply Last reply Reply Quote 0
          • Adam_GA
            Adam_G
            last edited by Adam_G

            tested the snippet (both my original and the one @Lindon provided) in bitwig and the issue doesnt occur. at least not during my testing. strange

            1 Reply Last reply Reply Quote 0
            • Adam_GA
              Adam_G
              last edited by

              Ive confirmed this is indeed a bug in newer (2023) versions of Hise and it also effects the Sampler. Everyone using 2023 (as of right now) versions will experience this issue.

              I replaced the Sine Wave Gen in my snippet with a sampler and it still happened, so I exported the same project with a Hise build from May of 2022 that I still have and the issue does not occur.

              This is massively frustrating because the main project im building which i have spent tons of time on requires the newest Hise build to work properly because of SNEX.

              But whats the point in using Hise if @Christoph-Hart is going to go silent when its broken? :(

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

                @Adam_G Find the commit that introduced the issue, that will make it a million times easier to fix.

                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
                • Adam_GA
                  Adam_G @d.healey
                  last edited by

                  @d-healey i can try but i might be compiling all night 😧

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

                    @Adam_G Compile debug builds. It shouldn't take too long to find the commit.

                    Start with a commit half way between May 2022 and now.
                    If the bug isn't there try one half way between that commit and now.
                    If the bug is there then try a commit half way between May 2022 and that commit.

                    Some commits will fail to build, if that happens you can try cleaning the build folder, if it still fails then move on to another commit.

                    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
                    • Adam_GA
                      Adam_G @d.healey
                      last edited by

                      @d-healey thats a good idea, ill give it a shot

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

                        Yeah, please do that binary tree checkout logic that David suggested.

                        I'm not sure what could have caused that because I haven't worked too much on the voice allocation logic in the past year.

                        1 Reply Last reply Reply Quote 0
                        • Adam_GA
                          Adam_G
                          last edited by Adam_G

                          this is the result of my testing

                          Master Oct 28 2022 - Does NOT have issue
                          Master Oct 29 2022 - Compile error
                          Master Oct 30 2022 - Compile error
                          Master Oct 31 2022 - Compile error
                          Master Nov 1 2022 - Compile error
                          Master Nov 2 2022 - Compile error
                          Master Nov 3 2022 - Compile error
                          master nov 4 2022 - Compile error
                          master nov 5 2022 - Has issue
                          master nov 14 2022 - Has issue
                          master nov 26 2022 - Has issue

                          each day has multiple commits but i used the top one in each so nov 5 was commit a8a6948 and oct 28 was commit 98736f0

                          im compiling in vs 2022 on windows 10

                          does that help?

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

                            @Adam_G What buffer size are you using? And does changing it make a difference?

                            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
                            • Adam_GA
                              Adam_G @d.healey
                              last edited by

                              @d-healey 512 but lowering to 128 just now didnt make any difference

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

                                @Adam_G I don't see anything obvious in those commits (hopefully Christoph will spot something). The only one I saw that seems slightly related is https://github.com/christophhart/HISE/commit/7955b78dd5e3f297098eda89767ed4e334cbfc7e

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

                                1 Reply Last reply Reply Quote 0
                                • Adam_GA
                                  Adam_G
                                  last edited by

                                  bump @Christoph-Hart any updates on this?

                                  deniskorgD 1 Reply Last reply Reply Quote 0
                                  • deniskorgD
                                    deniskorg @Adam_G
                                    last edited by

                                    @Adam_G I had a similar problem with stuck notes in flstudio, my solution, in options-audio settings , check allign tick length...for me it worked

                                    Christoph HartC deniskorgD 2 Replies Last reply Reply Quote 0
                                    • Christoph HartC
                                      Christoph Hart @deniskorg
                                      last edited by

                                      @deniskorg yes I think it has something to do with my workaround for using weird buffer sizes (and the align tick length fixes that behaviour in FL studio but god knows why it‘s not enabled by default there)…

                                      S 1 Reply Last reply Reply Quote 1
                                      • deniskorgD
                                        deniskorg @deniskorg
                                        last edited by

                                        @deniskorg said in Note Release - randomly gets stuck:

                                        @Adam_G I had a similar problem with stuck notes in flstudio, my solution, in options-audio settings , check allign tick length...for me it worked

                                        by checking that option you will also avoid the problem with some notes that were skipped when a midi is played

                                        Adam_GA 1 Reply Last reply Reply Quote 0
                                        • Adam_GA
                                          Adam_G @deniskorg
                                          last edited by

                                          This post is deleted!
                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sawer @Christoph Hart
                                            last edited by

                                            @Christoph-Hart Hello every one. Unfortunately it still happens with the new build. I amWondering if this problem has been found or is it in a resolution process? It is quite frustrating telling each costumer to check the "align tick lenghts" option in FL studio. :) Strogly hoping it will be fixed soon.

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

                                            8

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.3k

                                            Posts