Previous topicNext topic

Triggering Instances

Questions, comments, feedback, etc.
Post Reply
sjdacruz
Posts: 37
Joined: Sat May 30, 2020 4:53 am

Triggering Instances

Post 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?
Magic
Site Admin
Posts: 3440
Joined: Wed Apr 09, 2014 9:28 pm

Re: Triggering Instances

Post by Magic »

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.
d.a.v.i.d
Posts: 12
Joined: Sun Jun 20, 2021 7:24 pm

Re: Triggering Instances

Post 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.
Valis
Posts: 21
Joined: Thu Feb 11, 2021 6:37 am

Re: Triggering Instances

Post 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?
d.a.v.i.d
Posts: 12
Joined: Sun Jun 20, 2021 7:24 pm

Re: Triggering Instances

Post by d.a.v.i.d »

Hi, yes this would work (similar to what Eric suggested no?)...as 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.
Post Reply