Exemplo n.º 1
0
    def filt(self, x, coef):
        """Filter one sample using using ``lspdf``

        Parameters
        ----------
        x : float
            A input sample

        coef: array
            LSP (with loggain)

        Returns
        -------
        y : float
            A filtered sample

        See Also
        --------
        pysptk.sptk.lspdf

        """

        return pysptk.lspdf(x, coef, self.delay)
Exemplo n.º 2
0
    def filt(self, x, coef):
        """Filter one sample using using ``lspdf``

        Parameters
        ----------
        x : float
            A input sample

        coef: array
            LSP (with loggain)

        Returns
        -------
        y : float
            A filtered sample

        See Also
        --------
        pysptk.sptk.lspdf

        """

        return pysptk.lspdf(x, coef, self.delay)
Exemplo n.º 3
0
 def __test(length):
     pysptk.lspdf(0.0, np.ones(length), np.ones(1))
Exemplo n.º 4
0
 def __test(length):
     pysptk.lspdf(0.0, np.ones(length), np.ones(1))