Starting from:

$30

AMATH482-Assignment 2 Rock & Roll and the Gabor Transform Solved

In this assignment you will analyze a portion of two of the greatest rock and roll songs of all time. 

1
figure(1)
2
[y, Fs] = audioread('file.m4a');
3
tr  gnr = length(y)/Fs; % record time in seconds
4
plot((1:length(y))/Fs,y);
5
xlabel('Time [sec]'); ylabel('Amplitude');
6
title('Sweet Child O' Mine');
7
p8 = audioplayer(y,Fs); playblocking(p8);
Perform the following tasks:

1.   Through the use of the Gabor filtering we used in class, reproduce the music score for the guitar in the GNR clip, and the bass in the Floyd clip. Both are clearly identifiable. See Figure 1 which has the music scale in Hertz. (NOTE: to get a good clean score, you may want to filter out overtones... see below. NOTE

2: It is also helpful to plot the log of the spectrogram... so plot log(|s| + 1) where s is the spectrogram.)

2.   Use a filter in frequency space to try to isolate the bass in Comfortably Numb.

3.   See how much of the guitar solo you can put together in Comfortably Numb. It may help to look at smaller portions of the clip to guide your reconstruction of the music score.

1

 

Figure 1: Music scale along with the frequency of each note in Hz

2

More products