Sound doesn't stop when movie stops

Sep 4, 2013 at 5:43am

Sound doesn't stop when movie stops

Hi – I have a patch which can play both background and foreground videos, which are alpha blended with chroma key and sent to a video plane. I can stop the videos by stopping a metro, which is connected to a jit.gl.render function. For some reason though, when the video stops, the sound keeps going. Anybody know why? I’ve attached the patch for reference. Thanks for any help – this is the last thing I have to figure out to get this thing working!

Attachments:
  1. sfx2.maxpat
#264219
Sep 4, 2013 at 8:31am

you have to send an explicit stop message to the movie. Bangs just push out the current frame of the movie to a jitter matrix, but the movie is playing by default (@autostart 1) as soon as it is loaded.

#264238
Sep 4, 2013 at 6:54pm

Thanks – gotcha.

#264318

You must be logged in to reply to this topic.