<< 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

Application of nanotechnology in medicine
what is variations in raman spectra for nanomaterials
Jyoti Reply
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
Adin
why?
Adin
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
Damian Reply
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
Praveena Reply
hi
Loga
what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Berger describes sociologists as concerned with
Mueller Reply
what is hormones?
Wellington
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Musical instrument recognition. OpenStax CNX. Dec 14, 2005 Download for free at http://cnx.org/content/col10313/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Musical instrument recognition' conversation and receive update notifications?

Ask