Line 7: | Line 7: | ||
In this problem you are asked to play (generate) the main melody of the song "Smoke On The Water" by Deep Purple using Matlab. | In this problem you are asked to play (generate) the main melody of the song "Smoke On The Water" by Deep Purple using Matlab. | ||
− | You have to play the song at its original tempo (112 BPM) first, and | + | You have to play the song at its original tempo (112 BPM) first, and then at double that tempo. |
− | The melody transcription is [[Media:Smoke_on_the_water.pdf|here]]. The notes and their corresponding timings written above and below the staff. In case you | + | The melody transcription is [[Media:Smoke_on_the_water.pdf|here]]. The notes and their corresponding timings are written above and below the staff. In case you don't know this song, you can find it on Youtube.<br><br> |
After that, you are asked to read off the melody at double the speed, i.e. if <math>x(t)</math> is your melody, then you will be playing <math>x(2t)</math>. | After that, you are asked to read off the melody at double the speed, i.e. if <math>x(t)</math> is your melody, then you will be playing <math>x(2t)</math>. | ||
Compare what you hear in the latter play to what you hear when you double the tempo of the melody. Explain. | Compare what you hear in the latter play to what you hear when you double the tempo of the melody. Explain. |
Revision as of 14:10, 5 January 2011
HW1 ECE301 Spring2011 Prof_Boutin
Playing music using Matlab
In this problem you are asked to play (generate) the main melody of the song "Smoke On The Water" by Deep Purple using Matlab.
You have to play the song at its original tempo (112 BPM) first, and then at double that tempo.
The melody transcription is here. The notes and their corresponding timings are written above and below the staff. In case you don't know this song, you can find it on Youtube.
After that, you are asked to read off the melody at double the speed, i.e. if $ x(t) $ is your melody, then you will be playing $ x(2t) $.
Compare what you hear in the latter play to what you hear when you double the tempo of the melody. Explain.