Solved CustomUserPreset Hiracy
-
I'm trying to make a custom preset browser starting from the example in github
https://github.com/christophhart/hise_tutorial/tree/master/CustomUserPresetFrom what I'm trying to understand this example only works if the .preset files are in the main 'UserPreset' folder. I would like to replicate the same view I have in the HISE Preset Browser with two subfolders - example /UserPreset/Factory/Pads/Pad1.preset
Error:
User preset C:\Users[local user path]\UserPresets\Factory\Pads\Pad1 doesn't exist -
@Mighty23 What is the reason you are making a custom one and not reskinning the stock one?
-
- I need to do it vertically
- it's a learning step
-
I'm following the CustomPreset tutorial on github and added another viewport, unfortunately when I select a preset HISE crashes.HiseSnippet 1766.3ocyX01aSbDDdcfqkXnsPEpedqUExgRSrSBg.zTRSHAhfDhpgnplhnWtas81rd2q6sNItTjn+S6m5m6+f1Ye47smO6DTDHU+gnb6Nu7Ly7rysysqTDQRSERTkoe9fDBpxUBZMfq5td2PJGs0CQUtTvtRRJQgVaPRXZJIFUoxEdjd2JSeQj42+7f0BYg7HR9RHzdBZD4ozdTU9pIq9DJisYXL44zddRu3paEI3qKXh9.RtPPCTRXzggcH6DpEap.TkOZiXpRHaoBUjTTkKtlHdPqthi4V42ilROfQzOzD0BLjc4MErXMh0qhVuKkEuaVDmh.qrad7eAa7e8fsowzgqmmGtpYCbtF94iJSUDdWn.7Z5CuFdvaLPphGjtnERWKnUjjlnx2QimKGrEWQjsCgztOTrxhl5uubv5BPBtZ1dgGR1TBOLTi5K0nwsv2tQiYte0pyMG9QDENRzKQvA4SqBEiTE9nPI1V6eJMU0hvHQPHhWAmY2ND05YJUuVYQqAVeTSsVH+PsLmgYxDqlCfOuKMECBlhCwLs5h13PFCGdTHkEBoVb+ThDmXT1O.Z2mwxQF30M3cnbh1ou.zHeq5fm.DkJXjYSjTMT1oeuC.iBtxYWbaQed78v0ve8HFdVFg2Q00g1M6yiTTAGqDXxIJYXjBq5RvG.QElCbZbaonGDJV6hSBUcqR4L.Xfcc51wlEzGApqEXlputJF9wDQgLPEIfmULpNaZBiB3cNc1RKhjn5K435F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VpwUNCJqOE2adqIJnX1qMUyVGCY1Kv98OTGoIe1DYx2nByhgRh0rXLMFOQhaB7tOSO0wXjwCezHWW0FehakxpAncTuRqpDi7M7koclpgFjRopMiYof8mNucV5OEpFXCKF4S3B7QrZR51hvPezja0q2T2yXKJNZpaKuXUz+kh0XpgAVjckfvsMxeEF2YeEF6aX4qeIdKA4r8YDwQgX1rt2ki4M+kW2wfJPTg5xNel4xNcf5MNxg.2o4SbeLi2skiBv125z4Y6uimvK0LfEAuDhiDDY.TZG7YvUP02gZQ2cvwmJ3gfiFeYC3VkuSmdQlCYaNZ7CnWu44j.wfrc+sMGfI8GXca2Gsoikq9bsq9BiqvAOmfOODdsPk6toaQVisuW1x2.Px6629WS562d5lwdmg22vE0kJ3FRRyqqJpgsNk9R2VMKuZyx6ACPJ+HOZux+BNh6zCRmcH+oU1d2MkqouO9UcO5hQ8g5qRLwHIq3J.egF3zse5s3ulaqkauRyUVZoUZp7l0Fq1Zo6u1Z2+9ss1nsbmka2ZkUZt5ZsWy48O2cc27cryLu80e.xa+OHyXJc2zcanSsOOZT4z+osiSwOev0cOjGHuvQ9ulg7S3X1.lOj6SHH+LAvPZwH6lsOXehi2WHdC2iIB+ASGiyMELByA9XfQyGFph6t85A8kY.bA2894ONeEHmeBtuNb.8gdhHBvlcgWfqCvD7wf2YL3.SXsRyImjpeto7YYFnClEnd3efelMaIetjYyVoa5LzyOh+RyQjxO8zUUq.Xho3xK5dn7YTgAuNNCIAjW56m2TETr8kUwktrJt7kUw6cYUbkKqhqdYUbs2shxOT4OlH356Q.Bb3w6pNnrTocYxuKfhs57uPDromC
This second Snippet fixes the crashes of the first one by fixing its logic and fixing the crashes.
The user can choose the category from the first viewport and the preset from the second viewport. From a usability point of view it is really unusable but it is a good starting point
-
HiseSnippet 2000.3oc2Y0sbaabEdgrfqEqaqSGO85Mb5jgbppLIkhrbUYspjkRzDKaMgNd5T2Lof.KI25k6xfcgrXq8M859Bj65qQuqOR8Mn8r+.hEDDVNpw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N6t8161AoK96sv86t8C1auG7fddKzSuxN85t6tct+d81yrBje9Egc6z39cZbBzXaiOMhMpwejjJPu6wr6DV9fZcwq+8v5hW+8uOEutanaDZyaj+ideKhV2NrnbXcQJzu7GDQJvt.k.gpNT16DdlHQOvgxyHVOXb2BPsxRClUO7Utjpl6O37uyFb76JD+fvyop3IqFiqsBLB0DeefQ231+IgGOZDTip.fqGdxe38yr0QetHSAcobVjJkB71PnAvAPtOl.dmygtMz7y0zuUwdeG885Hv.BOwby+EtbK1Ueefawt4KhlFEmJ9JWGF5A5eKyS.LwMr2MBOSeOt7KgLWSoIzuJNtropnXuqqhaecUbmqqhe70UwcutJd+qqh6c0Jp+u+42moDSsGaPnyN+XSSCAAGy0iDzvVQ+Or2Nu7H
This version reproduces the view of the proset browser with 3 viewports. It is still an embryonic example but it solves the topic of the post.
-