scopes

class AmplitudeScope(*, add_action: AddAction | SupportsInt | str | None = AddAction.ADD_TO_TAIL, bus: Bus | BusGroup, context: BaseServer, target_node: Node | None = None)

Bases: BaseScope

An amplitude scope.

class BaseScope(*, add_action: AddAction | SupportsInt | str | None = AddAction.ADD_TO_TAIL, bus: Bus | BusGroup, context: BaseServer, target_node: Node | None = None)

Bases: object

Base class for scopes.

play() None

Start the scope.

read() tuple[int, list[float]]

Read latest data from an online scope.

stop() None

Stop the scope.

class FrequencyScope(*, add_action: AddAction | SupportsInt | str | None = AddAction.ADD_TO_TAIL, bus: Bus | BusGroup, context: BaseServer, fft_size: int = 4096, frequency_mode: 'linear' | 'logarithmic' = 'linear', rate: int = 4, target_node: Node | None = None)

Bases: BaseScope

A frequency scope.