How to determine range on rslider with total time of an audio file?

james789op's icon

I have used info~sound to determine the range of a normal slider, but the rslider range in inspector stays the same whatever I try, putting 0 and the total time into the left and right inlets only selects that amount of the slider.

Tobias Rosenberger's icon
Max Patch
Copy patch and select New From Clipboard in Max.
size $1
james789op's icon

Disappointingly easy solution, thanks very much :)

Peter McCulloch's icon

Better still: use waveform~; it has options to snap to zero-crossings, beat subdivisions, etc.

(I usually use that as a replacement for rslider...)