Re: Viewing waveform and position during soundfile playback.

heres how i do it: with [waveform~] you can draw a vertical line anywhere you want by sending a message like “line 999.99″ (where nines represent time in ms). the [groove~] object indicates its current position with a ramp of 0. to 1. from the right outlet. so multiplying the ramp value by total buffer length (ms) gives you the current position. make the line location a variable (line $1) with your product and you get a nice playhead with no extra ui objects.

[attachment=159178,2056]

Attachments:
  1. playhead.png
Apr 12, 2011 at 1:33am #201844