Can someone please explain how to use the API, or how to make sense of the examples when making a plugin?
Basically I’m wondering could the API be enhanced to add some more helpful information? Like this class needs these functions to be called, this is what the inheritance diagram is showing you. I guess if you’re an experienced C++ developer, this makes sense, but I’m struggling to get the most basic things hooked up with help from the API.
Take for instance: https://docs.juce.com/master/classMidiKeyboardStateListener.html
It has an inheritance diagram, but what does that mean? The top part is like the Employee and all other employees, part time or full time inherit from that, does that mean I have to make an Employee first and then assign it the role of Part time or full time? So To Get MidiMessageCollector to work I need a MidiKeyBoardStateListener? Or the functions of MidiKeyBoardStateListener are already inside and part of MessageCollector? In the example of MPE where it uses a MidiMessageCollector, there’s an MidiInputCallback, do I need to implement this to make Message Collector work? Or get the callback working on the GUI thread?
Can I just have one MessageCollector one the main audio thread, and then grab the information from the GUI thread via processor.midiMessageCollector, and just feed the buffer into midiCollector.removeNextblockOfMessages? Do I put a MidiInputCallback on the GUI thread and implement the virtual functions there? I’m struggling to see the logic through the example
I get there’s a sentiment of hatred for noobs around here, so I’m not exactly hopeful for a response here.
