polyphony checkpoint
This commit is contained in:
@@ -13,10 +13,10 @@ class Synth {
|
||||
|
||||
public:
|
||||
|
||||
Synth(ConfigService* config, LoggerService* logger, ScopeBuffer* scope);
|
||||
~Synth();
|
||||
Synth(ConfigService* config, LoggerService* logger, ScopeBuffer* scope, NoteQueue* queue);
|
||||
~Synth() = default;
|
||||
|
||||
void process(float* out, size_t nFrames, uint32_t sampleRate);
|
||||
void process(float* out, size_t nFrames);
|
||||
void handleNoteEvent(const NoteEvent& event);
|
||||
|
||||
private:
|
||||
@@ -30,6 +30,9 @@ private:
|
||||
static constexpr size_t MAX_VOICES = 32;
|
||||
std::array<Voice, MAX_VOICES> voices_;
|
||||
|
||||
ConfigService* config_;
|
||||
LoggerService* logger_;
|
||||
ScopeBuffer* scope_ = nullptr;
|
||||
NoteQueue* noteQueue_;
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user