HISE Logo Forum
    • Categories
    • Register
    • Login

    External Sidechain, I got it working

    Scheduled Pinned Locked Moved General Questions
    13 Posts 6 Posters 1.0k 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.
    • pluginboiP
      pluginboi
      last edited by

      Hey everyone!

      I think I finally got external sidechain working with hise plugins!! so far i've only tested in reaper and pro tools but it working in both daws!

      You'll have to change some of the source code and recompile hise to get it working but if you want to try it out here are the locations I edited as well as photos of all the changes:

      hi_core / LibConfig.h
      hi_core / hi_core / MainController.cpp
      hi_dsp / plugin_parameter / PluginParameterProcessor.h
      hi_dsp / routing.cpp

      Image Album with all the changes:
      https://imgur.com/a/DhRZ0lR

      simple comp project with sidechain routing:

      HiseSnippet 1970.3oc6Z0saabbEdWRMzRxwN0IAs8xs.8BE.Wgc4ehB8hPQIw.hZISHpnlfdgyncGJNUKmgc2gRhsn.9x7XkGgBzWj7FzdlY1k6rTjzRzVNwAd8EVy4L+7c9e1yxtQbeRbLOxxdiSmLhXY+IndSXhA6O.SYVcNvxtHprUqIivwwj.Ka6hesjg8FqYod9oupENDy7IYjrrNiS8IufNjJxn1s4egFF1FGPNkNzX1Ua1wmy1mGxGGIOLWqQX+KwWPNFKmVAjkcoCCnBdTOAVPhsrWqEOXRuA7qY54eFMlddHQNvypGrQZxs4gARDKoZs+.ZXP2TgM1B1ztYhdQsn+EninAzozyTA+FECmrUXpOrKjGdEyAOOS34Z.u4.IaCHslFROC0yOhNRjwQhmGi5vDjn9XPsaBE8bsr+Qz9bXBLw1CwWRZGACltfsp559bmxtte4et+XlufxYNb1wbA4krs9xM+Watwl+6MclkU+9ykm7Xh3ggjn4xVZoiV1B2hMd34jnm6bENbLY5DAwOuNEsXcpoI2WK0FSjy5vnhWNhvVjifUhpBz+ERPELUgR6+zDseuPZ.IxhBJ4OMGIOKEvMCGrVzlzZrPvY41DMoasIvy2z4.r.K8IRfG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ji6IHijESkuGq61vbTOdU200yqNTb6Rx0Z0kk8mCVmJ0puqWspUaznV8cJWMott9Fdxq3Ys2XAGBOl9JzyGNy5T7HT4Z2SzHmP0Jt02odsp6VemJtMb0vYczdBggSkbhUR1opU2wsR0FU+4.WafNg.oLhmFyVBUSGzt.n3kCJkPUJe+QR4cq2vsRkF0b81shahA6QnSjtro33yQ6rcx9zX2pt0ATO2LIkRpgox68AYFw2k4RRJ848vWMWm4H2wroVgKo+Pjw1aNIJLUw2JH+cpRdgav6T6GbGIZPPvCu4qDJFtzc9y4oSK7p3cOsgKWvMp9jH3YU+mQC99wRY30A9Y5NQlQ4MEZajEeGnjSs5PhtcqWtwtt0yUpcwUdSp5mqzatZVlYfShsSZoyaBbYYiUuVnIq6F1xes1bPbSzT2hUx3zhyubHV8NcqTiAManvS0LeLpGDZn5zuJevuUM14uhuh370DHnQ1NDukz2++ycsu+ity88+k9B33OMByhGwiysw8HComxYRYLi32DSZGQ9G5JfFz2miilKqe5qZCB4bWSOrXbj51eouYqQicJtru+f2J98GV6Wbe+gO.ZeWtdSsQJF6QkW59P1UjPHVPgwOCb96ig21OkZde4i3LdZqMxLzmPDQzKtPl7HC6yUfRtW5TJeQyzaDNkzer4K.mMbzQp5Gqjtv6d2mt4Zu98IWi1QF.57gaaWK9q51ttZMXrvxZvXwk0fQ43E1fwTlYMXbEKgT9ikP9XIjekTBo764RH+v+8ikP9XIjG7RHq92n5dVB4W1eAsgX+H9q70eNQYrw5JJftlo9gHsA5H4Xmo+ZMzuG4PHq5q78S6f67WS4UXMUVg0TcEVSsUXM0Wg0ryJrlFKcMxBZI8uRFlCD5dn5kissOjI+UInhtr9+n1MQoI```
      lalalandsynthL 2 Replies Last reply Reply Quote 5
      • lalalandsynthL
        lalalandsynth @pluginboi
        last edited by

        @pluginboi Excellent ! will have to try this

        https://lalalandaudio.com/

        https://lalalandsynth.com/

        https://www.facebook.com/lalalandsynth

        https://www.facebook.com/lalalandsynth

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

          Nice hack! However a more future-proof solution would not hardcode 4 channels, but let NUM_PLUGIN_CHANNELS do its magic, and use the sideChain property of the juce::AudioBusses for channels if desired. The cleanest option would probably another macro definition called NUM_SIDECHAIN_CHANNELS which will then be subtracted from the total channel amount.

          I'll try to come up with something, but if it's as easy as just passing in the sidechain flag to juce, then it shouldn't take too much effort.

          lalalandsynthL pluginboiP 2 Replies Last reply Reply Quote 8
          • lalalandsynthL
            lalalandsynth @Christoph Hart
            last edited by

            @Christoph-Hart Sidechain would be a gamechanger :)

            https://lalalandaudio.com/

            https://lalalandsynth.com/

            https://www.facebook.com/lalalandsynth

            https://www.facebook.com/lalalandsynth

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

              @pluginboi How can you route the sidechain , will it appear in as an extra input in the routing manager ?

              https://lalalandaudio.com/

              https://lalalandsynth.com/

              https://www.facebook.com/lalalandsynth

              https://www.facebook.com/lalalandsynth

              pluginboiP 2 Replies Last reply Reply Quote 0
              • pluginboiP
                pluginboi @lalalandsynth
                last edited by pluginboi

                @lalalandsynth with the changes to the source code the routing manager should show 4 outputs now. I then add 2 more channels and connect each input to the corresponding output 1-4.

                Then in scriptnode set it so the routing is enabled for all 4 channels and then using a multi node I separate channel 1 and 2 / 3 and 4. And then I use a send and receive node to send the 3/4 to 1/2.

                Probably a much cleaner way of doing it but this was working for now haha

                1 Reply Last reply Reply Quote 1
                • pluginboiP
                  pluginboi @lalalandsynth
                  last edited by

                  @lalalandsynth like this https://imgur.com/a/5bUDWAU

                  1 Reply Last reply Reply Quote 1
                  • pluginboiP
                    pluginboi @Christoph Hart
                    last edited by

                    @Christoph-Hart oh hey i know your super busy but were you able to figure out a way to make sidechains with another macro NUM_SIDECHAIN_CHANNELS. you were right about in not being future proof haha i currently have to use two different hise builds cause protools only accepts mono sidechain

                    N 1 Reply Last reply Reply Quote 1
                    • N
                      NEST.acoustics @pluginboi
                      last edited by NEST.acoustics

                      @pluginboi man I'm resurrecting a long gone thread but do you have any updates on your external sidechain journeys?? I'm working on following your original instructions right now but figured I'd ask if you had any new approaches or information in the last couple years!

                      pluginboiP 1 Reply Last reply Reply Quote 1
                      • pluginboiP
                        pluginboi @NEST.acoustics
                        last edited by

                        @NEST-acoustics oh yea changed alot from this original post. I'll post an update later this week

                        N HISEnbergH 2 Replies Last reply Reply Quote 2
                        • N
                          NEST.acoustics @pluginboi
                          last edited by

                          @pluginboi absolute legend!!

                          1 Reply Last reply Reply Quote 0
                          • HISEnbergH
                            HISEnberg @pluginboi
                            last edited by

                            @pluginboi @Christoph-Hart Just following up on this what are the procedures for external sidechaining with a HISE FX plugin? I have most of the behaviour operating well but I notice some discrepancies across DAWs. For instance inside of Logic, channels 1 & 2 will pass to 3 & 4 (my sidechain signal) until I have set up the input for the sidechain signal.

                            Do I need to set this flag to 2 channels?

                            HISE_NUM_FX_PLUGIN_CHANNELS

                            Are there any preprocessor definitions in Projucer I also need to set up (FORCE_INPUT_CHANNELS)?

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

                              @HISEnberg You need to set HISE_NUM_FX_PLUGIN_CHANNELS to the amount of audio channels + sidechain channels.

                              Dan Korneff - Producer / Mixer / Audio Nerd

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

                              26

                              Online

                              1.7k

                              Users

                              11.8k

                              Topics

                              102.8k

                              Posts