The following exercise is related to Music Signal Processing. 3. Load the train whistle in MATLAB (Script: load train).
Posted: Sun Jul 03, 2022 12:14 pm
The following exercise is related to Music Signal Processing. 3. Load the train whistle in MATLAB (Script: load train). Collect any 2000 (say 8001 to 10000) samples out of it. Observe its magnitude & phase spectrum. From the peak frequencies, amplitude of peak frequencies and phase related to peak frequencies of spectrum, synthesize the train signal. Compare the original with the synthesized one by plotting & listening to it. Spectral leakage is the result of the inherent assumption in the DFT/FFT algorithm that the time record in a DFT/FFT segment is exactly repeated throughout all time and that signals contained in a DFT/FFT segment are thus periodic at intervals that correspond to the length of the DFT/FFT segment. If the time record in a DFT/FFT segment has a non-integer number of cycles, this assumption is violated and spectral leakage occurs. For an FFT segment with a non-integer number of cycles, there are discontinuities between successive segments after periodic extension, which introduces frequencies that are not present in the original signal.