Sampler sample switch/browse
-
Hi Guys. I want to use the ComboBox to be able to browse between the RR groups on the Sampler. Any ideas on how to do that?
-
@Reylon What do you mean by browse?
-
@d-healey mmm just to be able to switch different sounds on the UI
-
@Reylon
Sampler.setActiveGroup
-
@d-healey Thank you. I'm trying to figure it out by reading the docs. Seems a bit more difficult than expected.
-
Everything is difficult before it is easy. This is a relatively easy thing, so take the time to figure it out.
You need to create a callback for your combo box, and you stick the code within that callback. Use the combobox value as the group number.
You'll also need a reference to your sampler which you can get by right clicking on your sampler's header. If you still feel stuck I recommend you watch and follow along with my video from last year where I built a sleigh bell instrument. It's a good one to get a handle on the basics of building a HISE instrument project.
-
@d-healey Exactly hahah. Thank you for the information. Will watch the video :)