Problem with sel and jit.qt.movie

Aug 23, 2013 at 9:47am

Problem with sel and jit.qt.movie

Hey Max fans,

I’m trying to route the time and duration of a movie to a sel object so that I can start crossfading at a specific percentage from the end of a movie. I’m using the duration to determine the starting point for the crossfade and using the current time to trigger a sel object based on that number. It seems really straightforward, yet the sel does not send out a bang when the time reaches the number set by the duration. Does anyone know what I’m doing wrong or have a better way of doing this? A very simplified version of the patch is pasted below.

Thanks!

– Pasted Max Patch, click to expand. –
#259700
Aug 23, 2013 at 10:42am

Your odds of the reported time hitting exactly the duration of your movie are extremely low (say, roughly 5% likelihood). So instead of testing for an exact match with sel, you should use [>=] to [change] to [sel 1].

Your problem is addressed in this thread:
stop playback at a specific time
including some examples of what I described above.

#259705

You must be logged in to reply to this topic.