GNU Radio 3.6.3.1 C++ API
lsp.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2 
3  FILE........: lsp.c
4  AUTHOR......: David Rowe
5  DATE CREATED: 24/2/93
6 
7 
8  This file contains functions for LPC to LSP conversion and LSP to
9  LPC conversion. Note that the LSP coefficients are not in radians
10  format but in the x domain of the unit circle.
11 
12 \*---------------------------------------------------------------------------*/
13 
14 /*
15  Copyright (C) 2009 David Rowe
16 
17  All rights reserved.
18 
19  This program is free software; you can redistribute it and/or modify
20  it under the terms of the GNU Lesser General Public License version 2.1, as
21  published by the Free Software Foundation. This program is
22  distributed in the hope that it will be useful, but WITHOUT ANY
23  WARRANTY; without even the implied warranty of MERCHANTABILITY or
24  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
25  License for more details.
26 
27  You should have received a copy of the GNU Lesser General Public License
28  along with this program; if not, see <http://www.gnu.org/licenses/>.
29 */
30 
31 #ifndef __LSP__
32 #define __LSP__
33 
34 int lpc_to_lsp (float *a, int lpcrdr, float *freq, int nb, float delta);
35 void lsp_to_lpc(float *freq, float *ak, int lpcrdr);
36 
37 #endif