Forums > MaxMSP

waveform~ vertical time lines

June 27, 2009 | 12:39 pm

is there a way to get 8 vertical parralel lines across the waveform?

June 27, 2009 | 2:15 pm

Not the most elegant way, but it works (using multislider).


— Pasted Max Patch, click to expand. —

June 27, 2009 | 3:44 pm

aight, thanks for that. exactly what i mean. but indeed a bit of a rusty way.
is there a manner of doing this with settings in waveform~’s inspector?

June 28, 2009 | 10:53 am

If you use the grid feature, you can scale it to the display size and get a grid at whatever spacing you want. So if your sample is 10 seconds long (info~ gives 10000 msec), and you want a spacing of 8, multiply the total length by the reciprocal (one-eighth) of that amount: grid 1250. Or you could cut it up any way you want with different values, though there’s a limit to how close waveform~ will draw the lines.

If you move/zoom around you might want to match the grid to the new length (use display start/length values to calculate), though the multiplier would stay the same. Depends if you want an absolute versus a relative grid display.

June 29, 2009 | 10:45 am


Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP