BelaScope:
Filter:
Classes | UGens > Bela

BelaScope : Object

Bela's Oscilloscope interface
Source: BelaScope.sc

Description

NOTE: This UGen only works on Bela

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.

Setup

Using BelaScope requires:

Usage

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.

Class Methods

BelaScope.scope(channelOffset, signals)

Send an array of UGen data to Bela's oscilloscope.

Arguments:

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

Returns:

the array of signals passed in as an argument. This allows for transparent usage of .belaScope() in processing chains

BelaScope.monitorBus(channelOffset, busindex, numChannels, target, rate: 'audio')

Scope a Bus on Bela's oscilloscope

Arguments:

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.

Returns:

A Synth used to monitor the bus.

Inherited class methods

Undocumented class methods

BelaScope.prInputAsAudioRateUGens(signals)

BelaScope.serverScopes

Instance Methods

Inherited instance methods

Undocumented instance methods

.bus

.node

.server

Examples