sfplay~ report duration?

Mar 7, 2011 at 3:18am

sfplay~ report duration?


I’m having trouble figuring out how to get sfplay to report the duration of a loaded soundfile similarly to the way the “getduration” message works in jit.qt.movie. I’ve looked at the help file and the reference doc to no avail. Maybe sfplay can’t do this? if it can’t is there some other object I can use to play back audio files that I can program to report duration when a file is loaded?


Mar 7, 2011 at 4:50am

if I’m understanding correctly you should have a look at the [sfinfo~] object.

Mar 7, 2011 at 4:47pm

Thanks so much! I didn’t know that object existed.


You must be logged in to reply to this topic.