GNU Radio 3.6.5.1 C++ API
nlp.h
Go to the documentation of this file.
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();
34 void nlp_destroy(void *nlp_state);
35 float nlp(void *nlp_state, float Sn[], int n, int m, int pmin, int pmax,
36  float *pitch, COMP Sw[], float *prev_Wo);
37 float test_candidate_mbe(COMP Sw[], float f0, COMP Sw_[]);
38 
39 #endif