HISE Logo Forum
    • Categories
    • Register
    • Login

    Audio problem when using HISE as plugin inside DAW

    Scheduled Pinned Locked Moved Bug Reports
    6 Posts 2 Posters 306 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.
    • S
      spider
      last edited by

      Dear HISE community,

      I'm working with HISE for a week now.
      The goal is to use it as plugin inside a DAW (I'm using FL Studio) and to plug together an effect using the node-graph network editor and to test and work work with it live in the DAW.

      For that, I compiled the vanilla source code of the plugin project of HISE (testing both remote HEADs of develop #b7eb82e, and master HEAD #40c0e0a).
      The only change I made to the respective JUCE project was to set HISE_BACKEND_AS_FX=1 to the preprocessor definitions.

      I signed/notarized the resulting VST3 plugin, and loaded it into FL studio on each of the following hardware/software configurations.
      Also, I created a simple "pass-through" network. I would expect an unmodified sound, as if no VST3 plugin was loaded.
      The result I obtain however, was:

      1. Mac OS Ventura, Intel Chip -> weird distorted sound ❌
      2. Mac OS Monterey, Apple M1 Chip -> weird distorted sound ❌
      3. Mac OS Ventura, Apple M2 Chip -> clean sound ✅

      Only configuration 3 lead to the expected output, hence I assume it works in principle (it's the very same binary!).
      Configuration 1 is the system that I use for development. It is pretty much a vanilla system.

      I tried changing buffer size and sample rate in FL Studio, which has a marginal effect. Increasing the buffer size seems to help a bit, though.
      The weird distorted sound to me sounds very similar to what I got when I compiled a VST3 plugin in debug mode, as it could not keep up processing in time.
      However, I explicitly deleted all debug targets and made sure I build in release mode. Also, the processing network is so simple that even in debug mode, I would expect a clean sound.

      Is there some flag I have to set or some setting to adjust that could help?

      Thank you very much in advance!

      Btw: I have more questions that would not fit inside this post so I'll create another topic.

      1 Reply Last reply Reply Quote 0
      • S
        spider
        last edited by

        I was able to fix the problem on the affected systems by changing an Audio setting in FL Studio.

        The solution is to enable "Align tick lengths".

        However, I have no idea why this is necessary and if this points towards a bug in the backend of HISE.

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

          @spider said in Audio problem when using HISE as plugin inside DAW:

          I was able to fix the problem on the affected systems by changing an Audio setting in FL Studio.

          The solution is to enable "Align tick lengths".

          However, I have no idea why this is necessary and if this points towards a bug in the backend of HISE.

          -- mre likely the std. bug in FL Studio

          HISE Development for hire.
          www.channelrobot.com

          S 1 Reply Last reply Reply Quote 0
          • S
            spider @Lindon
            last edited by

            @Lindon

            So is that a known bug? I'm quite new to the field, that would be good to know.

            However, I have to note that all other effects (including my own JUCE VST3 effect) worked just fine on the affected systems.

            In HISE, i.e., in BackendProcessor.cpp and MainController.cpp I see some, let's say "FL Studio-specific" code. But whatever it does, it does not seem to fix this issue.

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

              @spider said in Audio problem when using HISE as plugin inside DAW:

              @Lindon

              So is that a known bug? I'm quite new to the field, that would be good to know.

              However, I have to note that all other effects (including my own JUCE VST3 effect) worked just fine on the affected systems.

              In HISE, i.e., in BackendProcessor.cpp and MainController.cpp I see some, let's say "FL Studio-specific" code. But whatever it does, it does not seem to fix this issue.

              Well "Bug" might be an unkind characterisation - FL Studio does not interact with your plugin like any other DAW, it dynamically changes the buffer size whenever it feels like it - unless you (the end user) tell it not to.. etc. etc.

              Suffice to say FL studio will become the bug bare of your support calls...

              HISE Development for hire.
              www.channelrobot.com

              S 1 Reply Last reply Reply Quote 0
              • S
                spider @Lindon
                last edited by

                @Lindon

                This is good to know. Thanks!

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

                42

                Online

                1.7k

                Users

                11.7k

                Topics

                101.9k

                Posts