HISE Logo Forum
    • Categories
    • Register
    • Login

    Can you increase the multimic limit?

    Scheduled Pinned Locked Moved General Questions
    11 Posts 3 Posters 307 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.
    • A
      afinch
      last edited by

      Hey all,

      I am working on a project with a lot of mics and was wondering if there is a way to increase the limit of 8 multimics in Hise?

      Thanks in advance!

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

        @afinch Where are you seeing this limit?

        Interesting:

        74bfd11b-fafb-42d9-8dc3-f9494ff43c5d-image.png

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

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

          Looks like a preprocessor definition is available

          519c1a28-ee70-4707-bd30-1d6c92e4df55-image.png

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

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

            @d-healey Looks like 8 is hardcoded into the error check though:

            if (maxChannelAmount > 8)
            {
                errorStatus = Error::TooMuchChannels;
                errorMessage = "Too many channels: " + String(maxChannelAmount) + ". Max Channel Amount: " + String(NUM_MAX_CHANNELS / 2);
                return false;
            }
            

            This might be the case at various other locations too, so prepare for some minor debugging.

            A 1 Reply Last reply Reply Quote 1
            • A
              afinch @Christoph Hart
              last edited by

              @Christoph-Hart I am not too experienced with this, where should I start in trying to increase the limit?

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

                @afinch In your project preferences you can add pre-processor definitions for you OS. And for HISE itself you add it in the .jucer file via Projucer

                71811b68-d11a-498d-be34-02c7779aa8a0-image.png

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

                A 1 Reply Last reply Reply Quote 0
                • A
                  afinch @d.healey
                  last edited by

                  @d-healey For Hise itself is it just as shown (attached) and then just click save and open Hise? It still only lets me have 8 multimics.Screenshot (190).png

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

                    @afinch

                    It still only lets me have 8 multimics.

                    That's the thing Christoph mentioned. But it looks like he pushed a fix for that today https://github.com/christophhart/HISE/commit/b87f9bbd5a70f0615c6b07b0045e590631a439fa

                    So update to the latest develop branch and hopefully you'll be good to go.

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

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      afinch @d.healey
                      last edited by

                      @d-healey That's great will certainly look at that. When updating to newer versions of Hise or for a specific fix what is the best way of doing it? I assume there is a simpler way than just recompiling? Can I just copy the hi_sampler folder into my current version of Hise and delete the old one?

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

                        @afinch You need to recompile. You should use git to manage different versions. Avoid at all costs having multiple versions of the source code on your system unless you really know what you're doing.

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

                        A 1 Reply Last reply Reply Quote 1
                        • A
                          afinch @d.healey
                          last edited by

                          @d-healey Thank you so much, all working now and no longer have the multimic limit!

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

                          54

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          101.8k

                          Posts