integrate audio config into engine and synth

This commit is contained in:
2026-07-05 00:02:53 -05:00
parent 9365e12bb4
commit 295a869839
16 changed files with 71 additions and 41 deletions

View File

@@ -4,7 +4,7 @@
#include <iostream>
ScopeBuffer::ScopeBuffer(QObject *parent) : QObject(parent) {
// timer is set in qml
}
ScopeBuffer::ScopeBuffer(ConfigService* config, LoggerService* logger, size_t size) :
@@ -45,7 +45,7 @@ void Scope::paint(QPainter *painter) {
if(scopeBuffer_ != nullptr) scopeBuffer_->read(buffer_);
// TODO: scale to max amplitude ?
// TODO: scale to max amplitude ? probably make it configurable if you want to make scope options
float maxAmp = 1.0f;
/*
for(float s : buffer_) {