Any Ideas, video runs with applause

Gonzalo's icon

Hello,
I'm developing this simple patch, the idea is that with the sounds of applause the video starts to run and the fader object turns on the other video, the first one says only "applause please" the other runs an old politician from my country giving a speech. The patch works, but not smoothly, I have used a simple operation to filter out people speaking and only use the peak of the applause, works fine if there are more than two people applauding, but If there´s only one people, it requires for him/she to applaud very fast.
Please if any one has any ideas on how to make this run a little more smoothly It will be deeply appreciated. Thanks from Ecuador. South America.

522.Untitled1.maxpat
Max Patch
MIB's icon
Max Patch
Copy patch and select New From Clipboard in Max.

a little rig like this might help. this way when the applause stops you make sure that the threshold is not reached for 1000msec, then you turn the video off. off course you will have to play with the numbers a bit to make it look and feel the way you want. I also assume that you want the second video to be choppy...

Gonzalo's icon

MIB, thanks a lot, with the adjustments it works just fine. Thanks!!! :D