Melody extraction is one task from a variety of problems in the field of musical retrieval (MIR), that are designed to develop algorithms and techniques for extracting meaningful information from musical content. This work deals with the problem of extracting the melody from an audio segment, using machine learning techniques. This problem refers to the process of isolating and identifying the melody, the main musical line from a musical piece.
The input to our system is an audio file containing a musical composition, and our approach involves employing a combination of signal processing and machine learning algorithms. The proposed methodology utilizes deep learning models trained on a diverse dataset of musical samples to learn patterns associated with melodic components. The combination of classical signal processing techniques in combination with a machine learning model, allows the extraction of melodies in an accurate way, distinguishing the subtle nuances of the melody and distinguishing it from accompanying musical instruments and vocal elements present in the audio.