pysptk.sptk.mgclsp2sp¶
-
pysptk.sptk.
mgclsp2sp
()¶ MGC-LSP to spectrum
Parameters: - lsp : array
MGC-LSP
- alpha : float
All-pass constant. Default is 0.0.
- gamma : float
Gamma. Default is 0.0.
- fftlen : int
FFT length. Default is 256.
- gain : bool
Whether the input MGC-LSP should have loggain or not. Default is True.
Returns: - sp : array, shape (fftlen // 2 + 1)
Complex spectrum
Raises: - ValueError
- if invalid gamma is specified
- if non power of 2 fftlen is specified