Connexions

You are here: Home » Content » Music Classification by Genre: Bandwidth
Content Actions
Lenses

What is a lens?

Lenses

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

What is in a lens?

Lens makers point to Connexions 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 Connexions member, a community, or a respected organization.

This content is ...
Affiliated with (?)
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.
  • This module is included inLens: Rice University ELEC 301 Project Lens
    By: Rice University ELEC 301As a part of collection:"ECE 301 Projects Fall 2003"

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

    Rice University ELEC 301 Projects
  • This module is included inLens: Rice University OpenCourseWare
    By: OpenCourseWare ConsortiumAs a part of collections:"Music Classification by Genre", "ECE 301 Projects Fall 2003"

    Click the "Rice University OCW" link to see all content affiliated with them.

    Rice University OCW
Tags

(?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Music Classification by Genre: Bandwidth

Module by: Melodie Chu

Summary: The bandwidth of various genres of music can be analyzed in the frequency domain.

Bandwidth refers to how spread-spectrum the signal is and what frequencies are present. If a signal is composed of many high frequencies, the bandwidth will be large. However, if the signal is composed of mostly low frequencies, the bandwidth will be small. After taking the shifted FFT of windows of the music vector, we find the last frequency component above a certain cutoff threshold, which is the bandwidth of the signal. Because classical music is composed of harmonic instruments, its bandwidth will be smaller and it will have fewer frequency components. However, hard music like punk or rap has lots of non-sinusoidal drumbeats, which will create more frequency components and their bandwidth will be larger.
bwclassical.gif
Figure 1: Bandwidth for classical music.
bwjazz.gif
Figure 2: Bandwidth for jazz music.

Results

The bandwidth of songs in the frequency domain is very good at distinguishing jazz. However, the bandwidth of punk, techno, and country, all hover around the same value. Rap has most of its power in low frequencies, and those coefficients will be large. Therefore, the bandwidth will be small because the spread of the frequency components is localized in the low frequencies. Jazz, however, has high and low frequencies, so there could be a frequency component in the high frequencies that is large, increasing the bandwidth.
We also give the neural network a measure of how bandwidth changes over the time period of a song. The standard deviations are good at telling jazz and country apart from the other genres, but no one genre stands out.
bandwidth.gif
Figure 3: Overall, bandwidth is a good detector for jazz and rap, but poorer in distinguishing between classical, punk, techno, and country, which all have about the same bandwidth.
standarddeviation.gif
Figure 4: Variation of bandwidth across time.

Comments, questions, feedback, criticisms?

Send feedback