diff options
| author | erdgeist@erdgeist.org <erdgeist@bauklotz.fritz.box> | 2019-07-04 23:26:09 +0200 |
|---|---|---|
| committer | erdgeist@erdgeist.org <erdgeist@bauklotz.fritz.box> | 2019-07-04 23:26:09 +0200 |
| commit | f02dfce6e6c34b3d8a7b8a0e784b506178e331fa (patch) | |
| tree | 45556e6104242d4702689760433d7321ae74ec17 /lsp.h | |
stripdown of version 0.9
Diffstat (limited to 'lsp.h')
| -rw-r--r-- | lsp.h | 37 |
1 files changed, 37 insertions, 0 deletions
| @@ -0,0 +1,37 @@ | |||
| 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 | ||
