Problem with Sampler GroupXF / Crossfade Groups
-
Hello to all,
I am trying to switch GroupXF on or off. Unfortunately it does not work with a ComboBox, nor with a button. Not even programmatically.
Is this a bug or am I doing something wrong? I have created a video that shows that it does not work with a ComboBox.
Thank you very much
Oli -
@Oli-Ullmann I assume the problem is that a combobox value starts from 1 not 0. So you would need to script it and subtract 1 from the value.
-
@d-healey I've already tried that too. I have also tried it with a button. Unfortunately, no variant works.
-
You're right, must have broken recently as I'm using it in a project!
@Christoph-Hart Please take a look.
HiseSnippet 1215.3ocyW80aaaCDmJNLH1qKXsnOrWFfPvdvYnHv14ONEEC0wNIcAqNwvNqXuUPKQYSDIRAJpr5MzuSaeC1Go9MX6HkjsjiQpiWaV8CF5ti2c+z8WpdRgCMJRHQVUtZRHEY8H7fIb03NiILN57SPVag6RhTTocBq1SBIQQTWjkUoWoYXUdcj42GdYahOg6PmwBgdif4PeMKfolwsWqel46eFwkdEKH2o2u04NBdGguHFvSIbMTHw4ZxH5ED8wVCi9IRzXj0OfqsecOum2jzzg1Xe2lG1nI0cHsg2ddNG0z0cOu5dtMd9QGfr13TWlRHGnHJZDXz1B2ICFK9MdhCdCKhMzmpIpiF.dNgMpyXluaurfSDBYg6MKTUJIT8TbWlKaJ+YgruwHvdlF4CZVqcWPp98.RV4fz5IP5w3ANRVnZlDMd9J74bHC5QfbSdnjbVzZ+kEti.NAWsa.4Z5YRfXpFUOrVsmYC+syKpTAxOQJ6aHR6AjfPeprt8OZaJX1cDUYfngp51Yx2VqFi6y3TauXtihI31Bd6XkRvqqcqT3W0QDDJ3..dFXb+X5NU9iJkyLwtQT0wJkjMLVQqNkaGoHJxCphdkTDGFko4Kp7dviYuOZTkY6pam50s2QaxTe2g36ODpypNOn.KkCvWHTzK4UM.qx6qXOuHOuEJK0V.fWnXcCf7tTrJONXHUlOrnOHjvKVEswxUE4jDVxcPA+bNScYHMk9Lguqt5P+7sq4PowUc0WJBgipL0dakV6kDEQLvHkwogTjA94GLf9kyOgnHYFBrI3mPpTwzuNVmPuAFbjTTWFeBM5ZkHzb1zjIDAVB29Nnw0BPKZh9gSLSetUSCztJbi8Iph8v5oaoBfTRgFGcyAOholje528nwt1c1XurP7w3dLky3Eiw0V.Fgf8mCLlNN7qwm54QcTy.353y90Uc12x69uKw8OAOPIoj.FeT5HBCFpfyFX7oX0U3Ru5pmj5KHtCX+dti82sZGCwHYQt+YKiqNNPDyK3qTj2mFRIJHMmSmMa0uuYt27Z8gWZJJtRBizfPQdAWxoPrVk+cbtYn4E0KVNRGqlwoO8FpLpHuKhCf7MmS8izcXV5F6HpN+xb5RfY1uK+oMdo1UDSNF1manqOGci4n2aN58mi9f4nObN5lynSBncIg5JCfd9onatbSQACzi.ux4NYa1noFOgSwwG4N5zXtAWoBv356Bk7TkBRZQ4N8B16uwmqqhr9x0N9QVQ7k+.1B2bpbFFGvz4uS42.Mt.GMFeBr4wiD6qx3VbHRWAWDNVvYNEaSfx9Qinx7XeguPvkZftzYbdZq9TeJIJWe92250vMmHxhc+2qXw8+VjKLe8s3D3Zqm7Y+eIu8fVlcmKIKsTKI+ji2Ueg4CZnaqzUm1f2kpuvyyOBaF1aq2M++ET6Kh0iuy16ggkiCfKD3PyuhbM8Z2D5ZZZMfFP4tFh+A9kJrd19Tsv5YBQNYlBd2Re1bOZqRTtdeh4te9vlZ+7kzQv0NzPB148ffx.hiT7VmjuPPi0MMb.TxMeKeYbWMs8B9vf.Xe0acbJZpaoXiUUw8VUE2eUU7fUUwCWUEatpJdzGWQ80INNVIBRFlhPc6cZRAn0oSK.Kg9W.sXeuk
-
@Oli-Ullmann Just did some more tests. It is in fact working, but you need to close and reopen the sampler to see the value update.
-
@d-healey
Hey David,could you share a snippet? It still doesn't work for me. Even when I close and open the sampler, the value remains unchanged. Maybe I'm doing something wrong?
I am on HISE version 4.0.0., build version 650.
Thank you very much
Oli -
@d-healey All right, I've got it. Forgot the “value - 1” thing... :-)
-
@d-healey
I have experimented a little. If you also integrate the sampler into the script as a “typed sampler script reference” and then use the “refreshInterface()” function, the interface is also updated when the sampler is open and you don't have to close and open the sampler.