Identifying Chords

The questions below are due on Thursday April 24, 2025; 02:00:00 PM.
 
You are not logged in.

Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.

There is no check-in associated with this lab.

Today's code distribution is available here.

A musical chord is a set of two or more notes that are played simultaneously. Examples are provided in this week's distribution. Listen to chord1.wav, chord2.wav, and chord3.wav. These sounds were created by playing three sinusoids at frequencies from the following table, where the first column identifies the name of a note and the subsequent columns show the associated frequencies in Hertz for notes in octaves 2 through 5.

Write a Python program to identify the notes that are played in chord1.wav, chord2.wav, and chord3.wav.

Hint: coord1.wav contains C, E, and G.

The audio and fft modules in lib6003 will be useful. See documentation at "6.003 Software" under the Help tab of the 6.003 website.

Shorter Chords

The task of identifying frequencies is more difficult for signals of short duration than for signals of long duration.

Determine the notes that comprise the chords contained in each of short1.wav, short2.wav, short3.wav, and short4.wav.

Briefly describe your method.

Please note that correctly identifying these notes is difficult. If your method does not work perfectly, please describe how the method might be improved to work better.

Please upload a single pdf file or a single zip file that contains your answers to all parts of this problem:

 No file selected