<< Chapter < Page Chapter >> Page >
Training and testing of our instrument recognition system.

Experimental data

Training

For our training set, we used purely monophonic recordings to ease manual classification. One fullchromatic scale was recorded for each of our three instruments. We note that our training is weak, as we only provided one recordingfor each instrument. By covering the full range of the instrument, we give roughly equal weights to every note, whereas mostinstruments have a standard playing range and rarely play in the lower or upper limits or their range. Since the spectrum is moreapt to skewing effects in the extreme ranges, our average spectral envelope and training features are also negatively affected.

Finally, if we wanted our training set to perform better with polyphonic recordings, we would in practicealso provide a few polyphonic recordings as part of our training set. This would allow features unique to polyphonic environments tobe modeled as well. For example, a clarinet and trumpet usually cover the melody and are therefore more predominant than a tenorsaxophone.

Testing

One short monophonic tune per instrument was recorded, as well as two short polyphonic tunes with eachinstrument combination (clarinet + saxophone, clarinet + trumpet, saxophone + trumpet, all), generating a total of 9recordings.

Results

Self-validation

We first tested our GMM with the training set to determine how accurate it would be at classifying the data thattrained it. The confusion matrix is shown below. (Our confusion matrix shows the actual classification at the left, and thepredicted classification at the top.)

Table 1: Confusion matrix for instrument recognition with training data.
Clarinet Saxophone Trumpet
Clarinet 90.0% 7.5% 2.5%
Saxophone 2.9% 92.3% 4.9%
Trumpet 0.9% 11.5% 87.5%

Monophonic recordings

Satisfied that our GMM could classify the training data accurately, we then tested it on a new set ofmonophonic recordings.

Table 2: Confusion matrix for instrument of single notes from monophonic recordings.
Clarinet Saxophone Trumpet
Clarinet 67.0% 15.1% 17.9%
Saxophone 19.7% 73.0% 7.3%
Trumpet 1.0% 14.9% 84.1%

Average instrument identification using our GMM was 75%, whereas pure guessing would land us at 33.3%. We alsosee that in our test data, the clarinet and saxophone are confused the most often and can therefore be considered the most similar.This makes sense as both belong to the same instrument family (woodwinds), whereas a trumpet is a brass instrument. In contrast,the clarinet and the trumpet were confused the least often, which is also as expected since their spectrum represent the two extremeswithin our tested instruments. We are unsure of why the clarinet is often mistaken as a trumpet, but a trumpet is not mistaken as aclarinet, but we believe part of the problem may lie again in our training data, as the self-validation tests showed that theclarinet and trumpet were almost exclusive of one another, and our GMM may have started to memorize the training data.

The following figures show the performed piece of music and the results of our detection and classificationalgorithm. We note that some discrepancies are due to player error (key fumbles, incorrect rhythmic counting, etc). We follow ourcoloring scheme of blue representing clarinet, green saxophone, and red trumpet.

Original score versus output from our algorithm for a monophonic trumpet tune.

Polyphonic recordings

Finally, we input some polyphonic recordings and compared the experimental outputs to the input music.Quantitative validation is not provided, as it would require us to manually feed into the validation program which instruments at whattime. Visually however, we can clearly see that our algorithm correctly separates the melody line, as played by the clarinet,from the lower harmony line, as played by the tenor saxophone.

Original score versus output from our algorithm for a polyphonic piece.

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2005. OpenStax CNX. Sep 25, 2007 Download for free at http://cnx.org/content/col10380/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2005' conversation and receive update notifications?

Ask