is2par#
- class diffsptk.InverseSineToParcorCoefficients(par_order)[source]#
This is a similar module to
LogAreaRatioToParcorCoefficients()
.- Parameters:
- par_orderint >= 0
The order of the PARCOR coefficients, \(M\).
- forward(s)[source]#
Convert IS to PARCOR.
- Parameters:
- sTensor [shape=(…, M+1)]
The inverse sine coefficients.
- Returns:
- outTensor [shape=(…, M+1)]
The PARCOR coefficients.
Examples
>>> s = diffsptk.ramp(1, 4) * 0.1 >>> is2par = diffsptk.InverseSineToParcorCoefficients(3) >>> k = is2par(s) >>> k tensor([0.1000, 0.3090, 0.4540, 0.5878])