Help with Custom User Preset example
-
This is the Custom User Preset example from the tutorial files, Im wondering what I can change to show the other columns like bank and category as well ?
Any help is appreciated, I just cant figure it out. =(
Code:
Content.makeFrontInterface(600, 500); // This gets a list of all available user presets const var list = Engine.getUserPresetList(); /** removes the directory names from the path. */ inline function getPresetName(relativePath) { local l = relativePath.split("/"); if(l.length == 3) return l[2]; return ""; } const var prettyList = []; prettyList.reserve(list.length); // Copy the preset names without the paths into a new array for(i in list) prettyList.push(getPresetName(i)); // Load the pretty names into a viewport list const var PresetListSelector = Content.getComponent("PresetListSelector"); PresetListSelector.set("items", prettyList.join("\n")); inline function onPresetListSelectorControl(component, value) { // Grab the preset name from the array and load it. Engine.loadUserPreset(list[value]); }; PresetListSelector.setControlCallback(onPresetListSelectorControl);
HISE Snippet:
HiseSnippet 1248.3ocsVs0aaaCElJIpKQqdacnXOS3mTJ5brcRcRPQV8hSRaPyEi4zfskUzwHQawEZRAJZmpUDf8Sc+D1+fsCojsTttlGhKPQ34524vOcNrqRFPSRjJjyBGkFSQNO1sWpPG0IhvDnc2B4LuaWEMgpQalFSRRngHGmYesQqyBygr+9mWsIgSDAzBQHzwRV.cO1PltPZb62x37cHgziXCKY8Js2MPJ5H4xQ.Rl0sNJlDbFY.8.hwrYbQNOZ6PlVp5oIZZBxYtMkgo8hjmKxr+XVB6TN0bnApGDnLw6H4gFDajh5Dw3gcmTwIHHJcKp+Yyp+m5tOKjMUdQe3arJvEdTte3LycAuFkgW8Oe34TBdykAum31KPwh0EZLX6Kc2Unop9D3JnLrxrEMCcN2NRvBgt1PxYzcTvgod32pd8mieQ85K9xJdU7VZI7QQrD7.pNASvbVhFK6iIbNlLlv3DnNviRnJbrkWjTwCt6.iFSTYVuAdaw.lfVCBw6.Cy3O6Ap7ySwydFVQGJGSSv5HJNjonAP2KEKf66DbekbnUQLQGUC+rkp3wDbHh39iDAZlTXPWVXMLDeEkSzrwztf8KVw6SU7vvOtLfvwb.Ok0WKIlyz9UWppALF6x9eVeedMNULPGg2XC7xKlI17SQ0iTBL+jlu+kERy9qbcUqBZtvTbEMCn+n0o6k0RNw3ZgjZFvqFS8Mcr7zNs+2QFmlU+1RLuqbNSGIGom1XRvLgVBWQB54XhRQRq30Wp7Yfb6EwhkPPs3QIQ9WtqwVLKi1btmjDNImfO44LOCiYzyikJsMrkKwhq1dTt8NDJ0ITMHacjCikB3fe0qap8B35hqAm8qxzzgIUed4R3OjLge0eSTcJtuJqPJtd3LnQI49ASfxyAjyGQK3IP0+ZE4zq1wKng1lKlHBAJEzkX5ZU7VHmiajTPxsWmmXi+6KnWWXg6MWo4vqC780ovLO+6nDlT0l+UpjOPpoGJ7Wz6SdK3cw0zzu+MoJOjbp5lzZlNqtC27EiFdJUMoSlaGLj5xSAcu8ofkGRGjwWJYnTrqfoOLlJtsYinbRlYJYNn.S01YjeU9LxdbVHUgXvnvuv8sB4oMPV7Vr24ueE5c6tEQSlDFHhPVhoJMyT.NaQGCawxF8tf6VzjyzxXXgzTdMrX5+MoerHg+R6zhCosOmEpiJD76sinrAQkVX9l1nRo5qyR02lmJZ3w4eWZS2ScuNy4Vy8Ob0bmd0b+Wm0NgLltaNeL6pBl6aBe1sh8STjy241nt2p081YDm68FBuu2uRURTenc1i8mk51a21HKak97tG9wzAv8q0LcpgU7HfuvCQmNXxCAdraiUZ1pdqkWtUca1JoX0FKu9Zqs95MKonoQyJMazpU8UWq4ZHz02eBawkgifsAWd0t48L4J.h9k1gZ1SJRX5zxu24AYe+mKbehaWlNH5lw6L2.dA18CMdye8TE2s62GXdEfcN2c94G9mJg9IXyHSLXehVw.Nu6AiF1CXDAT.IBAkalF4LiYtQ145lylNSOpHzd3ege4JaXN6jqrwDkngj.k7CAYSaLuOadqD.SBKmdA28MmwSGyXv8P3QieHHvzH9d.42rGMu2dr781iUt2d7h6sGst2dr581i0tCOLuP+GGokCy9r.Dzca63cGmsElGtZYfn+SK7.ZF
-
No luck so far.
As Im reading on arrays Im understanding that a function can only return 1 array result per function so now I really have no clue where to begin to tinker with this. (sorry new to coding).
So if anyone has any ideas Id be happy to learn !
-
After reading through the forums almost all day long I found the below HiseSnippet by @Christoph-Hart in the following thread to behave like what Im seeking.
However I do not understand how to change the code to reflect the categories and presets.
Does anyone have any knowledge to share on how to make this change ?https://forum.hise.audio/topic/1233/floating-tile-loadfile-option/16
HiseSnippet 1348.3ocsWEtaaaCDlJMpX1adXcXO.b5OSFyK01osaXCEKKNIEdsM0XtKa.YAEzRzVrQhTfjJtdE8kZOA8QZuAaGEkkjSbZi6vTBLzQd2wO9cGOdZjTDPUJgD4z34KRoHmOwc7BtNZPDgwQCO.47otOknzTI1Nz9KRIJEMD43bqGYFvow1n7m+9G2mDS3AzpgPnSDr.5SXILc0ni16wr33iHgzmyRpo881aXffOPDKx.7bK2tnTRv4jYziIF01xE4b6CCYZgbrlnoJPm8EgKFGIlys5eBSwlDSMB8PiAGYGFMHhEGNZ4dUgPNaOpZmeK6N+KbeJKjUNdEC7Y4SfqrnNG3r0pPZ6UfTuqCRGIhCMN3ZfmSM3ssEd2wcbfjkpqlwfsO1cHGBNSI.sWGVVcQa81a6NP.Zv06jPNmdjDDJsv+Ac61Ae+tca+CsZ1p4cuK9QTMVGwT3oRQBVIRnyinRJ1mxzvKXZxDZH.b7ELBlwChyBoXgDeHeFiS2IVPB+4wO63VMufHwgDMA+PbqlutUSL73M.nnYB4BbOuu2NzoEyLTSSv8HdcpK2m3YEOqykcP+06fIWxAStVGr65cPvkbPvRGfa9lbNx7GjjpzXyN7DFcdpPp6Aaykz7LpdfHIUvAAeuRM7Lb7Usr+60x9dkQmeSxzTLINFeNcA3l3LpBhBZAlvwDojrn9RDX2qLPmGhO8rbmLUH8CASxiMss6sJ81IMSE4GVtdiyyFn4qFGNCpvDX8.hAxOfftYpoLoY4JvZtUGK.PtPjgiHWPw.3do.VPP4Di.AqzRFeVqlkTyNJJrey8qWm5vwXnu2ev8ZagDiGCYY3oY7.MSvwBdoOLbnTD6Grj.6X4m1kYe.xlR0AQ4vtXQVTNUNn0QDs0LLbD3OoRAdBANPg8yfU9bp0TQxDwDwq9x1fuaDKBHwktCH5J3eZtmL7dC.cJQLcmTXmCaUS4gJa7vecofYe1.9GPjpf7s7skAgAg3aXM9tQYZxprnI9d5Rud1kXRap76Mg03wBdc.jzMAJF6eUJucw4hqO3z+CL3f8MYQIrYQZLmBgAlFapFsBuuJkWkSA6pSLqge6yp3zp0vvSekJOq1VqyLXdAKwjWRCzkKgQQXMVxmmUKpZ84AB7bHugdATdzf24DN.WH.6apFZx2IIowTbBIsCNSAZkJo.y1ACfo8USN.+Yp6BUg4yvygxtKSPfe8xe2.oaZXr+6KL1uVXrVrybd3Yb+1MecyFMeyUlY5z0MUgqhox0Mq4xd46vLedFb6hbYtQgdv8eqdA6suYWvFXokZJJ3C4L8yRoExUWA2aMWAiJ3U3sec3APz2bqbwXfdoTolYfiyAzKfVbr2Q2v8.p5bsHE5VoLX.Cqym8yKtAmFtj7QrPyU3kYsnWU0Mzi2aQovdi1aNKTGgbbc9KPNhZNTXjnNHDjT8DlBDc1J+3Oxwys5p1lUWZV85tHETbdHeTdpnogAzG.d6WCuuM8+.duiaw0uMKt18pv6pMDAskIByhI5U6UyzTZwDP50JMEYZ7gqX5E0aZcCZfq6ZafasYO2P3dG2QLnjz5w6VqAuPV3+23snc3VtGNcJTIrBra6dzu+g166F.keQjogZeOk.8I.4WtGmkLF9hf.JfDNmFqL4QaYNgZk6ZjMLyXJOLW3efmhI6YjcJlr2xIQIj.o3EA1BOlFt+n7Q.Lwy+ViFvG8.x3dn7hQVbm.eEvKBBLDw2.He8VzeisX2M1h6swVb+M1hGrwV7sarEe26vBymb8SYZQh8XALvnCyKC63bHm.YU4Yfn+EwrFMV.
-
Alright, I havent been able to figure this out, so any help is appreciated.
I wanted to get this step finished so I could move on to getting my licenses, but it is proving to be a task that I cant complete with my current knowledge.
-
-
@d-healey I havent stumbled upon the post yet, I will spend the remainder of the evening looking for it.
-
@Dalart Ok well... here's a brief overview.
-
There is no - out of the box - solution that allows you to build a multi-column "preset-like" solution. it would be REALLY REALLY good to be able to configure the preset-browser to point at an alternative folder start-point and then for it to simply return the name of the selected item - hint hint Christoph....
-
Until then you will have to build your own browser, so this is what I built so far...
- there's no nice favourite icon that rolls-along with the name (tho @d-healey has a potential solution for that)
- its only two columns (which is enough for my needs..)
You are going to have to use viewports for this. I used a 2d-array to hold all the displayed categories and names
-
-
@Lindon can you post a minimal snippet as a sample?
-
OK heres my attempt to do that:
HiseSnippet 8439.3oc68zFabbbc6I40V7jksjsrymsXqPZgboL88AO9QLJ3wiG+PRG0chGonjiMrVd2b2sl6s6oc2iTGCBfPKBR6epSPAJh+SgSca+oQaAZgyOZhP.xOZg6moAFsM+vtoHnoNM08GAEAn.su2a1cuYu6H4QJRJR58rkzLyN6Lu4Muul4M67JXYVhYaaZIEYfEa0fIE4wkK1xvo1T0T0LjtbVoHOo7Ll5ZlYTssS7pwhKkoUCHIqrTjHmbVrRQF3QjneezDYT0UMJwZWjjzML0JwxoUWyocoEReUMc8YTKyVTqtPsGN8kKYZLkotYS.fNobLoFpkVUsJ6ZpX0NgrTjGc5xZNlVEcTcX1RQdjLlkaUrl45F75eCMasUzYXl3REgFhWLLBJiPLVpzT0zzKWvafaKIEQtPazvI4ngyKOuVYM+xaiNNK8.k1ugH9HxI1JvKtH3Eq+AuHBf2ivAuyIWrjkVCm1OAgsSKeYCGlUEUXJPDr30U5DO+yJOkITCCmgpqtJaFKHi+abwTwhcIkToh8bu3YhdlnuvKn3TiozP0foelnvzhsixZpVJz7YQlNqDLNKfOkJItxulhWaWk4LkY8FlFPlKdgM6Et.ue3+GzaqgkpXSUTyzPorlptYUwttnZ8F5r4UafjCaSu1i5Bcnhh6vprlcCc0VrxJFvyQHniQ3TvDXUSKMlc+L75r1XW41S51ZNJlUTJ4WktwldvZe0WcVag9pD+srw9S0qGagiNrulz.Qn.nBs+W3BSVxrosiVoKboKLoiip0pMsgjHWtVIUH0T5LUikZ.oxpY4LupAlxpIvGiIZpqq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v1eQ25CPRKLXyNG+XXwqOErZ4VnSgtDxBX5XawCdszwnhN1T7KV9No+C0jebNTdsMLuab9eTXn7Jz12vyP0QnP401tb1+8dwR+ql9H+wlh6CL5XMSUfeLfo2yO.UljzONdmm2AgmyVL4K00yo.oRKPyoq9UgP0Ecrn4mSKPoqEO30yC0WPkpGp+7Xc76ZaM98sevX1B0eFxwbLI9csMrJuUi+5dwp74NvNpQ6umSOJNJSwU41Kiy8cIGY.pUt4fniHDieWjiNPGSrFOtLikQKiKVX7653e76ZabsHdoF+.wvDpaIjgIL9cEF+tN1G+t1zKaEk26sdzzcbyH+LoEuDYovQPOtNVBieWgwuqi9wuqiowlnDgwlnOFEahRDFah9XerIJQXrIJL1DcPFahRDFahdXEahRDFahB2VjvXSzgkXSThvXST+DahRDFahN7GahRDFahBiMQGthMQ+B8WrIJQXrIJL1DEFah5sEzdgSH2uw3JvJUKnZ4nQLrgwsnv3VTXbKJLtEEF2h5HtEcP.kGW5i5pkrLeUvHIGKSBmeJpD.aaPw5jAjmGyqDWZMU8ltzK0AI2uZoRH67yCzI89MRrieij632X3c7ajZG+FirieiQ2wuwXawafpImroiYctvcnfBSyYHh3uUcQNoz+OsPur9
-
Thank you for replying @Lindon, and for the snippet as well Im happy I returned home to be able to learn this. =)
-
-
@Will I have not, I have to study more about arrays to understand how this works. If I manage to figure it out I will share the results.
-
@Lindon i gave up after spending 3 days tring to create this myself and now im trying to make derivate from your snippet. but its not displaying any of the categories in my project. i exactly recreated every aspect. and still no categories showing
-
there is also no code in here actually loading the samplemap. it simply displays them
-
This post is deleted!