Skip to content Skip to navigation

Connexions

You are here: Home » Content » Experimental Data and Results

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • Rice University ELEC 301 Projects

    This module is included inLens: Rice University ELEC 301 Project Lens
    By: Rice University ELEC 301As a part of collection: "ELEC 301 Projects Fall 2005"

    Click the "Rice University ELEC 301 Projects" link to see all content affiliated with them.

  • Rice Digital Scholarship

    This module is included in aLens by: Digital Scholarship at Rice UniversityAs a part of collection: "ELEC 301 Projects Fall 2005"

    Click the "Rice Digital Scholarship" link to see all content affiliated with them.

Also in these lenses

  • Lens for Engineering

    This module is included inLens: Lens for Engineering
    By: Sidney BurrusAs a part of collection: "ELEC 301 Projects Fall 2005"

    Click the "Lens for Engineering" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.
 

Experimental Data and Results

Module by: Yi-Chieh Wu. E-mail the author

Summary: 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 full chromatic scale was recorded for each of our three instruments. We note that our training is weak, as we only provided one recording for each instrument. By covering the full range of the instrument, we give roughly equal weights to every note, whereas most instruments have a standard playing range and rarely play in the lower or upper limits or their range. Since the spectrum is more apt 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 practice also provide a few polyphonic recordings as part of our training set. This would allow features unique to polyphonic environments to be modeled as well. For example, a clarinet and trumpet usually cover the melody and are therefore more predominant than a tenor saxophone.

Testing

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

Results

Self-Validation

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

Table 1: 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 of monophonic recordings.

Table 2: 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 also see 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 extremes within our tested instruments. We are unsure of why the clarinet is often mistaken as a trumpet, but a trumpet is not mistaken as a clarinet, but we believe part of the problem may lie again in our training data, as the self-validation tests showed that the clarinet 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 classification algorithm. We note that some discrepancies are due to player error (key fumbles, incorrect rhythmic counting, etc). We follow our coloring scheme of blue representing clarinet, green saxophone, and red trumpet.

Figure 1: Original score versus output from our algorithm for a monophonic trumpet tune.
(a)
Figure 1(a) (Graphic1)
(b)
Figure 1(b) (Graphic2)

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 what time. 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.

Figure 2: Original score versus output from our algorithm for a polyphonic piece.
(a)
Figure 2(a) (Graphic3)
(b)
Figure 2(b) (Graphic4)

Content actions

Download module as:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks