polyphony checkpoint

This commit is contained in:
2026-06-12 23:13:18 -05:00
parent 347f585630
commit 9f79f11a19
10 changed files with 218 additions and 39 deletions

View File

@@ -10,6 +10,7 @@
#include "ConfigService.hpp"
#include "synth/AudioEngine.hpp"
#include "synth/KeyboardController.hpp"
//#include "synth/ScopeBuffer.hpp"
int main(int argc, char* argv[]) {
@@ -17,15 +18,16 @@ int main(int argc, char* argv[]) {
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
// create app objects
ConfigService config = ConfigService("config/sonobulus.cfg");
LoggerService logger = LoggerService(&config, "Engine");
NoteQueue queue = NoteQueue();
//ScopeBuffer scope = ScopeBuffer();
KeyboardController keyboard(&config, &logger, &queue);
Synth synth(&config, &logger, nullptr, &queue);
// audio synthesizer doohickey
AudioEngine audioEngine = AudioEngine(&config, &logger, &queue);
AudioEngine audioEngine = AudioEngine(&config, &logger, &synth);
audioEngine.start();
// attach backend gui components