Overview
Please check the attachment file.
I want to get the solution for Part 1Demo, Part 2 Demo, and Part 3 Demo in the attachment file.
- Part 1: Demonstrate to the TA that you can capture the four notes of the recorded piano using the script here.
- Part 2: Demonstrate to the TA that you can capture the four notes of the recorded piano using the script here but, this time, with the five-point moving average filter. Full marks if you show at least two peaks in your graph.
- Part 3: Demonstrate to the TA that you can capture the piano sound, again, but this time, with a thresholded graph that shows between two and four peaks for the four piano key sounds, where the presence of the piano sound is shown as a 1 and no sound is a 0.
Please program Part 1Demo, Part 2 Demo, and Part 3 Demo on "MATLAB" and copy and paste the code here.