Forum
    • Categories
    • Register
    • Login

    Mono plugin with side-chain

    Scheduled Pinned Locked Moved Feature Requests
    5 Posts 4 Posters 53 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.
    • ustkU
      ustk
      last edited by

      This seems to be exclusive, so one or the other from what Claude reports.

      But I definitely need to use my plugin on mono tracks, and the whole purpose of the plugin is to have a side chain in the first place. So I can't live without the two.

      So is there a solution to this before I start patching Hise?

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

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

        @ustk How do you add a sidechain to a plugin?

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

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @David Healey
          last edited by ustk

          @David-Healey Well this is new to me so not very clear yet.
          But the old trick was to add more channels in the the routing matrix and route them the way you want.

          Now on top of this there are extra proc:
          HISE_NUM_FX_PLUGIN_CHANNELS=4 which is the normal num channel + the sidechain channels
          And
          HISE_SIDECHAIN_CHANNEL_LAYOUT=1 which I didn't know about until tonight...

          I'll try tomorrow to actually export a test plugin and see how it goes...

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

          J 1 Reply Last reply Reply Quote 0
          • J
            JC @ustk
            last edited by JC

            @ustk what does HISE_SIDECHAIN_CHANNEL_LAYOUT=1 do?

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

              @JC Claude gives a decent definition:

              HISE_SIDECHAIN_CHANNEL_LAYOUT changes the bus layout of an exported FX plugin so the DAW sees a dedicated sidechain input. There's exactly one place it's used, in getHiseBusProperties() at hi_core/hi_dsp/plugin_parameter/PluginParameterProcessor.cpp:610:

              • With the flag defined: the plugin declares three buses — a main stereo Input, a second stereo input bus named Sidechain, and a stereo Output. DAWs recognize the named sidechain bus and offer their normal sidechain routing UI for it (Live's "Sidechain" chooser, Logic's side chain menu, etc.). The sidechain signal arrives in HISE as channels 3/4 of the processed buffer.
              • Without it (default): the FX plugin instead declares HISE_NUM_FX_PLUGIN_CHANNELS worth of paired stereo Input n/Output n buses — a generic multichannel layout where extra inputs aren't labeled as sidechain, which many hosts won't expose as sidechain routing at all.

              A few practical notes:

              • It only matters in FRONTEND_IS_PLUGIN builds (exported FX plugins, i.e. ProjectType "FX plugin"). It has no effect on instrument plugins, standalone builds, or the HISE IDE, and it's bypassed entirely if HI_SUPPORT_MONO_CHANNEL_LAYOUT or HISE_MIDIFX_PLUGIN is active.
              • The guard is #ifdef, not #if — so defining it at all enables it, even HISE_SIDECHAIN_CHANNEL_LAYOUT=0. Leave it out entirely to disable.
              • You'd typically set it via ExtraDefinitions in the project settings so it gets baked into the exported plugin.

              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

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

              25

              Online

              2.5k

              Users

              13.9k

              Topics

              120.9k

              Posts