Homework 2, due 29 January 2006, 11:59 PM

This homework is about frequency analysis. You have three options for this homework. Problem 1 is worth 95 points, problem 2 is worth 100 points, and doing both problems 1 & 2 is worth 150 points total.

Problem 1

Implement the Radio Rex detector as outlined in the practical that we did in class on Thursday, 1/19. Explore the design space of potential filters on the log spectral energy to see if you can come up with a good detector of the /eh/ in Rex (i.e., by using energy around 500 Hz). Demonstrate the efficacy of different choices on the 10 examples provided.

Problem 2

Implement MFCCs. This is very similar to the spectrogram building exercise you did in class, with just a few more steps; it's pretty straightforward in MATLAB. You can practice at first using the rex data. I'm only going to give more detail on the steps you might not be familiar with.

NOTE: there are MATLAB MFCC implementations out there, which you can look at for guidance, but I want you to turn in your own code.

Here are the basic steps:

What do you do with this when you're done? Well you can plot it, first off, and see what it looks like. Then, here's a test. I've written a little function dtw (dynamic time warp, /class/cse794L/fosler/hw2/dtw.m) that gives a score comparing two waveforms. In the directory /class/cse794L/fosler/hw2/digits I've put wavefiles containing the numbers 1-9,zero,and oh. There are two copies of each (a and b). Use the a files for training DTW templates, and b files for testing (see below): Turn in your MFCC code for the grader to evaluate, with instructions on how to run it.

Submission instructions:

Write up all of your answers to the questions in a text editor so that it can be submitted electronically (txt files preferred). Put that file as well as your fsm files (preferrably in separate subdirectories for each problem) in a directory called hw1, and use the submit command to send the files to the grader. The syntax of the submit command is:

submit c794aa lab2 hw2

Make sure that your writeup includes enough instructions that we will be able to run your fsms easily. That means to tell us what files are what.

Have fun!