Forums > MaxMSP

help loading random movies from folder


Jun 22 2011 | 12:07 am

Hi,
I can not seem to get random movie play ( from folder)

any help is great.


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


Ed
Jun 22 2011 | 4:37 am

Your patch seems to be missing something:
bpatcher: bpatcher: error loading patcher playr-patch.maxpat
bpatcher: bpatcher: error loading patcher moviefoldr-patch.maxpat

Try this


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

Jun 22 2011 | 11:14 pm

thanks
I am learning from your patch, very patch.
I am wondering if the patch can be use with a vizzie module ( movie file drop)


Ed
Jun 23 2011 | 4:30 am

OH, I see now — you’re using Vizzie. Yes, in my patch, you can delete the jit.qt.movie and connect the PREPEND READ object to the right inlet of PLAYR (jit.qt.movie does the same thing as PLAYR).

The trick for making your patch work is that you have to send a floating point number (one with a decimal) between 0. and 1.0 . Here’s a simple fix to make your code work. I think it will work best if you change the random 100 and / 100. to the number of files or a little larger.

— Pasted Max Patch, click to expand. —

`

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

Forums > MaxMSP