Closed elgiano closed 3 years ago
I have rebased the bela-merge-formatted-rebase branch to put all the three Scope-related commits on top (this can be sen in https://github.com/BelaPlatform/supercollider/commits/bela-scope-split ), then squashed them, so that the diff is now between no-scope and new-scope and not between old-scope and new-scope and it's easier to reason about it. That's in #84, which supersedes this #83.
Purpose and Motivation
Simpler implementation, with more responsibilities on the server, and more straightforward in general:
SC_BelaDriver's SC_World now has a BelaScope object, made of a Scope and a buffer where UGens can write data to be scoped (
float[maxScopeChannels * blockSize]
)If the server is started with belaMaxScopeChannels > 0, SC_BelaDriver inits a BelaScope, and logs from buffer to Scope at the end of every BelaAudioCallback
There is only one UGen, BelaScopeOut, which writes to BelaScope's buffer, and it's directly usable from clients
Types of changes
Checklist
Remaining Work