CumstomSampleImport - Multi Sampler
-
@DanH I got a bit closer this morning before I had to jump into a different project.
HiseSnippet 3502.3oc6bstbaabEFTRv1j9Zxjlo+IyrkSmTpNJJbgrjriGGSIQIG0JYoJJamNNdbVAtjDIfXYA.krpqmw+H+n+pSeD5iPeDxiPdD5L8EHuAsmcwsEf.jfTWriGwew8xY2ys8b9vAb4t1LcpiCyVoPw8OtGUov0Tabrkam05PLrT1rtRgapttIsK0xcUh922umxpG2i33PapTnvzOjOoBEmQQ74mevpDShkNMpKEkmvLzoaYz0vMp2cq8GMLM2fzjtuQWoYe6ZapyrViYx5CLzzpUU5A6IoM8QD9zlRUovkVuogKytgKwk5nTXlUYMOtQG1QVdy+IFNFGXR4MvJMfExq6MXlM4bLuWk05XX1b2.A2QQovk2MRMLsmZ3iT21noQX+QpiaIF.EQgr9nvTwYuoiwdXY1qpD6kBKUPhklwik9.0F51F8biFgyOWUcSKWpcKBn1kYEu4pL0S+X00XvLrbmuK46oaXCMBonBVqZ04PKUs5r2qTIP263hNjXiZP51yjZiQ2GI7FluM00uuJkCFrLPy.jnMLRz3jTxl1F4v5a07dQeE68cWlKwzaxNvBUcvdwQca3rVeGWV2sI8fNaQLcnCL.NZjRk97O+2fJuK3NUFsEqsgNzA5QL2NFV.WzipaPLmCY3h9NfZjCX0bPeNpiQSfWzo1tfG.h5cTvY94mWVeQAq9p8ccgN363yBz3fNXMV2dLKnQkxbeisXrdkmctRnr9jMo6Qr.Ve7ok6+U2l0qG0t7rO+dYRtr.sd8M2+EasyN65otSLvdq7nGtNLBNlCvWsySeQ881Y2cWeOXLMtFOZzU52zf8TxgzVL6tbcT57Z7oklGlujj4JDaVwW.tteWhE0LShCmQbB2idH01glIY9iK7tMrLMrnnV8szcMXVHGpK23sMqIsB0+KyV5UkJFWTmGlWkxTKBDdvyPOGJX5n6eeI8NrIEC4SOxNzKrRZjvsgbJhoVFFUxlQfvWWZnhzZDSyCfXzUzCzFyAZLy9dhnQqJ9MJVLodH33x7FVMoubm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ox4D4OLne6p71bFpA0ponw+C93OHNHAJePbvfJ5AKEHa9eW73AEll5+fN.XOSH0rorKsCfyfyRPRtI.qj1EXkt.qzEXkt.qzXgUZgKvJcAVoKvJcAVo2OvJcCOE5UEEcV7uEhPWlQQnkK8Vb.S+zoOfoczcgsGvsX4zi4DagaP6ZvqodL7I.LiMro+EQoWiW7Z9ElHkg94GrAHjoRSChaeuqVPR3TfVe5b64LF+w2Ly6b+w27dcZ7EuHM9IOM9a2h+O862E++7HUx4wdzknaydQvc8DLPWQzCH2Vh+JwJptMuMJ7dZnpVc9pJcgHbuPWmqh+LHfY5znMAzrvDPysm.ZVbBnYoIflkm.ZtyPogmbYk9trtdG4fN1ccODFEVODgwzJ+e.+R59PC
Errors I am still seeing:
-
Sampler 2 Loop Xfade range does not visibly show but does work on backend.
-
Sampler 1 Loop Range & Xfade Range works on its own, but the drag action and correct coloring only work when Sampler 2 has a sample loaded as well (super weird, cant figure it out).
-
-
@trillbilly yeah that's pretty weird, I can't see anything glaringly obvious in the script. It seems like you've done the right thing - or at least what I would have done
I thin @Christoph-Hart will need to advise whether this script is capable of loading multiple custom files into multiple samplers. If I load a sample into each sampler and hit compile the 2nd sampler goes blank again for example....
-
@DanH I believe it was @Christoph-Hart and @orange who put this together. Maybe Im mistaken.
-
@trillbilly yes but that was for one sampler...
-
@DanH Ahh, I see, I just assumed it was the base sampler for Cube or something. I assume too much...
-
@trillbilly actually that's a good point, Cube uses it too. Let me check if it can import multiple files
PS Cube is @Casey-Kolb not @orange
-
@trillbilly ok it does, so we need @Casey-Kolb to tell us how :face_with_tears_of_joy:
-
@DanH Dang, sorry guys, I try to keep track the best I can lol.
@Casey-Kolb please enlighten us
-
@trillbilly Hey there! What in particular is still tripping you up? For the most part, Christoph's example should work, but we did tweak some of the scripts a bit to work with CUBE.
-
@Casey-Kolb Hey man, thanks for getting back to me!
The only thing I seem hung up on still is getting multiple samplers loading and saving the given sample. Sampler 1 will save correctly, but Sampler 2 will not.
For example, I save Preset 1 and Sampler 2 is enabled with a sample. I leave Preset 1 and come back, Sampler 2 no longer has a Sample Loaded.
I've got to be missing something in the "SampleLoadSave" Script
-
@Casey-Kolb How were you scripting it for the 8? samplers in Cube? Did you create new namespaces etc for each sampler?
-
@trillbilly -- well the easiest way to address this is:
- add a text box for each sampler - that shows the name of the loaded sample
- make the callback for the text box be the CB that loads the sample into the sampler
- make sure the text box(es) are all SaveInPreset enabled
-
-
@trillbilly no that’s cool thanks - it’s always the little things in these kinds of scripts! Well done!