Web programming
write comments for the code please
- Modify the demo program demo_filter_blocks_corrected.py to plot both the live input and output signals in real-time in a figure window. (Use different colors for the input and output, or plot the two signals in separate subplots). Also, change the block length to be at least 15 milliseconds while keeping the block length to be a power of 2 (use the fact that the sampling rate is 16000 samples/second). What is your block length?
- Same as the previous exercise, but take the input from the microphone instead of the wave file. What is your block length? How is the spectrum of the output signal related to the spectrum of the input signal?