Assign Container to MIDI instrument?
-
Hi! I am very impressed by HISE and my goal is to create GM compatible multitimbral synth (128 instruments). Somebody knows how to assign Container with sampler to different isntruments (reading midi change program event and so on? Or is it possible to organise my instruments as bank with bank and patch select feature (and read it trought midi)
-
@Virtuon Samplers load SampleMaps - these are the instrument audio in in question, so you could have 128 sample maps - each one for an instrument, you would then be able to load each sample map based on user selection or based upon some MIDI data you are listening out for.
-
@Lindon Yes I understood how it works. But I can't understand how to filter and script midi data. Is there some guide to scripting?
-
@Virtuon yes its the API: go look at the calls you can make on the Message object
You can apply these in the OnController callback
-
@Lindon Thanx for your help but it seems it won't work this way. This is different classes of events. Controller 0xBc and Program Change Event 0xCc.
-
This might help you get started.
https://www.youtube.com/watch?v=8JO4m-OloqA&t=450sHISE can respond to controller events and program change events independently. My latest tutorial (on Patreon) covers this but it's all in the https://docs.hise.audio/ and API browser.