HISE Logo Forum
    • Categories
    • Register
    • Login

    Multi outputs in FX plugin ?

    Scheduled Pinned Locked Moved General Questions
    routingeffectmultiple output
    7 Posts 4 Posters 890 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.
    • Matt_SFM
      Matt_SF
      last edited by

      Hello again,
      I'm trying to export a multi-channel output FX plugin. I'm using the plugin version of HISE and I get as many channels as I need.

      7edb3488-547d-43b0-8166-7fd18d3b8cef-image.png

      The outputs appear in the DAW when I'm in HISE but they don't when using the compiled plugin.

      Is a multi-out FX even possible ? Am I missing something ?
      Cheers!

      Develop branch
      Win10 & VS17 / Ventura & Xcode 14. 3

      Dan KorneffD 1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @Matt_SF
        last edited by

        @Matt_SF I belive that only the stereo output is available on FX plugins.

        Dan Korneff - Producer / Mixer / Audio Nerd

        Matt_SFM 1 Reply Last reply Reply Quote 0
        • Matt_SFM
          Matt_SF @Dan Korneff
          last edited by

          @Dan-Korneff Ah ok, thank you Dan. ๐Ÿ‘

          @Christoph-Hart Is Multi-Out FX something conceivable in the future or is it really dead ? :)

          Develop branch
          Win10 & VS17 / Ventura & Xcode 14. 3

          1 Reply Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF
            last edited by

            @Christoph-Hart just bumping this one. I just need to know if that would be a possibility in the future, to plan my next move ๐Ÿ˜†๐Ÿ™

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

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

              Alright, since this request has been coming up so often along with its friend, the sidechain one, I've added this as option:

              This will not work automatically though (because many existing plugin projects are using multiple channels in their master container so the existing logic of the instruments where it just looks for the amount of channels in the master container's routing matrix and set HISE_NUM_PLUGIN_CHANNELS to this number would break them.

              So that means if you want to use multiple channels in the FX plugin, you need to define a HISE_NUM_FX_PLUGIN_CHANNELS preprocessor like described here:

              /** This is the amount of channels that your FX plugin will process.
                  This might be different from the amount of total channels that is automatically calculated
                  from the master container's routing matrix and stored into HISE_NUM_PLUGIN_CHANNELS (because
                  this might affect existing projects).
              
                  So if you want to use a FX with more than one stereo input, you need to define
              
                  ```
                  HISE_NUM_FX_PLUGIN_CHANNELS=X
                  ```
              
                  in your ExtraDefinitions. Be aware that this number must be greater or equal than the actual
                  channel count of the master container's routing matrix (which will still be stored into 
                  HISE_NUM_PLUGIN_CHANNELS). This still lets you use "hidden" internal stereo pairs by choosing
                  a number that is smaller than the routing matrix, so if you eg. want a 6 channel plugin but
                  use an additional stereo pair for internal processing, you can set the routing matrix to use
                  8 channels, set HISE_NUM_FX_PLUGIN_CHANNELS to 6 and use the last stereo pair for the internal
                  processing while the plugin only shows the first 6 in the DAW.
              */
              #ifndef HISE_NUM_FX_PLUGIN_CHANNELS
              #define HISE_NUM_FX_PLUGIN_CHANNELS 2
              #endif
              

              I've added a example project to the tutorials with a sidechain compressor and reverb / delay channels - sidechaining magically works and takes the 3/4 input pair as sidechain input.

              Link Preview Image
              hise_tutorial/MultichannelFXPlugin at master ยท christophhart/hise_tutorial

              The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

              favicon

              GitHub (github.com)

              Feel free to test it on different hosts, but the sidechaining works in Ableton and REAPER and that's as far as my lazy ass went with testing...

              Matt_SFM lalalandsynthL 2 Replies Last reply Reply Quote 9
              • Matt_SFM
                Matt_SF @Christoph Hart
                last edited by

                @Christoph-Hart thank you very much! You're awesome ! ๐Ÿ™๐Ÿ‘

                Develop branch
                Win10 & VS17 / Ventura & Xcode 14. 3

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

                  @Christoph-Hart sweet!

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

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

                  45

                  Online

                  1.7k

                  Users

                  11.7k

                  Topics

                  101.9k

                  Posts