Expansion Sample Map list
-
This post is deleted! -
@d-healey great, how i can load now sample map from exp to sampler?
Im stucked with this
HiseSnippet 1752.3oc4X80aSbDDeuXNn1k.kp9.uToSV8AiTv3yj+.TUgIAGTZIAq3TDRzpzMmWauv4cOs2dgjhhD8aBeD5Gg9X+3v2f1Y28Ne643XLQk1pV6W7LyN67a9ytyrtifGPhi4BjS48NNhfbtra2iYxgaLDSYnsdHxoj6Zn0ONBGGS5gbbJ8Hk.mxW.o+7t6uNNDyBH4rPnmxoAjGSGQk4b6z56nggah6Q1iNxZ0K2Zq.NaCdHOQnLVCTDN3k3AjcvpksfKx4hs6QkbQWIVRhQNWXcdui6Nj+JlY8OkFSOHjnH7QcgMxvdSdXOEhUbQaLjF1qSlyFiPNtcxc8RFW+Kb2l1iNledH3yzB7x0vNd3rvrfmuM7ZL+vywBdWv.uq41MPPij4RTX6Sc2hIIh9XHEXCKyZQK7BW2M3vJXx5ivujro.HFqQsUazXIuUZz3Fe8hUTegTQrz6PrvqKdTTHQ368Md5Bh5CHxTd0plIrpQuac99309YcdvNc25I6jaZxQQXVLE9MX31rATFQY41YreLMVVSY0IVtpZQoxy+wTD4AZoD6wTRVrRetnFwixrrvMVrxqWrhG7Q4vQf1ZaAw2HhPRIwZCojWzL0iRhGVKpthPshSLVTYrfQGjAM3mssclrr.XgM3ih3LfnV0BqRGNKvodLAVDURFEWcoIgwK3TVsp+.q5MLoAJKDBWd8SXARXQdbVg8RA.AOrVPl0WB76vDhILTNMXCFbiDg.DOVybMTfeK.L6QNBxBJqVFLgoZXabTQzVs56YA4YhmqAxM8+w7pLX0lb8Dt4IZWctBlZew3zafCCO.tWo1ziIYk+luY0m4zFH4AXxPmeLINCrpTb5who3DecQsriIypzX7hpltCmYrLGGmprPo3TKMFuUynx3V2RUajEAD90C43diUrVtYGmBMH8jzigyiqcl4oIAnwerbhc3RxSX0tQkWWobkSp3Mon98mprzsScU1zDqZPIlkh0XIiNfHxhRYKDtotXq.2ytUfcmp.SLxZgb1V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777kc0W56o5Q+OET2kmndBSV+OWnIYWXvf.hcqR0q.SoannU.pKg0SS7GvmTg9Y8UUB8yDhBx1Jv2R+s4gHkHLUqC8rggPG6P6R5XX7CEjfdg+sfxQ3.Ae+.yq6UX8Szb.Txz+A8kc2VQ6M9+Dv0sQ8FnQPup8CBTGDtIDgmtNMOG5b6ygNKeNzYkygNqdNzYsygN2Yl5nFS3AIR9Hykj.iNsMEVNsGWXUB8mflssQg
Sorry for spam!
-
@arminh first make a variable for the sampler.
var sampler = Synth.getChildSynth("your sampler name");After that you can load sample map using sampler.asSampler().loadSampleMap("your sample map" ) ;
If you are using expansion that would be {EXP::expansion_name}samplemap_name.xml
I'm not sure, you can try
-
@fmented yeah but im tryibg to use samplemap list from expansion
-
@arminh no you can't load a list, it has to be a string
If it's in the list you can use its order, like samplemaplist[0] -
@arminh also make sure to use + ". xml"
-
@arminh try this
HiseSnippet 1760.3oc4X0uaSbDD+tXN.aH7kPU8epzIqVIG0fwmIe.TUgIINnzRRrhSQHQQzMmWauj618zd6EbJBI5aBOB8Qn+Yeb3Mnc18ty2dWbbciJTTqiTjmu142Lyt6Lq6vYt3vPF2vr79GGfMLurU2iohgqODQnFasggYIqUMV63.TXHtmgoYoGIEXV9bFpOu+Aqg7PTWbFKCimvHt3GS7IhLtcZ88DOuMQ8v6S70zdoVa4xnqy7XQboyZXDfbODM.uCRp1bVFlmucOhfw6JPBbng44Vi063tCYuhFq+SHgjC7vRBGitvBEydSlWOIhkbMVeHwqWmzfMzvvzpSVnWJNzuo01jdjw7yRAWSIvNyB87g4bSCdN5vqwrCOSM3ctX3ccqttbRfHShDaWxZKp.y6ifRfNrh00Xt2ZYsNCzfJp6iNDuIGHFaQsUZzXQ6kazXguY9Jx+fRQnv9HD2tKxOvCycr+Va0Fh5CvBELUT0plJuZro29r8wt8S67vc5t0t6j4c7n.DMj.eG7ca5.BEKcd6T1OlDJpI8ZA0kaXjl7rmCxjgvnTBvOvBH0zlJUZ9J8Y7ZXaBUyY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+v+FEcn7EwP4FVcEbLxGt6HYp.EdpXkNtv+DujLXleIIbaiZjDxOqo1u0ZsHHewyy8Waob0C8YQzb9JA46gCvHAT90r4hs1aO09+hV89Gn1rrOGlYARE5B1khg7tPOFWmyBC6CgiZsB0E0IhOPlqx3rG9HLOLOO48LCQTJ1SNcgoorwYHVVqItaiDbxHcsUdow9HU8Fddsh1o.cyBz2o.8REnWt.8JEnWMidbaN4NiO6DcujSJdhQltvrMxDrncPPZPSy0HCx5qp3jsotQVpWAOseSgI7h7y+I8OXvGuqcKMav8u32znbJF6RjUm1zifip.GIFuALKWeTjmHka9qM1lQYACYTha9CFvF8ACvbcrOw.5gBAbtLiyMasG1CiB0NY+ksdL7zIDO+48+V4BmYOWLs50maECWa4cc1+2ncYo+22tbZotqjzrzF7NW7Idc9xVpq2skci+2Bp6whjOVIsSmEzNrKLBfKVuon7ESIzMjzR.0ES6oH9C3ShPmzNnRgNoBMbSWJH1R9d7SNJgoxVGpo.8fdyd5aoCgAMjPB558QAk9HWN6Etwu4Vh0Kp3.njp9wzKassj1d7K0srZTuggOzq5EttxCB2BxvS1llmAatyYvlkNC1r7YvlUNC1r5Yvl6NUajiI7vHAyO9RRfQm1warLaOdiUIi+D.hy3OM
-
@fmented thanks! Now it works!
-
@arminh before you do anything, make sure to print the value of thing, so you know it's outputting the correct value
-
@fmented k i checked it now deeper, everything work in interface but it's not workinr like should
I have two expansion Test1 and Test2
I pickup Test 1 and selecting preset test1_1 in sampler i have test2_2
More on gif
-
@arminh I'm on my phone right now, can you post your code?
-
@fmented i used your code without chaning
-
@fmented i tried to figure it out but without succes. I noticed that x array has only one sample map of each expansion instead all sample maps of selected expansion.
-
Ok im a little closer now.
When i'm chaning manullay number in
var expSampleMapsArr = expansions[2].getSampleMapList();
on line 53 i can change sample maps and name in combobox and sampler are the same.
I tried to change this array number by using
expansions[cmbExpansion.getValue()].getSampleMapList();
HiseSnippet 1798.3oc4YstaabiEliUlzJ03zKnnnn.EXfP+gBZphFEe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