INNER CODE UNIT · Python
linear_spectrogram
libAudioFlux/audioFlux · python/audioflux/core.py:17
def linear_spectrogram(X, num=None, radix2_exp=12, samplate=32000, slide_length=None,
low_fre=0., window_type=WindowType.HANN,
style_type=SpectralFilterBankStyleType.SLANEY,
data_type=SpectralDataType.POWER,
is_reassign=False):
"""
Short-time Fourier transform (Linear/STFT)
It is a Fourier-related transform used to determine
the sinusoidal frequency and phase content of
local sections of a signal as it changes over time.
.. Note:: We recommend using the `BFT` class, you can use it more flexibly and efficiently.
Parameters
----------
X: np.ndarray [shape=(..., n)]
audio time series.