Period_9_Exercise

.pdf

School

University of Wisconsin, Madison *

*We aren’t endorsed by this school

Course

431

Subject

Mechanical_engineering

Date

May 5, 2024

Type

pdf

Pages

4

Uploaded by SargentIron3061 on coursehero.com

ECE 431 STFT ####NAME#### Prepare Workspace close all clear load TwoClips.mat Problem 1. song = audioplayer(clp1,fs1); playblocking(song) figure(1) spectrogram(clp1,8192,7000,2*8192,fs1, 'yaxis' ) title( 'Clip 1 8192 point segments' ) xlabel( 'Time (sec)' ) figure(2) spectrogram(clp1,1024,900,2*8192,fs1, 'yaxis' ) title( 'Clip 1 1024 point segments' ) xlabel( 'Time (sec)' ) 1
Answer: 1 a) ,So the case where L = 1024 is better suited to representing the characteristics since the notes in the piece change fast. 1 b) (0.1s, 740Hz)(0.75s, 740Hz)(1.3s, 650Hz)(1.75s, 550Hz)(1.95s, 500Hz)(2.35s, 440Hz)(2.55s, 500Hz) (3.15s, 500Hz)(3.8s, 500Hz) 1 c) The frequency of the 7th an 8th notes tend to increase in their duration. Problem 2 song = audioplayer(clp2,fs2); playblocking(song) figure(3) spectrogram(clp2,64,50,4096,fs2, 'yaxis' ) title( 'Clip 2 64 point segments' ) xlabel( 'Time (sec)' ) 2
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help