How to load different videos based on user's input from a collection of videos

Hi @ankit_kumar,

Python’s execution in Touch is blocking - meaning that when you’re running a python script you can create stutters or stops in your project. The typical pythonic approach to this would likely not work in Touch - a while loop that’s listening to your mic input will make touch look like it’s frozen. Instead you would probably have better luck running the python portion of this outside of touch, and then sending information from that separate process over to TouchDesigner with a TCP or UDP library.

There are two other threads you might consider looking over for more ideas: