Determine musical notes with spectral analysis techniques
Spectral analysis techniques could be used to determine the musical notes, even when they are overlapping. The MATLAB code below would generate a graphs of the audio in time and frequency domain. By observing the first three lowest frequencies peaks in the frequency domain, the notes in the chord could be found. The trick part is to ignore the peaks formed by the summation of two second harmonics.