I am a new user, and this is my first post on the forum... I hope someone can help me!
I am building a patch in which I am making use of the Buffer/Groove~ combo. I am using the READ message in order to load an audio file into my buffer. Now I would like to use an hslider to scan through the playback position within that audio file (on the fly), with far left marking the beginning, and far right marking the end.
I do not want to use specific times in ms as arguments (within play~ for example), as I would like the patch's flexibility to accommodate samples of any length without having to change arguments manually.
What I was wondering is whether there is an object that reads the duration of an audio file as it is loaded into a buffer, that could then supply the required arguments to play~ so that I can use an hslider to scan through that sample? Does that make sense?
Or is there another solution to my problem?
Thanks in advance...