Forums > MaxMSP

sfplay~ report duration?


Mar 07 2011 | 3:18 am

Hello,

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?

Thanks,
Suzie


MIB
Mar 07 2011 | 4:50 am

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

Mar 07 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