So I am using polybuffer~ and groove~ (or sometimes play~) and picking legthy sound files algorithmically, some field recordings, some other stuff, etc.
I need to know what file it is playing and how long it is, and that info is pretty easy to display with info~
But also need to know where we are in the file, some output of the current duration, like time elpsed on a CD player or a progress bar. Since I need to make some descisions during live performance dependeding on what files is playing and how far along we are in that file.
I thought that this would be a common requirement and easy to do... I thought you could do this with the playbar, but the playbar is not a progress bar but is used to trigger a sound (it doesnt come out of a sfplay~ object but is put into one to control it)... further it doesnt display time AND it doesn't work with buffers (play~/groove~) only sfplay~..... a final wrinkle is that some soundfiles play at half speed (or so) and some play in reverse.... ack...
Turns out this is not common? or trivial? Anyone ever do this?