FreqScopeView shows the frequency spectrum of a specified audio bus.
kill()when the parent window is closed to avoid problems. It also frees the buffers that the scope allocated and stops the FFT analysis synth. So:
The parent view.
The server to be shown in scope.
Create a scope in a special frequency-response mode. This uses FFT-based spectral division to estimate the frequency response of some effect, on the assumption that the signal to bus1 is transformed to the signal at bus2 by some linear time-invariant process.
The parent view.
The bus on which the "pre" signal is found.
The bus on which the "post" signal is found.
Linear (0) or log(1) frequency mode. Defaults to 1.
The following methods are usually not used directly or are called by a primitive. Programmers can still call or override these as needed.
Very important. This must be run when the parent window is closed to avoid problems. It also frees the buffers that the scope allocated and stops the FFT analysis synth.
Turn the scope on or off.
An instance of Boolean.
0 = linear, 1 = logarithmic.
The bus to listen on.
An audio Bus number.
Get/set the amplitude range.
Put the scope into a special mode using a user-specified SynthDef. Note that only very particular SynthDefs should be used, namely ones that are derived from the
\freqScope1 SynthDefs. Most users will not need to use this method directly, but it can be used to provide a customised analysis shown in the scope.
Name of the SynthDef you wish to use.
Extra arguments that you may wish to pass to the synth.
the server that is freqscoped
the synth running the freqscope analysis
the scopeview that shows the running analysis
the buffer used by the scope
The following methods are usually not used directly or are called by a primitive. Programmers can still call or override these in subclasses as needed.
initialize and show on parent view
redirects methods to scope view variable