HISE Logo Forum
    • Categories
    • Register
    • Login

    HISE_NUM_PLUGIN_CHANNELS added twice to autogenerated Jucer project

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 3 Posters 510 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.
    • T
      tomekslesicki
      last edited by

      If

      HISE_NUM_PLUGIN_CHANNELS=2
      

      is added to the Extra Definitions Windows / Mac in HISE and then the plugin is built, the autogenerated Jucer file has both this flag and whatever the channel layout is, so it ends up like this:

      HISE_NUM_PLUGIN_CHANNELS=2
      HISE_NUM_PLUGIN_CHANNELS=6
      

      Would it be possible to avoid this? Or if not, is there a way to set the channel layout properly without having to do this manually every single time? I'm currently exporting all instruments because of the Logic bug, I need to stop the batch compile, edit the channels and then build again from Projucer.

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

        @tomekslesicki IIRC this constant is set automatically depending on your master container‘s routing matrix so you don‘t need to set it manually.

        T 1 Reply Last reply Reply Quote 0
        • T
          tomekslesicki @Christoph Hart
          last edited by

          @Christoph-Hart yeah but I'm using more channels for send / return stuff so it ends up like this:

          Zrzut ekranu 2022-05-20 o 17.42.41.png

          and then Protools for example shows all the other outputs, but there's nothing coming out of them ;-) It's my age-long quest for simple stereo out in this wonderful DAW, we discussed this on the forum a year ago or so, which is when David or you suggested the

          HISE_NUM_PLUGIN_CHANNELS=2
          

          ...code as a possible solution. But now I need to cancel the build, edit that in projucer and build manually from there.

          (which currently is not much of a change because AU needs to be built manually, AAX doesn't export if arm targets are not disabled but I guess both of these are a matter of time)

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

            @tomekslesicki

            yeah but I'm using more channels for send / return stuff

            Are you using the new-ish send bus system?

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

            T 1 Reply Last reply Reply Quote 0
            • T
              tomekslesicki @d.healey
              last edited by

              @d-healey nope, just the routing matrix. I started this I don't know, two years ago maybe and I'm sticking to that architecture

              T 1 Reply Last reply Reply Quote 1
              • T
                tomekslesicki @tomekslesicki
                last edited by

                And - just as a thought - if the HISE Output says 1-2, why should the plugin be 1-6?

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

                  @tomekslesicki because the standalone has only stereo out.

                  T 2 Replies Last reply Reply Quote 0
                  • T
                    tomekslesicki @Christoph Hart
                    last edited by

                    @Christoph-Hart ok, so is it possible that if the channel number flag is added to the extra definitions, the batch script would not add the second class to the projucer file?

                    1 Reply Last reply Reply Quote 0
                    • T
                      tomekslesicki @Christoph Hart
                      last edited by

                      @Christoph-Hart or maybe there’s a place in the source code where I could pre-set the channel number for the projucer build?

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

                        @tomekslesicki I could add an option to ignore the container channel amount and "force" a stereo configuration.

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

                          @Christoph-Hart Alright, I've pushed the new Projucer binary and added the ForceStereoOutput flag. You should enable this and be able to export your project from HISE directly now.

                          T 1 Reply Last reply Reply Quote 2
                          • T
                            tomekslesicki @Christoph Hart
                            last edited by

                            @Christoph-Hart awesome, thanks so much! Where can I enable this? I’m not by the computer right now but I’d love to know where to look for this flag :-)

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

                              4edbc0f1-c982-4df4-98b3-c3f1fa69ef84-image.png

                              T 1 Reply Last reply Reply Quote 2
                              • T
                                tomekslesicki @Christoph Hart
                                last edited by

                                @Christoph-Hart epic, thanks so much!

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

                                34

                                Online

                                1.8k

                                Users

                                12.1k

                                Topics

                                105.2k

                                Posts