SampleMaps location
-
@d-healey Still do not get it, I just added a file in the middle of the list and all presets from that point were wrong.
Sorry David maybe I am stupid, I do not see how changing file name will solve it as HISE does not look for names but only the alphabetical location in the folder.
-
@alfaholic You're going to need to show your code for how you are loading the sample maps when the preset changes.
-
@d-healey Sure, here it is:
HiseSnippet 2611.3oc0YssabbaFdVIOIQptEIA4hdSAHLJPkArU1YOuHnHRqNX6ZKKAsJwonGB3NK0tLZFxob3X60E4cpWzGf12n7Fz9wY3LCGYECEUa2Vegw7+Qxe9w+iboNQICYooRkWqMNaUByq0s8mtRnWt2RJW38n88Z8A9ZVp1axpDZZJatWqVq+.yXs13Vd4+6G9xIzHpHjUC4480RdH6I7XttF8jcdLOJ5P5b1Y7XmY2amGEJE6IijYfGq621KgFdAcA6oTyzVyGj3f4bsTMUSAY7ZcqIx4qltT9BQw7+ZdJeVDyHD3MEJp.9PYzbCiMnd6sjGM+jxyapmWK+SpO8qWb5+L+i3y4U30VgONe.R8JbsGsVqI8VuA8BboWaG5cETpkCktUAk9D+ogJdhtdDCe9Y9ORnYpyovr6Rkh45s1eeM+8jXFB81wzKXGpfP0J1ZP612if+6tewl3ee9mSlRiShXGQSHwLQlAp.QsI7LoZxyoJ6bTAjeKIODY6ELc9IHWZq6TN9cLZsRAjXZRJgpnqbTUZ41kZTVwDMpqhFOgmp2pPO6IimIIyjuzY8gwyplZaCgJOqFJIiSjBHr0cZNMCuZhrcJCyhqYwo24dNjZ6uSxEacm+n3N2M2BwEQbAibdlHTykBhTzTOlcWIi1JrbquGXYTF6ta9W2biRyx1zT6mac2sijz4UJXq5c9Ojut6G7mv9twleO17q2IybRrrXOZTzLj+r0OBKu6W3bNdpTyNVrUNQ2762jb4gN+7qbLqpxOKWwvlza0aZgaIxhmwTtlIyDQLeyDI+e7DI277vBajyDkhGI35iSXherreOqg0jzYYElpNOk6isob4gdSjuziO2.1zb5kyc2xfde0i1mpokZDJGaXBSo4lyRq8YOG0DKRp2veeV5EZYR9bstUuVe3Ok8+k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NybdL3q3YU+f2Uuz6std4du4Gh9+Cpl13go2njiS4FuyAhmirTfX33m5uO6bZVjtDsYEiijh7mqgG1Lm.w3KVvTtb+JOP6p0HkrF4y1w1AqF5WuySvuzjpZlp+SxVD7S9Q5uR+0uzuftlGZfQ9Owu8dML6M1Qb8qUGw2578l2c78po6WX6ShehDUo+eb+7s8yqrSLMh+uEUOUloQC1xlb9nS3Tz8Oj41ObMSO1B41FYCglxDyyE9W3e1ACJadZFLnbPuvRUgyl867mou05Lgo0Q9E8hPa4H2P5TbGCCkPCu2KrLlFpjeaXweIBCW+nbDvRQ9eEzM7OxHSp96N362d61dwnW02FFZRDtOrvW8Z5bCVS2avZ5cCVS+avZFbCVyvavZF8FWi4ZB6lokwEEIAvIGTDX05fp.q0892.v4I0LA
-
' const var sampleMaps = Sampler.getSampleMapList();'
This is where you are getting the sampleMaps array. You need to run it through a sort function to make sure it's in the correct order that you've set with the number prefixes.
-
@d-healey Ah, I see. Thanks, but this is beyond my abilities.
Thank you very much for your help, it is really appreciated. -
@alfaholic said in SampleMaps location:
Thanks, but this is beyond my abilities.
Then you need to change your abilities
-
@d-healey Completely agree. Teach a man to fish, and you feed him for a lifetime.
In my case learning the 6th new discipline in a decade can be a bit too much for an average idiot.Thanks, I will investigate further.
-
@alfaholic So, here is how I tried to do it:
HiseSnippet 2951.3oc6ZstaabbElTxaPDaRPRPJP+SAVHTfRCXqPthKoDLRiD0EGWaIQHpD6fVC2gKGQNQKmY6tyJY4f7DzWl9HzGo7FzdlYNydSTJzJW5MoeHny2LyYN2OmcWMHVDPSRDw0puxIWFQqU+8bFdIWNcmoDFu1S1sV8Ov4.RhjF6Zf5eYDIIgNtV85K+XEP8UtWM8Oe+m2mDR3AzbnZ09JAKf9L1LlLGcvVOkEFtOYL8D1rB6tyVOIPv2QDJRA4YYmV0hHAmQlPOjn11RN0p+N6MlIEwCkDIMoV860WL9xgSEWvM6+qXIrQgTEQ6ZCAFYf2WDNVIwp+t1NSYgiGX06jZ.S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Ug1VJg70bjOYK7Y8xg9ca8L3QzHwkqC7VYKd6+p6y0e8abLhq5sPRc+ei1nK++8sQuIS2GfMQgm8jDK+Ob+764nK66p5R+uKQ8XQpD59Z6.5.sIGBiFDPK1rbIUCXCcKEsRfFR4i0D+S3Gbw11NqpEaaWrVfkUftg+s9SOVeYJW0FQOcXHzyNrXHcBL.hRjftg2hgn7taHp6Fh5tgntaHpeZFhx6tgntaHp6Fh5tgn9u3gn9kPJmQBhEuJv7unlRVeWMBHkb8+a3q3bfh1M6erMGmVq0p1LnW0qBBTIBODrvy+Ld2hyr9s3LctEmw+Vblt2hyz6VblMtwynFSX6ToXloHI.LXOSfU88xBrVt1+B76ndYN
Combo box shows correctly the banks filtered, however the sampler does not follow this.
Basically, if I set the fifth Sample Map in bank 005 the sampler sets the fifth Sample Map in the folder, which is basically bank 001.What I am doing wrong?
-
@alfaholic Where did you get thisfilter
function from?sampleMaps.filter();
Edit: Woah! another undocumented function... you're on your own with that one :)
-
@alfaholic I’ve found that it’s a good practice to wait until you’ve added in all your samplemaps before creating the presets…helps keep things in order…secondly I’ve found that you can go into the project folder where the samplemap xml files are and rename them as needed to keep your structure in tact…it’s saved me a few times when I put the cart before the horse