MultiVideo Switch to MovFileOut not exporting all Audios

Kinda been breaking my head looking for the right combo here.
I’m trying to do a setup (there are many tutorials out there how to do video mixers, but this question is NOT about that) where I can switch between videos, and going to a MovieFileOut and record, BUT WITH each videos own corresponding audio, too.

Let me also say what I already know (so you know what I’m not asking), because I’ve chatted and seen a few subjects and people don’t seem to understand, or I’m just not finding the right articles, and I get answers to things that I already know or aren’t relevant to produce the solution.
The setup: (example)
4 videos, each have their own audio.
Pretend they are 5 seconds length.
The outcome wanted:
When a button/key/midiNote is pressed, it switches between videos and you only see THAT video and its own audio.

I know that you can add multiple MovieFileIn TOPs to a SwitchTOP or CrossTOP.
In order to hear a video’s own audio (lets say in a MovieFileOut) you need chops, like add a MovieAudio CHOP and HERE is where it gets crazy…and where people usually drop off after they say this, thinking they answered the question…
NO, linking the MovAudCHOP in the ‘AUDIO CHOP’ parameter of MovieFileIn does NOT solve what I’m trying to do.


This will only export a specific video’s audio, regardless of which video is switched and playing in the final output.
What about when I switch to any of the other 3 videos that have their own audio??

Basically, the audio & video of the previously played video has to STOP, when a new video is selected and that video’s audio has to also play, be heard, output, exported, whatever, it just has to be activated.
Or more simply, each video’s own audio always has to be activated (and the only audio you hear) when a video plays.

As a final compartmentalized example, picture this scenario:
You want to make ONE final video, by mixing/switching videos (in realtime or not) and the whole thing is controlled by (ie) keys on a keyboard.
Pretend now, that you have 4 videos of 4 different people, and each person is saying one word.
EXAMPLE:
Person 1 says “I”
P2 says “love”
P3 “orange”
P4 “juice”
The desired effect is for you to be able to press 4 different keys (ie 1,2,3,4) and each of those videos to be linked to each number, but wherever you output this you want to HEAR the selected video’s audio as well.

Skimming off the fat-
I already know how to make buttons, using keys, midi, or any input, and how to switch between the videos, (ie press the key “1” on a keyboard, and that is linked to the Person 1 video saying the word “I”) using this combo-
MovFileIn (4 of them, lets say), >SwitchTOP>Cross(optional)
and the activator CHOPS are KeyboardIn>Logic>Fan>Null, with the NULL linked (ExportChop dragged and dropped) on the Index number field (see image)

At this point, I can press the key “1” and it will show video 1. Press key “2” and it switches to video 2, and so on.

The problem is this doesn’t output the audio of each video.
As you can see in the image, I’ve tried adding audioMovie CHOPS, for example to each video, but there is only one that plays, and that’s the one in the ‘AudioCHOP’ field paramenter in the MovieFileOut.
I’ve even tried putting 2 ‘audioMovie CHOPS’ in that field by putting a plus sign (+) between, but this obviously won’t do it.

I know it’s possible and to many peeps this might be easy, but I’ve given it almost a whole day of trying different things, to no avail. FYI I don’t know Python that well, so the “Dude, just use python” answer will need to be a last solution (which someone has actually told me, vaguely, with no specifics)

The outcome should make any key you press, in any order or repetition, fire off that linked video with it’s audio playing also. Ideally, like live mixing or making a beat with drum pads, where you hit a pad and it fires off a sample, except it’s a video with its audio.

Open to suggestions or just the simple answer.
Too many videos out there about how to make video mixers, or VJing setups and how to overlay multiple videos with a similar setup like the one above, but over ONE audio track. That is NOT what I’m trying to do.
Hope I was triply clear this time lol.

Please help, because something definitely cracked in my head trying to make this work.
Thanks IA!

You are correct that each of your Movie File TOPs should be accompanied by its own Audio Movie CHOP.
Now, just like you already are using the Switch TOP to switch between the outputs of all of your Movie File In TOPs, you can add a Switch CHOP in the same way to switch between the outputs of all of your Audio Movie CHOPs.
Now control the index of that Switch CHOP in the same way as you control your Switch TOP.
Add a Null CHOP after your Switch CHOP, perhaps rename it to final_audio, and then drag that “final_audio” Null CHOP to the Audio CHOP parameter of your Movie File Out TOP.

Also see Help->Operator Snippets for some examples on how to use the Switch CHOP