HISE Logo Forum
    • Categories
    • Register
    • Login

    Bypassing sampler = -255 voices

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 258 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.
    • d.healeyD
      d.healey
      last edited by

      I have a preset that loads up and my script checks what sample maps should be loaded for that preset. If it finds that a sample map isn't available for the preset it bypasses the associated sampler. However this has resulted in some weird stuff happening like other samplers being purged and the performance meter showing a voice count of -255. So I removed the code that bypasses the sampler and all is well.

      Is there any performance difference between a bypassed and an unbypassed sampler with an empty sample map?

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

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

        Yes there is. It's not too huge, but it might stack up to a non-trivial amount if you use > 16 samplers.

        If you can come up with a minimal example, I am happy to take a look what's wrong there.

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

          Here you go - https://www.dropbox.com/s/50v6knrpn9v4ag0/test.zip?dl=0

          Just build the plugin and open it in a daw. It will bypass the sampler when the plugin runs and the performance meter should show something like -987 voices.

          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

            Any idea if this problem was fixed? Seems I deleted whatever file was linked to but I can make another test if needed.

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

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

            17

            Online

            1.8k

            Users

            12.0k

            Topics

            104.8k

            Posts