Introduction
Maple 17 offers new signal processing tools for analyzing and manipulating data in the frequency and time domains. It can be used for diverse applications such as creating a speech spectrogram, removing noise from polluted signals, and identifying the periodicity of data.
This package includes tools for:
- Cosine, fast Fourier and wavelet transforms
- Bartlett, Blackman, Kaiser, Hann, and Hanning windows
- Signal generation
- Cross-correlation, autocorrelation, data statistics, and upsampling/downsampling
- FIR, IIR, and Butterworth filters
> |
|
Application: Imaging a Speech Spectrogram
Import Wave File and Manipulate Data into Overlapping Slices
> |
|
> |
|
> |
|
> |
|
> |
|
Slice the data into segments with 256 samples. Each slice has a 50% overlap with the previous slice (that is, each slice starts at the half-way point of the previous slice).
> |
|
> |
|
> |
|
Calculate the Spectrogram Data
Filter the data, slice by slice.
> |
|
Calculate FFT of time segment consecutively.
> |
|
Calculate Power Spectrum of each slice consecutively.
> |
|
Convert spectrum into decibels.
> |
|
> |
|
Strip out the repeated data.
> |
|
> |
|
The frequencies go from 0 to half the sampling rate. Hence the frequencies are in steps of (in Hz):
> |
|
Scale the spectra so that the values are between 0 and 255.
> |
|
> |
|
> |
|
Consecutive rows represent slices in time, while columns contain the spectra at each time.
> |
|
Plot the Spectrogram and Waveform
> |
|
> |
|
> |
|
Application: Filtering Audio
Import Speech Sample
> |
|
> |
|
Plot Waveform and Power Spectrum
> |
|
> |
|
> |
|
> |
|
> |
|
> |
|
> |
|
Apply IIR Butterworth or Chebyshev Filter
Apply Filter
> |
|
> |
|
> |
|
View Before and After Power Spectrum and Waveform
> |
|
> |
|
> |
|
> |
|
Apply FIR Filter
Apply Filter
> |
|
> |
|
> |
|
> |
|
View Before and After Power Spectrum and Waveform
> |
|
> |
|
> |
|
> |
|