Forums > MaxMSP

sfplay~ report duration?

March 7, 2011 | 3:18 am


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 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?


March 7, 2011 | 4:50 am

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

March 7, 2011 | 4:47 pm

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

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP