@David-Healey it adds an empty slot, but it basically loads the first file anyway, so the last file of the list won't load.
I added a blank wav file and use it to call the Room sampler, but it's not working :/ I'm doing your Hise scripting foundation course, but it's still hard to put it in an Audio context.
inline function onComboBox0Control(component, value) { local smpRoom = Synth.getChildSynth("smpRoom"); if (value > 0) convRev.setFile(irs[value - 1]) && smpRoom.setAttribute(Gain, -100) && convRev.setAttribute(WetGain, 0); else if (value = 4) convRev.setAttribute(WetGain, -100) && smpRoom.setAttribute(Gain, 0); }the IRs get loaded, but volumes don't change and i get no error when compiling. what am I doing wrong? (4 is the blank wav file)