Bypassing sampler = -255 voices



  • 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?



  • 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.



  • 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.


Log in to reply
 

12
Online

474
Users

1.6k
Topics

12.1k
Posts