HISE Logo Forum
    • Categories
    • Register
    • Login

    Voice Limit Count: scriptnode synths?

    Scheduled Pinned Locked Moved Solved ScriptNode
    22 Posts 4 Posters 5.1k 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.
    • griffinboyG
      griffinboy @Christoph Hart
      last edited by

      @Christoph-Hart

      Ah, in the project like this?
      I never knew this existed. I assume it will only take effect after compiling the whole plugin?

      eeac91d1-9865-4400-b426-5b99b42f3767-image.png

      I initially rebuilt hise with the lower voice count pre-processor but that caused errors when I tried to play voices above that count. Perhaps this way will work.

      Thanks for elaborating.

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

        @griffinboy if both HISE and your dll are using the same value here it should work fine (and if you change the value in the HISE source code directly you don‘t have to do it here).

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

          @Christoph-Hart

          .dll ?

          I have a feeling I still am missing a piece of information. But I'll see where this gets me. I got errors when I tried to build Hise with the pre-processor definition before. I'm going to try all of the different ways and see what works.

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

            @griffinboy if you compile your effect to be loaded into HISE, it'll be a DLL that HISE loads and calls into for the processing. This DLL has to be compiled with the same NUM_POLYPHONIC_VOICES value or otherwise there will be a mismatch and glitches.

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

              This post is deleted!
              Christoph HartC 1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @griffinboy
                last edited by

                @griffinboy no, use ExtraDefinitions NetworkDll in the project tab, or better, just change the number in the HISE source code directly and done (since you have to change it anyway to match).

                griffinboyG 2 Replies Last reply Reply Quote 1
                • griffinboyG
                  griffinboy @Christoph Hart
                  last edited by

                  This post is deleted!
                  griffinboyG 1 Reply Last reply Reply Quote 0
                  • griffinboyG griffinboy has marked this topic as solved on
                  • griffinboyG
                    griffinboy @griffinboy
                    last edited by griffinboy

                    @griffinboy

                    Update*

                    Adding the preprocessor definition that Christoph mentions in this post

                    NUM_POLYPHONIC_VOICES=16
                    

                    in every available preprocessor box (including the juicer file when building Hise from GitHub, and the project preprocessor boxes) seems to have worked.

                    Voice limit must be set to a power of 2, or you'll get an error.

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

                      This post is deleted!
                      griffinboyG ustkU 2 Replies Last reply Reply Quote 0
                      • griffinboyG griffinboy has marked this topic as unsolved on
                      • griffinboyG
                        griffinboy @griffinboy
                        last edited by griffinboy

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • ustkU
                          ustk @griffinboy
                          last edited by

                          @griffinboy Have you checked the project's XML? Might be there...
                          How is a blank project reacting?

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

                          griffinboyG 1 Reply Last reply Reply Quote 0
                          • griffinboyG
                            griffinboy @ustk
                            last edited by griffinboy

                            @ustk

                            yes! its in the project xml

                            <Processor Type="SynthChain" ID="Griffin_WT" Bypassed="0" Gain="1.0" Balance="0.0"
                                       VoiceLimit="16.0" KillFadeTime="20.0" IconColour="0" packageName=""
                                       BuildVersion="650">
                            
                            1 Reply Last reply Reply Quote 1
                            • griffinboyG griffinboy marked this topic as a regular topic on
                            • griffinboyG griffinboy marked this topic as a question on
                            • griffinboyG griffinboy has marked this topic as solved on
                            • griffinboyG griffinboy referenced this topic
                            • First post
                              Last post

                            21

                            Online

                            1.8k

                            Users

                            12.0k

                            Topics

                            104.5k

                            Posts