FreqScope:
Filter:
Classes | GUI > Interfaces

FreqScope : Object

Frequency spectrum visualizer
Source: FreqScope.sc

Description

FreqScope shows the frequency spectrum of the specified audio bus. The scope will remain active after a command-period. To turn it off you must either click off the 'Power' button or close the window.

Panel commands:

PowerTurns the scope on and off. This is useful for freezing the signal on the display or for saving CPU.
BusInThe audio bus to be analyzed.
FrqSclDetermines the mapping of frequencies on the x-axis. Can be linear (lin) or logarithmic (log). Logarithmic is equal spacing per musical octave.
dbCutDetermines the lowest decibel shown on the y-axis.

Class Methods

FreqScope.new(width: 522, height: 300, busNum: 0, scopeColor, bgColor, server)

Arguments:

width

Default value is 512.

height

Default value is 300.

busNum

The number of the audio Bus to be monitored.

scopeColor

An instance of Color. The drawing color of the scope.

bgColor

An instance of Color. The background color of the scope.

server

the server whose buses to show on scope.

Discussion:

Example:

Subclassing and Internal Methods

The following methods are usually not used directly or are called by a primitive. Programmers can still call or override these as needed.

FreqScope.scopeOpen

Returns a Boolean, whether the scope is open.

Inherited class methods

Instance Methods

Subclassing and Internal Methods

The following methods are usually not used directly or are called by a primitive. Programmers can still call or override these as needed.

.window

Returns the window in which the FreqScopeView is placed.

.scope

Returns the FreqScopeView.

Inherited instance methods