HISE Logo Forum
    • Categories
    • Register
    • Login

    How to limit voice count per key?

    Scheduled Pinned Locked Moved Newbie League
    12 Posts 2 Posters 31 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.
    • It_UsedI
      It_Used
      last edited by

      what does the Settings.setVoiceMultiplier function do, and how do I limit the number of voices for each note?
      I suppose we need to create one array in which there will be 128 elements, each element will contain an array of the specified number of votes, and when filling the array, we remove the zero element of this array and push a new one to the end. I think I've made it a lot more complicated, can someone give me advice on how to make it easier?

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

        @It_Used said in How to limit voice count per key?:

        how do I limit the number of voices for each note

        Set it in the Sampler Settings.

        9a2dfcd4-3c87-4824-a913-4ceacd2809eb-image.png

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        It_UsedI 1 Reply Last reply Reply Quote 0
        • It_UsedI
          It_Used @d.healey
          last edited by

          @d-healey this is good, but it's set voice count for all keyboard range, not for each key unique...
          I has been learn sampler on first launches.

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

            @It_Used You want to apply different limits to different keys?

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

            It_UsedI 1 Reply Last reply Reply Quote 1
            • It_UsedI
              It_Used @d.healey
              last edited by

              @d-healey yeah

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

                @It_Used Why?

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                It_UsedI 1 Reply Last reply Reply Quote 0
                • It_UsedI
                  It_Used @d.healey
                  last edited by It_Used

                  @d-healey i want give more control of voice management for users.I find voice control for each sampler an insufficient solution, I myself have such situations when I play for a long time with the pedal pressed, it would be easier to remove duplicates after a certain number of voices for one note, so as not to lose the polyphony. if it were possible to set the number of acceptable duplicates, it would be an ideal solution, and according to the standard, you can't create more than one voice there.

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

                    @It_Used said in How to limit voice count per key?:

                    would be easier to remove duplicates after a certain number of voices for one note, so as not to lose the polyphony.

                    What about the Retrigger settings?

                    6335d4f5-42b2-43e5-b02f-74a78676d291-image.png

                    Free HISE Bootcamp Full Course for beginners.
                    YouTube Channel - Public HISE tutorials
                    My Patreon - HISE tutorials

                    It_UsedI 1 Reply Last reply Reply Quote 0
                    • It_UsedI
                      It_Used @d.healey
                      last edited by

                      @d-healey said in How to limit voice count per key?:

                      @It_Used said in How to limit voice count per key?:

                      would be easier to remove duplicates after a certain number of voices for one note, so as not to lose the polyphony.

                      What about the Retrigger settings?

                      6335d4f5-42b2-43e5-b02f-74a78676d291-image.png

                      @It_Used said in How to limit voice count per key?:

                      if it were possible to set the number of acceptable duplicates, it would be an ideal solution, and according to the standard, you can't create more than one voice there.

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

                        @It_Used In that case I think you'll need to script it, but per note voice management really seems like overkill.

                        Use a MIDI list instead of an array.

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        It_UsedI 2 Replies Last reply Reply Quote 1
                        • It_UsedI
                          It_Used @d.healey
                          last edited by

                          @d-healey said in How to limit voice count per key?:

                          but per note voice management really seems like overkill.

                          This is good solution for pianos, i make a piano.

                          1 Reply Last reply Reply Quote 0
                          • It_UsedI
                            It_Used @d.healey
                            last edited by

                            @d-healey said in How to limit voice count per key?:

                            Use a MIDI list instead of an array.

                            This is unlearned area for me. Which only gives me more interest and perseverance.

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

                            39

                            Online

                            2.0k

                            Users

                            12.6k

                            Topics

                            109.6k

                            Posts