Features for audio levels imbalance in films between speeh/music/effects What would be the key features of an audio track or set of tracks (like 5.1) for identifying film audio tracks that have a clear unbalance between speech levels and sound effects levels (apart from the obvious rms diference between tracks)? And how could they be extracted or calculated?

It's for a machine learning project about automatic identification of such files and ulterior processing/fixing. The imbalance could be on the same track, or in a combination of several ones.

Thanks in advance.
I would try a sum and difference calculation between the L and R channels to start. Usually when film audio is mixed, the speech is in both channels in phase while the special effects is out of phase.

So if you do:

X = L+R;
Y = L-R;


X should give you the signal with more speech and Y should give you the other effects. Then if you do an RMS calculation on X and Y, you can find how much are they off by.