Use the plot~ object to graph sets of data as points across a domain. The source of the data to be visualized may be a Max list, an MSP buffer~, or an audio signal. The number of plots may be changed with the @numplots attribute, and each of these "subplots" is addressed through a dedicated inlet. A variety of out-of-the-box configurations are provided as Max object prototypes.
audioframerate [float] (default: 15.)
Speed for display update when a plot~ is visualizing an audio signal. The drawing for such cases is driven by a clock operating at the specified number of frames per second.
audioframesize [atom_long] (default: 0)
Number of samples collected from audio input to create a single frame of data. By default, audio signals will be visualized by collecting sample values until the number of points in the plot is full (audioframesize=0). Then all points will be updated and drawn. An alternate audioframesize value must be greater than the value of the numpoints attribute.
In some cases it is desirable to collect a larger set of samples and then visualize only a portion of those samples. To visualize the output of an FFT, for example, it is often desirable to only view either the first or second half of a frame because they are mirror images of each other. By setting the audioframesize, the number of points in @audioframesize will be collected, and only the first @numpoints will actually be drawn.
bgcolor [4 floats] (default: 1. 1. 1. 1.)
domainlabel [symbol] (default: )
Bottom (horizontal) text
fontname [symbol] (default: Lato)
Sets the font used, by name.
fontsize [float] (default: 10.)
Sets the font size, in points
gridcolor [4 floats] (default: 0.5 0.5 0.5 1.)
Sets the grid color in RGBA format.
gridorigincolor [4 floats] (default: 0. 0. 0. 1.)
Sets the grid color at the origin in RGBA format.
margins [4 floats] (default: 8. 8. 8. 8.)
Indent margins (top, right, bottom, and left)
numplots [int] (default: 1)
Number of data sets to be plotted. The object will grow/absorb inlets as needed. Each 'subplot' will be addressed through its dedicated inlet.
numpoints [int] (default: 4)
Sets the number of points to be displayed across the domain of all plots
rangelabel [symbol] (default: )
Left-hand (vertical) text
thinmode [symbol] (default: sample)
Data-thinning behavior when the size of the data set (number of points) exceeds the number of pixels available to display each point discretely.
'none' ( All points will be drawn, and will overlap as needed )
'sample' ( Number of points will be reduced according to thinto prior to drawing )
thinthresh [int] (default: 10)
The point at which the thinmode is invoked to begin reducing the data set. By default this attribute is set to a value of 10, meaning that once there are 10 points being drawn at the same pixel location on the screen the thinmode will be invoked.
thinto [float] (default: 0.2)
Factor by which the data set is reduced when the thinmode is invoked. By default the factor is 0.2, which results in 5 values being overlapped at a given pixel location.
Common Box Attributes
While 'lines' will display more quickly than 'linear', the 'linear' option will look better in some cases (usually when working with high thickness values). The difference between the display styles is related to how line segments are joined at the elbows: 'lines' does nothing, while the 'linear' option makes smooth connections.
The 'mouse' message is sent together with normalized mouse coordinates and the mouse button state.
|Audio Filtering||Audio Filtering|