Next / Prev For Viewport Shows Error



  • Hey Music lovers

    Trying to Change The Samplemaps From A Viewport, With Next/Prev Buttons.
    But Once It Reaches To The End Of the List And Hitting Next, It Shows Errors.

    By Adding 1-Value, Label Name And Selected Sample Map Does Not Match.

    Here is The Snippet, Any Help Is Much Appreciated 🙏🏻

    HiseSnippet 2244.3oc4Y0uaajaDeks2zX13fdGtBz+o.DFEExnI1R2kO5GHHxRx1QMVwBRJN8P+3N5cozxybI2Rx0xJGx6TeDx+zWg9bbuAsC2OztRVwwQ8tdE24.XygbFNC+MCmY3ldJoGUqkJmJaNbZD0oxcbGLUXBZEPXBmNscpbW2tDsgpvoS0bZDQqo9NUpr9Q1Ipr4FNI+7MOsIgSDdzhobbNUx7nGyBYlhY6034LN+PhOcHKrD2OnQGOonkjKiA6Yc2ZNQDuyIioufXYaMWmJ25.elQpFXHFp1oxFMk9SGDHmHR4+TllcFmZIp6L.1nzoOTx8sVrcrSq.F2uW94V63TwsWAJrdJJ7ItcY9rYyWfF+rjEvERTFOpr10Yd0WQyqRIyaiTy6ibG3oXQlhUr11O0si.bTiHfKnrYkxqyZstkaKIvgvraH4b5gJfXlDUeTsZ2C+vZ014OrEJ8e6s2d3AjvHNE2kDMfxodvgaKD3jzF7EDU1pJ7SvIAM6NlZxlp51YC11teERzSQuHaOeBN2Z.wZICijBfn51Errfrufdo48HaAKamdNJjVGFERhrlZpgUXrvg6Xl1TcdsktVS4kuSkMiCPW381CV4LIPYU6rk1USANYFZnd66kZB69URln51+Ew16rfFSPXpepvGSNixe259p7tcYOG9TFcBtmTY1BwDblfhGEK7LLo.KEyLO6lqj7pd4678.KgGS2YKzWuEZybnhKI9yvppoGi+bBi+0ji9v.kbBSLFSUJaDBF9YIVXJXX.ez12CuvtrE5MIl+6EpsaRlY2hv4mAoHpd0STNV.HgMdhIi0khkWFlTD1c8fh8rwFgqlOkkNa5ji8LOObBN0xS0cvO4I353mhmKpHcsrPBNUL1DryueYrrzc79351i3U0pW.QLl5WMe02b8.a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JY9ZI5NEASdUQ17Cgmr.dK791XqgADS97f244wAhjAuRp.f8jXil4SQCkRb2Xu.DDik970WidoXjTMlcAUfNsU+b67T1YT6IK6u1APxwwzh0ESy8TuhnBgcKwe+4PAN3WwVqTNgpbh0T6aIVLopaZR0sxRplzMbR9zet6R5StTl0uLrbh79MrMOayBOKwF7b5q77P3QpR+XNwL+KWsOWOaAviL2SDsOCTnYlokeN+GvyYqszmytzB42Py8ib6wLdAK2dWaI1KTJ+6Z6M6iCrk6AiFA9rBicC2C+Sq5WBX0Lke4v7pzFaDJbiI6sZI1ylt4TeK74ZhtwetFn+hjWJxdcI1dailw.bole1+QiDUsenLVLmtxL79zHJw.d+Rxb6F86ejRFGsnTeySShUfpxdmCHQ4EfdI.X2T9L1RI05QvwIYuzkWBphN1hUEy.INgRhyO2KhCAWuPP4ZaWMPSMNuTSstZlWWBj95xxbmnkZCIIt60bSoqu.8mt.8ms.8CVf9gKP+nEnebA8r2sm9IhJRbrXm7+jaVm7vNA0Vn7Rb1jMdlVRmY9TMkXcF3mXfk9zcK4CecquG9tbe6mH6+97tqeyL22ymNbybab.y5pNPbAbYElwZieL7DmQjXtIe15yYkPaOxn.of4M+UCHTe7XpprsuzCz9FCbyrXlOoQennGzcTwT+pFGC8TPTyei+CBKpeywhqye8KbSM2jVov+vnd45+nud40Ac2MqZosCV3Yt++se9NtII3w15weeYp8gFdg5r405bgBhvSVUdzxkEWyVpMktlkN4Kf.u+Kg3eC+jsX87Zn1EqmuniW9VAmsrwIevlJqSE1RGIsAxgpy7xgzZnUCqIA089ehUFR7TxuvK8CRYs0amLCXkhj+Oq1zsqkFWO+KP45Va2ZNgPspuvyydQ39.BubY9zUPlOaEj4AqfLObEj4QqfLOdEj42dsxXaSX+XiLLMIILQuCRCrpbvr.q0c9OfGlMkk
    


  • @Natan The viewport was saved in preset with a value of 10, which might be outside of range if you have less than 11 sample maps at init...

    HiseSnippet 1620.3oc4XktaabCDdWauoQJQAIAo.8OEfPHEPF0QVJm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Next / Prev For Viewport Shows Error:

    Viewport was saved in preset with a value of 1

    Thank You Sir, I have around 105 Sample maps
    But How About Saving The Last Selected Sample Map?
    You Disabled The Saveinpreset For Viewport!!!



  • @Natan You can saveInpreset, but just be sure it won't recall an impossible value.



  • @ustk Thank You Fine Sir 🙂 Works Like A Charm ❤


Log in to reply
 

10
Online

1.3k
Users

4.2k
Topics

38.3k
Posts