Spectra uses a Discrete Fourier Transform algorithm to convert time data into discrete frequency data. The data is then scaled…