Let's imagine I have a movie out of which I would like to extract a soundtrack (i.e., a piece of music). The problem being that the music is, of course, "tainted" with various sound effects and actors talking.
But now, suppose I have two or more clips of the same music, but from different scenes, meaning that the sample has different sound effects, but the same music in the background.
It should be possible to manually try and cut this music together (but the result would likely be horrifying). So I am wondering: Is there an automatic way / software / algorithm to extract the music from multiple such samples, whilst filtering out all the noise (i.e. spoken words, sound effects, etc.) in an acceptable quality?