GNU Radio 3.6.5 C++ API

lsp.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002 
00003   FILE........: lsp.c
00004   AUTHOR......: David Rowe
00005   DATE CREATED: 24/2/93
00006 
00007 
00008   This file contains functions for LPC to LSP conversion and LSP to
00009   LPC conversion. Note that the LSP coefficients are not in radians
00010   format but in the x domain of the unit circle.
00011 
00012 \*---------------------------------------------------------------------------*/
00013 
00014 /*
00015   Copyright (C) 2009 David Rowe
00016 
00017   All rights reserved.
00018 
00019   This program is free software; you can redistribute it and/or modify
00020   it under the terms of the GNU Lesser General Public License version 2.1, as
00021   published by the Free Software Foundation.  This program is
00022   distributed in the hope that it will be useful, but WITHOUT ANY
00023   WARRANTY; without even the implied warranty of MERCHANTABILITY or
00024   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
00025   License for more details.
00026 
00027   You should have received a copy of the GNU Lesser General Public License
00028   along with this program; if not, see <http://www.gnu.org/licenses/>.
00029 */
00030 
00031 #ifndef __LSP__
00032 #define __LSP__
00033 
00034 int lpc_to_lsp (float *a, int lpcrdr, float *freq, int nb, float delta);
00035 void lsp_to_lpc(float *freq, float *ak, int lpcrdr);
00036 
00037 #endif