diff options
Diffstat (limited to 'nlp.h')
| -rw-r--r-- | nlp.h | 38 |
1 files changed, 38 insertions, 0 deletions
| @@ -0,0 +1,38 @@ | |||
| 1 | /*---------------------------------------------------------------------------*\ | ||
| 2 | |||
| 3 | FILE........: nlp.c | ||
| 4 | AUTHOR......: David Rowe | ||
| 5 | DATE CREATED: 23/3/93 | ||
| 6 | |||
| 7 | Non Linear Pitch (NLP) estimation functions. | ||
| 8 | |||
| 9 | \*---------------------------------------------------------------------------*/ | ||
| 10 | |||
| 11 | /* | ||
| 12 | Copyright (C) 2009 David Rowe | ||
| 13 | |||
| 14 | All rights reserved. | ||
| 15 | |||
| 16 | This program is free software; you can redistribute it and/or modify | ||
| 17 | it under the terms of the GNU Lesser General Public License version 2.1, as | ||
| 18 | published by the Free Software Foundation. This program is | ||
| 19 | distributed in the hope that it will be useful, but WITHOUT ANY | ||
| 20 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 21 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | ||
| 22 | License for more details. | ||
| 23 | |||
| 24 | You should have received a copy of the GNU Lesser General Public License | ||
| 25 | along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
| 26 | */ | ||
| 27 | |||
| 28 | #ifndef __NLP__ | ||
| 29 | #define __NLP__ | ||
| 30 | |||
| 31 | #include "comp.h" | ||
| 32 | |||
| 33 | void *nlp_create(C2CONST *c2const); | ||
| 34 | void nlp_destroy(void *nlp_state); | ||
| 35 | float nlp(void *nlp_state, float Sn[], int n, | ||
| 36 | float *pitch_samples, COMP Sw[], COMP W[], float *prev_f0); | ||
| 37 | |||
| 38 | #endif | ||
