Hello,
I am wondering what the best practices for midi implementation with cabbage are. When using pure csound, I would hardcode the midi implementation (channel, controller numbers ect). Of course, if I am developing a vst with cabbage, I don’t really want to do that. I am using widgets and chnget to control parameters. The user can then map the widgets to a midi controller in their daw. However, I am unsure how to best implement the midi keyboard, since I want to use the keyboard widget (which triggers csound events rather than midi events). The solution in the PadSynth.csd example seems to be to send all midi messages to one instrument that only handles midi and triggers csound events based on that midi. Is that still the best way to implement coexisting midi keyboards and keyboard widgets?