Mason Bretan

Technology, Art, and Science
   Home      Intro to Matlab and block processing
 
1) write a function that calculates the RMS of a block of samples
 
2) write a script with the following functionality:
-read in wave file
-define block length and hop length
-loop (get new block, compute and store RMS for this block)
-plot result
-compare the plots for different input files and different block lengths
 
3)if you have time display the output in dB
 
4)if you have more time write another function to compute the peak of each block and plot these peak values
 
5)if you have even more time write an A-weighted (a common weighting for environmental noise and measuring potential health risks) RMS function