Skip to content Skip to navigation

Connexions

You are here: Home » Content » Music Classification by Genre: Total Power

Navigation

Content Actions

Lenses

What is a lens?

Definition of 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 (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:"ECE 301 Projects Fall 2003"

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

  • Rice University OCW

    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.

Tags

(What is a tag?)

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

Music Classification by Genre: Total Power

Module by: Melodie Chu

Summary: Measures how many harmonics and how much of each harmonic are present in a signal.

The power in a signal is the norm squared of the frequency components of the signal. The vectors are first normalized to the maximum value in the vector such that we are not analyzing loudness, but more accurately, the L-2 norm divided by the L-infinity norm. It measures how many harmonics are present in the signal and how much of each harmonic. In our case, the music samples have a wide range of total power: classical piano has low power with few harmonics, whereas punk has high power. You can see from these two plots of the spectrum, on the same scale, that jazz has much smaller power. Jazz has fewer frequency components of smaller power.

Figure 1
Figure 1 (totalpowerjazz.gif)
Figure 2
Figure 2 (totalpowerpunk.gif)

Results

The total power of a signal changes radically between genres. Jazz has the lowest total power, while punk tops the list. Punk also has the lowest standard deviation; there should be very little confusion with the rest of the genres. Techno is the least discernable: its standard deviation encapsulates all the other genres. Looking closely at the graph, the spread of the standard deviations of classical and country does not encapsulate any other genres, so they should be easily identified.

The standard deviations of rap and techno are very distinct, whereas the others are all about the same value. Although the average total power of techno may not be a good indicator, the standard deviation should be able to pick out techno.

Figure 3
Figure 3 (totalpower.gif)

Comments, questions, feedback, criticisms?

Send feedback