This commit is contained in:
2026-01-18 21:06:13 -06:00
parent c199a9b42f
commit b3fe941464
9 changed files with 22 additions and 36 deletions

View File

@@ -11,6 +11,7 @@ void ScopeBuffer::push(float sample) {
buffer_[w % buffer_.size()] = sample;
}
// TODO: needs a mutex to prevent flickering
// outputs value from the scope buffer, called by the scope widget
void ScopeBuffer::read(std::vector<float>& out) const {
size_t w = writeIndex_.load(std::memory_order_relaxed);

View File

@@ -9,7 +9,7 @@ WavetableController::WavetableController() {
init();
std::cout << "wavetable init" << std::endl;
//std::cout << "wavetable init" << std::endl;
}