HISE Logo Forum
    • Categories
    • Register
    • Login

    Building Hise as multichannel plugin problem on apple M1

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 331 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.
    • M
      mehmethand
      last edited by

      I'm working on a plugin project which have multi channel audio outputs. I'm happy to work on Hise standalone version but when I export my plugin and test in Reaper, only output 1-2 is working. so I think I can't export multichannel plugins from HISE standalone. I wanted to build plugin version of Hise and use it for exporting my multichannel plugin.
      I'm on apple M1 - Mac OS 12.6 - Xcode 13.2.1 - latest developer branch of HISE - Reaper 6.75 dev build

      I can build both multichannel VST and AU versions of HISE. But Reaper crashes when load AU or VST of Hise.

      When I build HISE regular (no multichannel), AU version is not working in reaper but VST version is working. But it is not helping me.

      I'm adding "HISE_NUM_PLUGIN_CHANNELS=16" to preprocessor definitions for multichannel. I tried both release, debug multichannel configurations in JUCE no success.

      Can you help me please? Can you guide how to build multichannel HISE plugin ? Is this a bug or am I doing something wrong?

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

        You can export multi-channel from HISE standalone.

        I'm adding "HISE_NUM_PLUGIN_CHANNELS=16" to preprocessor definitions for multichannel. I

        Have you also added that to your project's preprocessor definitions?

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

        M 1 Reply Last reply Reply Quote 0
        • S
          Soundavid @mehmethand
          last edited by

          @mehmethand What I do is create a routing matrix with Combo boxes for the user can select the Output of each channel, make sure you set the Channel Amount in your Main Container and take a Synth.getRoutingMatrix reference, then you can use addConnection/removeConnection and add the HISE_NUM_PLUGIN_CHANNELS flag to your project definitions. You won't hear it in the app but will work in the Plugin.

          (Sometimes Logic Pro doesn't update channel amount in AU validation if you change it after the first validation, then you have to clear the Plugin Cache or do a Full Audio Unit Reset in Plugin Manager.)

          1 Reply Last reply Reply Quote 0
          • M
            mehmethand @d.healey
            last edited by

            @d-healey ,@Soundavid Thank you so much. I finally got it working.

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

            44

            Online

            1.7k

            Users

            11.7k

            Topics

            101.8k

            Posts