added simple keyboard control

This commit is contained in:
2025-12-24 20:26:37 -06:00
parent ae85e7ad13
commit c5bf66b31c
12 changed files with 202 additions and 19 deletions

View File

@@ -6,6 +6,7 @@
#include <atomic>
#include "Synth.h"
#include "../KeyboardController.h"
class AudioEngine {
@@ -19,8 +20,9 @@ public:
// stops the audio stream.
void stop();
// params getter
// getters
ParameterStore* parameters() { return &params_; }
NoteQueue& noteQueue() { return noteQueue_; }
private:
@@ -31,6 +33,7 @@ private:
int32_t process(float* out, uint32_t nFrames);
ParameterStore params_;
NoteQueue noteQueue_;
Synth synth_;
// TODO: id like a yml config file or something for these