Identification of Music Instruments from a Music Audio File

U. D. Rodrigo, H. U. W. Ratnayake, I. A. Premaratne

Abstract

This research is focused on designing an intelligent system to recognize the specific musical instrument from an audio file and construct the notation text file correspondingly for Music Instrument Digital Interface file. The scope was limited to identification of two different instruments of same pitch at a time and identification is done based on the analysis of the waveform pattern of instrument sound. Ten different musical instruments from a variety of musical instrument categories were selected to observe their waveform patterns. Sampling of different tones of sound patterns of the musical instruments was carried out. For this research, 12 tons of three (3) different instruments in three (3) different instrument categories were selected. From these three (3) instruments, same pitch sound combination of two (2) instruments at a time was used to take the samples. There are two parts in the system; first is feature extraction of the sampled waveform and the second is feature classification. In the first part, feature extraction is done with Mel Frequency Cepstral Coefficient algorithm. Thirteen (13) Mel Frequency Cepstral Coefficient features of the sampled waveform have been extracted and then the neural network has been trained using those coefficients. In the second part, classification is done with Artificial Neural Network and evaluated its performance using cross-entropy and confusion matrices. Based on the performance analysis of the result, the project was successful in detecting two different instruments in two different instrument categories played simultaneous time. 

Keywords: Neural network, MFCC, Signal processing, Sound wave pattern, MIDI

**View Full Paper in the Springer Source