Music Visuals

Triggering Instances

Page 1 of 1

Triggering Instances

Posted: Sat Dec 05, 2020 6:53 pm
by sjdacruz
I'm looking for a clever way to use a MIDI input button to "power" a module, such as a media-video file, or even a scene module in such a way that further button presses would make multiple instances of the module being activated.

Basically: iterator defining translation X,Y,Z with trigger(random) to make video appear in different areas ->Midi Button pressed -> video starts playing -> button pressed 2 more times, a second and third instance of the video starts (in random locations) while the original plays out -> button is pressed again etc...

Perhaps I should request an "Instance" feature in the adjacent forum. Thoughts?

Re: Triggering Instances

Posted: Sat Dec 05, 2020 8:44 pm
by Eric
You could use the Iterator module, but in that case, the only issue would be that all the VideoFile modules would be at the same playback position. A separate VideoFile module would be needed for each video that plays at a different start time.

What I suggest instead is that you decide on the maximum number of videos you want playing at the same time (3? 5?) and create VideoFile modules for each. You can then trigger them to start at different times, and/or set their color to completely black or transparent so they can't be seen before they start playing. You can also deselect the Looping option so that they go back to black when they're done playing. Then you can restart them again later.

Re: Triggering Instances

Posted: Thu Jul 01, 2021 10:06 am
by d.a.v.i.d
Eric wrote:You could use the Iterator module

Hi, how exactly would this be implemented please?

My scenario:
1. Midi note triggers scene which contains object, that translates across screen on x-axis.
2. When the same midi note is received, the same scene/object is retriggered, but the previous triggered scenes continue to run across screen, uninterrupted.

Hope this makes sense and thanks in advance.

Re: Triggering Instances

Posted: Sat Jul 03, 2021 6:49 am
by Valis
Key opacity somewhere and have them already present but not yet visible? This will probably limit the number of 'voices' but otherwise will work I think?

Re: Triggering Instances

Posted: Sat Jul 03, 2021 8:50 am
by d.a.v.i.d
Hi, yes this would work (similar to what Eric suggested no?) you say, this would have implications on processing power...also, was looking for a more elegant solution than hiding duplicates, as you will always have to plan how many scenes/objects need duplicating etc.

All times are UTC
Page 1 of 1