Forum
    • Categories
    • Register
    • Login

    Does everyone turn HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE off?

    Scheduled Pinned Locked Moved General Questions
    16 Posts 3 Posters 1.5k 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.
    • David HealeyD
      David Healey @dannytaurus
      last edited by

      @dannytaurus I don't touch it. I thought it was still an issue in FL Studio.

      In fact recently a user sent me this message

      Rhapsody kept crashing in my FL Studio until I toggled the "use fixed buffer size" on. Now it's smooth and fast.

      Along with this:

      67c1efed-7f51-4178-80a1-99b80877a7a7-image.png

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - HISE tutorials
      My Patreon - More HISE tutorials

      dannytaurusD 1 Reply Last reply Reply Quote 1
      • dannytaurusD
        dannytaurus @David Healey
        last edited by dannytaurus

        @David-Healey I just tested Rhapsody in FL and it didn't show the UI-blocking message. I wonder why?

        If you haven't set HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE=0 in your export then I would expect it to show.

        I already confirmed the 'Use fixed size buffers' toggle fixes the issue, but I don't particularly want to send my customers to a 'Troubleshooting' page to fiddle with settings, and also be shown this message:

        CleanShot 2026-09-04 at 14.18.34@2x.png

        I just tested exported AU and VST with HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE=0 and they both seem to operate fine. That test, along with Claude's assurance that the issue has long-since been dealt with in HISE source, is good enough for me.

        HISE dev latest / herdr + Claude Code / Figma + Affinity
        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        dannytaurusD David HealeyD 2 Replies Last reply Reply Quote 0
        • dannytaurusD
          dannytaurus @dannytaurus
          last edited by dannytaurus

          @dannytaurus Did your user give you any more details about the crashing in FL? I'd like to do some more tests.

          HISE dev latest / herdr + Claude Code / Figma + Affinity
          Meat Beats: https://meatbeats.com
          Klippr Video: https://klippr.video

          1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @dannytaurus
            last edited by

            @dannytaurus said in Does everyone turn HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE off?:

            I just tested Rhapsody in FL and it didn't show the UI-blocking message. I wonder why?

            I don't see it either. FL Studio is so temperamental, I have another user who gets this

            0838198f-2cc1-4f99-85b6-74b4a7ee1f13-image.png

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - HISE tutorials
            My Patreon - More HISE tutorials

            dannytaurusD 1 Reply Last reply Reply Quote 1
            • dannytaurusD
              dannytaurus @David Healey
              last edited by

              @David-Healey

              FL Studio is so temperamental

              Ugh, indeed. And not really something I can ignore.

              I just did a user survey and FL Studio users are 8%, third largest after Live 61% and Logic 14%.

              HISE dev latest / herdr + Claude Code / Figma + Affinity
              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

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

                Here's a tiny PR that sets the macro to zero by default for instrument plugins.

                If you set it yourself in the plugin preprocessors, that will override this default, so it's safe.

                It uses the confusingly named FRONTEND_IS_PLUGIN (which returns false for instruments 😜).

                https://github.com/christophhart/HISE/pull/1039

                In 2022 Christoph said:

                I fixed this recently so now it should cope with any buffer size you throw at it (with a slight performance hit at weird buffer sizes). You can safely deactivate the macro.
                https://forum.hise.audio/post/59057

                Since then the standard forum answer has been to set the macro to 0 (for example 8478, 12569).

                HISE dev latest / herdr + Claude Code / Figma + Affinity
                Meat Beats: https://meatbeats.com
                Klippr Video: https://klippr.video

                David HealeyD 1 Reply Last reply Reply Quote 1
                • David HealeyD
                  David Healey @dannytaurus
                  last edited by

                  @dannytaurus I've noticed your Claude commits have a lot of comments. I've told mine to minimise them so it doesn't bloat the commits. Most of the time no comments are needed or only a single line.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - HISE tutorials
                  My Patreon - More HISE tutorials

                  dannytaurusD 1 Reply Last reply Reply Quote 0
                  • dannytaurusD
                    dannytaurus @David Healey
                    last edited by dannytaurus

                    @David-Healey I like plenty of context in the commit and PR so they stand alone and I don't need to remember what caused it, why I fixed it, and what options we discarded.

                    What do you mean by 'bloat'? A couple hundred more bytes of text?

                    HISE dev latest / herdr + Claude Code / Figma + Affinity
                    Meat Beats: https://meatbeats.com
                    Klippr Video: https://klippr.video

                    David HealeyD 1 Reply Last reply Reply Quote 1
                    • David HealeyD
                      David Healey @dannytaurus
                      last edited by

                      @dannytaurus said in Does everyone turn HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE off?:

                      What do you mean by 'bloat'? A couple hundred more bytes of text?

                      When I'm reading through code I find comments get in the way, I lean more towards self documenting code. In general the HISE codebase is self documenting with very few comments, but sometimes a line or two can help. I think the commit message provides more detailed context when needed.

                      Free HISE Bootcamp Full Course for beginners.
                      YouTube Channel - HISE tutorials
                      My Patreon - More HISE tutorials

                      dannytaurusD 2 Replies Last reply Reply Quote 1
                      • dannytaurusD
                        dannytaurus @David Healey
                        last edited by dannytaurus

                        @David-Healey Oh, you mean comments in the code! I thought you were talking about commit and PR messages.

                        I checked the comments in my last two PRs and stand by them. I feel both require more explanation than the code alone provides.

                        With confusingly named stuff like FRONTEND_IS_PLUGIN you have to write a comment, because that macro name is the very opposite of self documenting code! 😂

                        And FL Studio is a special case where the UI warning message is misleading because FL provides per-plugin buffer sizes.

                        I'll ask Claude to keep comments restricted to explaining non-obvious or contradictory things.

                        HISE dev latest / herdr + Claude Code / Figma + Affinity
                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

                        1 Reply Last reply Reply Quote 1
                        • dannytaurusD
                          dannytaurus @David Healey
                          last edited by

                          @David-Healey Done 👍

                          • ABSOLUTE RULES now has a MINIMAL CODE COMMENTS entry. It says to comment only what is non-obvious, contradictory, or missing from self-documenting code, to keep needed comments to one line, and to point at the forum topic or GitHub issue/PR for more context.
                          • Comments & Documentation under Code Style carries the detail with three examples. The FL Studio comment from PR 1040 and the instrument-plugin note beside the confusingly named macro in PR 1039 are listed as good comments. The multi-line host-echo paragraphs from PR 1037 are listed as too much, with the one-line-plus-reference guidance. It also bans comments that restate code, narrate control flow, mark edits, or leave investigation notes behind.

                          HISE dev latest / herdr + Claude Code / Figma + Affinity
                          Meat Beats: https://meatbeats.com
                          Klippr Video: https://klippr.video

                          1 Reply Last reply Reply Quote 2
                          • David HealeyD
                            David Healey
                            last edited by

                            I just had another user run into an issue on FL Studio. Again the solution was the troubleshooting tab. Definitely something that seems to be unique to HISE plugins.

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - HISE tutorials
                            My Patreon - More HISE tutorials

                            dannytaurusD 1 Reply Last reply Reply Quote 1
                            • dannytaurusD
                              dannytaurus @David Healey
                              last edited by

                              @David-Healey What was the issue?

                              HISE dev latest / herdr + Claude Code / Figma + Affinity
                              Meat Beats: https://meatbeats.com
                              Klippr Video: https://klippr.video

                              David HealeyD 1 Reply Last reply Reply Quote 0
                              • David HealeyD
                                David Healey @dannytaurus
                                last edited by

                                @dannytaurus Keeps crashing apparently, didn't get much detail. He (or perhaps an AI he used) found the same solution as the other guy though:

                                Open Rhapsody and at the top open the Gear icon then the Plugin/Gear icon.

                                Click on the Troubleshooting tab right next to Processing at the top of that window.
                                In FL Studio 2026, Image-Line moved Use fixed size buffers into that Troubleshooting tab. Once you click it, you will see a toggle switch labeled Use fixed size buffers.
                                Turn that switch ON. If a warning popup appears asking to confirm, click OK/Yes.

                                In the Processing tab, turn Allow threaded processing OFF (click the orange light next to it so it goes dark). Disabling multithreading on this specific wrapper stops HISE-based plugins like Rhapsody from throwing buffer exceptions during playback.

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - HISE tutorials
                                My Patreon - More HISE tutorials

                                1 Reply Last reply Reply Quote 1
                                • ustkU
                                  ustk
                                  last edited by

                                  So in the end is this fixed with HISE_COMPLAIN_ABOUT_ILLEGAL_BUFFER_SIZE=0 or the issue persists?

                                  If this flag becomes mandatory then it should simply be the default behaviour...

                                  Hise made me an F5 dude, any other app just suffers...

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

                                  8

                                  Online

                                  3.0k

                                  Users

                                  14.0k

                                  Topics

                                  121.7k

                                  Posts