So the API doc wasn't clear to me. You don't pass an array of file names, you pass an array of sample objects, created using one of the Sampler.createSelection... functions.
@oskarsh So I've managed to get most off this working in a way Im happy with. I used a script more like my original because, believe it or not, it was easier for me to read.
I'm trying to disable the LFOs and still control the EQ Bands with the SliderPack. To do this I've used an Inline Function to set IF and ELSE statements turning the Timer on and off.
I cannot figure out how to then allow the SliderPack to control the EQ Bands individually.
For posterity: the alternative to this is to use the ErrorHandler and then do anything with certain errors including custom panels that have flying dragons or whatnot.
The error numbers important to 99% of projects are as follows:
// 0 : Plugin broken
// 9 : Linkfile missing
// 10 : Linkfile path incorrect
// 11 : Illegal Buffer size though this is no longer an issue and will only show up with hip buffer sizes in FL studio
// 12 : Engine.showErrorMessage
Well, JUCE 8 looks like it'll have full animation features so hopefully HISE migrates over to it once it releases and we can have proper hardware-synced animation without all these shenanigans and workarounds 😆
@d-healey Meu muito obrigado, tinha desistido do HISE pelo motivo que preciso de 16 tracks mono para sair na DAW, como peças de drums, mas vou tentar novamente se caso der certo vou entrar no petreon para me aprofundar mais
I would make this rather a polling function like getNumBufferUnderruns() that will get reset after every query so you can ask that from a timer callback, but tucking this onto the ErrorHandler is a good idea.