Forums > MaxMSP

bang after movie file finishes….?

February 19, 2010 | 11:38 am

sfplay~ can send out a bang when cue, file, seek, or list of cues is finished.

anyone know how to do that w/ movie files using or any alternative object?
I want to send a bang after the movie file finishes playing.

can anyone point me to the correct tutorial?

February 19, 2010 | 6:05 pm

the loopreport message to may be worth looking at.

February 20, 2010 | 4:12 am

hi mark,

thanks for your response. the loopreport message sends a bang every time the file loops.
but when I turn loop off loopreport sends a bang only at the beginning of playing the file.

how can I send one bang when it reaches the end w/ loop turned off?

February 22, 2010 | 5:49 am

my hacked solution to a similar situation was to poll with the ‘gettime’ message and work with the value it returns…

February 22, 2010 | 6:36 am

Can you route the bang to also stop the playback in addition to triggering whatever else you want? This way you get the bang at the end of the loop, but it stops playing before playback begins again.

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

Forums > MaxMSP