Previous topicNext topic

Image folder skip button and randomize button

Suggestions for new features for Magic.
Post Reply
confidentchill
Posts: 1
Joined: Sun May 14, 2023 7:16 pm

Image folder skip button and randomize button

Post by confidentchill »

I would like the ability to randomize an image folder playlist and have the ability to skip to the next image manual. A hot key option for this skip button and the skip button for the video playlist would be a very helpful addition.
Sadler
Posts: 1151
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Image folder skip button and randomize button

Post by Sadler »

This can be done already.

Add a Random Trigger to the Index of the JPEGFolder. After that, add an expression with the following: (x*imagecount)+counter*10
where...
imagecount = a global recording the number of images, and
counter = a global

After the JPEGFolder, insert a Reset node.

Now, with the mouse, you can select a random image by clicking reset and you can move through sequentially by increasing the counter. You could control both with MIDI or OSC.
Post Reply