MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / SynthController

Method SynthController

NeuralNote/Source/SynthController.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "PluginProcessor.h"
7
8SynthController::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
16std::vector<MidiMessage> SynthController::buildMidiEventsVector(const std::vector<Notes::Event>& inNoteEvents)
17{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected