Allows to scope signals on Bela's built-in Oscilloscope, which can be accessed from Bela's web interface. It is not needed to interact directly with this class, as UGens, Arrays, Busses, Functions and Servers can be scoped via their .belaScope() method.
Using BelaScope requires:
Once a Bela server is started with options.belaMaxScopeChannels > 0, it is possible to scope UGens and Busses using their .belaScope() methods. See examples below.
Send an array of UGen data to Bela's oscilloscope.
channelOffset |
Bela's oscilloscope channel to start scoping on. This has to be a non-negative number, and can't be changed after scoping starts. |
signals |
Array of UGens to scope |
the array of signals
passed in as an argument. This allows for transparent usage of .belaScope()
in processing chains
Scope a Bus on Bela's oscilloscope
channelOffset |
Bela's oscilloscope channel to start scoping on. This has to be a non-negative number, and can't be changed after scoping starts. |
busindex |
Index of the audio bus to scope |
numChannels |
Number of bus channels to scope |
target |
Bela's SuperCollider server, or any node on that server. The bus is monitored after this target, or after this server's RootNode if a server is provided as target. |
A Synth used to monitor the bus.