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

Do somebody tell me a best nano engineering book for beginners?
s. Reply
what is fullerene does it is used to make bukky balls
Devang Reply
are you nano engineer ?
s.
what is the Synthesis, properties,and applications of carbon nano chemistry
Abhijith Reply
so some one know about replacing silicon atom with phosphorous in semiconductors device?
s. Reply
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
how to fabricate graphene ink ?
SUYASH Reply
for screen printed electrodes ?
SUYASH
What is lattice structure?
s. Reply
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
what is biological synthesis of nanoparticles
Sanket Reply
what's the easiest and fastest way to the synthesize AgNP?
Damian Reply
China
Cied
types of nano material
abeetha Reply
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
Ramkumar Reply
what is nano technology
Sravani Reply
what is system testing?
AMJAD
preparation of nanomaterial
Victor Reply
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
Himanshu Reply
good afternoon madam
AMJAD
what is system testing
AMJAD
what is the application of nanotechnology?
Stotaw
In this morden time nanotechnology used in many field . 1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc 2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc 3- Atomobile -MEMS, Coating on car etc. and may other field for details you can check at Google
Azam
anybody can imagine what will be happen after 100 years from now in nano tech world
Prasenjit
after 100 year this will be not nanotechnology maybe this technology name will be change . maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments
Azam
name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world
Prasenjit
how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?
Damian
silver nanoparticles could handle the job?
Damian
not now but maybe in future only AgNP maybe any other nanomaterials
Azam
Hello
Uday
I'm interested in Nanotube
Uday
this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15
Prasenjit
can nanotechnology change the direction of the face of the world
Prasenjit Reply
At high concentrations (>0.01 M), the relation between absorptivity coefficient and absorbance is no longer linear. This is due to the electrostatic interactions between the quantum dots in close proximity. If the concentration of the solution is high, another effect that is seen is the scattering of light from the large number of quantum dots. This assumption only works at low concentrations of the analyte. Presence of stray light.
Ali Reply
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
Got questions? Join the online conversation and get instant answers!
QuizOver.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