integrate audio config into engine and synth
This commit is contained in:
@@ -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_) {
|
||||
|
||||
Reference in New Issue
Block a user