HISE Logo Forum
    • Categories
    • Register
    • Login

    multi input for sidechain/ducking

    Scheduled Pinned Locked Moved General Questions
    19 Posts 8 Posters 1.9k 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.
    • giftliftG
      giftlift
      last edited by giftlift

      Sorry its taken so long to get back, my girly is 38 weeks pregnant, so yay!
      I changed a lot of stuff, and I've been going through and seeing what is necessary and what isn't, but that's taking a long time. So here is what I have so far.
      I'll update this as/if I figure more things out: Naming channels, dif input/output configs n stuff like that.

      I'm using scriptnode standalone
      only compiling fx plugins as vst3s

      Again not sure if every edit is necessary but this is working right now

      In "hi_core\hi\core\MainController.cpp"
      change line 745 to this

      const bool isUsingMultiChannel = multiChannelBuffer.getNumChannels() > 4;
      

      And add these two lines after line 754

      FloatVectorOperations::copy(thisMultiChannelBuffer.getWritePointer(2), buffer.getReadPointer(2), numSamplesThisBlock);
      FloatVectorOperations::copy(thisMultiChannelBuffer.getWritePointer(3), buffer.getReadPointer(3), numSamplesThisBlock);
      

      Then add these two lines after line 764

      FloatVectorOperations::add(buffer.getWritePointer(2), thisMultiChannelBuffer.getReadPointer(2), numSamplesThisBlock);
      FloatVectorOperations::add(buffer.getWritePointer(3), thisMultiChannelBuffer.getReadPointer(3), numSamplesThisBlock);
      

      And these two after 788

      FloatVectorOperations::copy(multiChannelBuffer.getWritePointer(2, 0), previewBuffer.getReadPointer(2, previewBufferIndex), numToPlay);
      FloatVectorOperations::copy(multiChannelBuffer.getWritePointer(3, 0), previewBuffer.getReadPointer(3, previewBufferIndex), numToPlay);
      

      Then these two after 831

      FloatVectorOperations::add(buffer.getWritePointer(2), thisMultiChannelBuffer.getReadPointer(2), numSamplesThisBlock);
      FloatVectorOperations::add(buffer.getWritePointer(3), thisMultiChannelBuffer.getReadPointer(3), numSamplesThisBlock);
      

      Then change line 985 to this

      getMainSynthChain()->getMatrix().setNumDestinationChannels(4);
      

      Now save that file and open "hi_core\LibConfig.h"
      change line 45 to this

      #define HISE_NUM_PLUGIN_CHANNELS 4
      

      Save that file and open "hi_dsp\routing.cpp"
      change line 37 to this

      numSourceChannels(4),
      

      Save that and re/compile hise

      This last file you can change without having to recompile hise
      Ignore the edits to this file in my previous post, just
      open "hi_dsp\plugin_parameter\PluginParameterProcessor.h"
      and change line 110 to

      return true;
      

      Save that and your ready to go.

      For routing the master chain is connected like this
      routing.jpg
      And I've only tested this so far in scriptnode and SNEX,
      make sure your node channels are set to 4.

      Update us if any of y'all figure out anything new
      ~thanks~

      SteveRiggsS 1 Reply Last reply Reply Quote 2
      • SteveRiggsS
        SteveRiggs @giftlift
        last edited by

        @giftlift Amazing mate. I'm gonna try this asap!! Excellent work :)

        www.anarchyaudioworx.com

        www.facebook.com/groups/audioworx/

        lalalandsynthL 1 Reply Last reply Reply Quote 1
        • lalalandsynthL
          lalalandsynth @SteveRiggs
          last edited by

          @SteveRiggs Is this still needed or is there now access to multiple inputs ?

          https://lalalandaudio.com/

          https://lalalandsynth.com/

          https://www.facebook.com/lalalandsynth

          https://www.facebook.com/lalalandsynth

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

            @lalalandsynth Yes AFAIK... That explains why I couldn't make 4 channel working in scriptnode haha...

            Can't help pressing F5 in the forum...

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

              @ustk Sidechains are needed ;)

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              1 Reply Last reply Reply Quote 2
              • L
                LeeC
                last edited by

                Give us sidechain pleeeease 😉
                Anybody found any workarounds yet?

                1 Reply Last reply Reply Quote 1
                • lalalandsynthL
                  lalalandsynth
                  last edited by lalalandsynth

                  @giftlift said in multi input for sidechain/ducking:

                  Again not sure if every edit is necessary but this is working right now
                  In "hi_core\hi\core\MainController.cpp"
                  change line 745 to this

                  Not only sidechain but multiple inputs , a few daws now support multiple input plugins.
                  Reaper.
                  Ardour.
                  Cakewalk.
                  I think Ableton supports up to 8 channels, but not tested it yet.

                  https://lalalandaudio.com/

                  https://lalalandsynth.com/

                  https://www.facebook.com/lalalandsynth

                  https://www.facebook.com/lalalandsynth

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

                    @lalalandsynth In VST2 or only VST3?

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

                    lalalandsynthL 1 Reply Last reply Reply Quote 0
                    • lalalandsynthL
                      lalalandsynth @d.healey
                      last edited by

                      @d-healey Vst 2 is what I have tested.

                      https://lalalandaudio.com/

                      https://lalalandsynth.com/

                      https://www.facebook.com/lalalandsynth

                      https://www.facebook.com/lalalandsynth

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

                        @lalalandsynth Any developments on "sidechain" or multiple inputs ?

                        https://lalalandaudio.com/

                        https://lalalandsynth.com/

                        https://www.facebook.com/lalalandsynth

                        https://www.facebook.com/lalalandsynth

                        1 Reply Last reply Reply Quote 4
                        • Dan KorneffD
                          Dan Korneff
                          last edited by

                          I could really use this

                          Dan Korneff - Producer / Mixer / Audio Nerd

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

                          15

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          102.3k

                          Posts