Switching between 5 videos at random
OK, so I'm working on this patch where i want 4 videos played in random sequence one after the other. Each time the patch is opened the sequence should be different, once one video ends it should trigger the next to be played with no repeats. So far i have the [urn] object set up to choose between random numbers and I have that connected to the [umenu] object. However I can't figure out how to load my videos into [umenu] can anyone help?
below is a screenshot of my batch so far any suggestions at all are welcome.
Still having trouble loading movies into [umenu] i've put them into the menu items but I can't get the actual movies to play in the quicktime window. Here is a screen shot of my patch. my movies in the same folder as my patch which is entitled "movies". the [urn] object seems to be working well enough in switching the videos but I can't get them to actually play the videos.
suggestions anyone?
Connect the second outlet of the umenu to the [prepend read], the first one will only give you the number of the selected item in the menu
léo
ok, so i've got this to do just about everything i want it to except actually play my movies. i have a list of movies in the menu items information part of [umenu] my movies are located in a documents folder entitled movies. It is cycling through the movies at random each time a bang is sent until all movies are played but i won't actually play the movies in the viewer.
post your patch
in edit mode, select all, edit menu, copy compressed, paste here
leo
hey asmarquis, this is what i am currently working with.
could it be that you just forgot the metro object ?
I suppose its similar to your issue:
dimbels, could you post this as a screen shot? for some reason all i see is a bunch of code, no maxx patch
How do i use that in my own patch? I just see a bunch of code. where do i plug it in?
copy between ----begin---- & ----end----- (included)
> max > file menu > new from clipboard
leo
can't open it. not sure why, running demo version of maxx and won't let me open this code in maxx. anyway you could post a screen shot of this?
Also wanted to say thanks for all the help from everyone so far. As a newbie and someone not at all familiar with coding or maxx the help provided by everyone on this site have help me tremendously
Maxx won't even let me open new patch from clipboard. I don't get it. i can open a new patcher window or new from template but specifically clipboard will not open
make sure you have the latest version of max installed (5.1.3 i think)
if so, try reinstalling and trashing your preferences.
if no luck, contact support@cycling74.com
thanks rob. got it to work. apparently i wasn't copying the entire code and just didn't notice it