Forums > Jitter

play movie once, no loop, then dispose ?

Jul 25 2010 | 12:20 am

hi hi everyone i’m working on a sampler patch and i have two questions –

is there a way to play a movie once with no loop and then dispose it? "dispose" does what i’d like. but i don’t know how to send the appropriate messages simultaneously so that the clip plays once with no loop and then clears completely from the matrix. i know that commas prioritize the messages. however, the movies are being selected from a umenu: drop a folder of clips onto the patch and the umenu populates, then a number message is sent to the umenu, which then reads to… and so can someone help me?

and another question… is it possible to make a button that, when pushed down, begins playing the movie, and when released, disposes (even if not completed)? i’ve looked at all of the attributes, couldnt find it. i suppose if max can’t do it, i know i could with flash, but i’d like to keep it all within max if possible.

i’ll attach a simple patch… i’d really appreciate any help! thanks!

  1. av_sampler.maxpat
Jul 25 2010 | 6:21 pm

wait maybe i will try a different approach… as the movie is looping, you can toggle its visibility+sound. i’ll just try it out!

Jul 25 2010 | 7:12 pm

hope this helps

-- Pasted Max Patch, click to expand. --

Jul 25 2010 | 7:28 pm

oh great — thanks strimbob! this is a huge help! thanks so much

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

Forums > Jitter