| 6 | #include "PluginProcessor.h" |
| 7 | |
| 8 | SynthController::SynthController(NeuralNoteAudioProcessor* inProcessor, MPESynthesiser* inMPESynth) |
| 9 | : mProcessor(inProcessor) |
| 10 | , mSynth(inMPESynth) |
| 11 | { |
| 12 | // Set midi buffer size to 200 elements to avoid allocating memory on audio thread. |
| 13 | mMidiBuffer.ensureSize(3 * 200); |
| 14 | } |
| 15 | |
| 16 | std::vector<MidiMessage> SynthController::buildMidiEventsVector(const std::vector<Notes::Event>& inNoteEvents) |
| 17 | { |
nothing calls this directly
no outgoing calls
no test coverage detected