ScopeView is mainly intended to support the implementation of Stethoscope (an oscilloscope), FreqScopeView (a basic frequency spectrum plotting view) and FreqScope (a frequency spectrum analyzer tool).
It is optimized to efficiently perform frequent plotting of the contents of a Buffer into which a ScopeOut UGen is writing. It will periodically poll the buffer for data and update the plot, as long as the ScopeOut UGen is writing into it; the buffer will not be plotted otherwise.
The number of the Buffer to plot.
As soon as a valid buffer number is set and a ScopeOut UGen is writing into it, the view starts periodically plotting the buffer. If the ScopeOut UGen stops writing, or an invalid buffer number is set, the plotting will pause.
buf |
An integer. |
The plotting style:
value |
One of the above Integers. |
The scaling factor on the horizontal axis.
aFloat |
A Float. |
The scaling factor on the vertical axis.
aFloat |
A Float. |
The horizontal offset.
aFloat |
A Float. |
The vertical offset.
aFloat |
A Float. |
Fill area under scope.
aFill |
A Boolean. |
The colors used to plot each of the channels.
aColorArray |
An Array of Colors, one per channel. |
This explains all the options: