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:
parent |
The parent view. |
bounds | |
server |
The server to be shown in scope. |
Example:
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.
parent |
The parent view. |
bounds | |
bus1 |
The bus on which the "pre" signal is found. |
bus2 |
The bus on which the "post" signal is found. |
freqMode |
Linear (0) or log(1) frequency mode. Defaults to 1. |
Example:
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.
mode |
0 = linear, 1 = logarithmic. |
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 \freqScope0
or \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.
defname |
Name of the SynthDef you wish to use. |
extraArgs |
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