polyphony checkpoint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user