Debian Codegraph @

dwtools/Pitch_extensions.h

raw symbols SCIP
1 #ifndef _Pitch_extensions_h_
2 #define _Pitch_extensions_h_
3 /* Pitch_extensions.h
4 *
5 * Copyright (C) 1993-2017 David Weenink
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 /*
22 djmw 19970408
23 djmw 20020813 GPL header
24 djmw 20110307 Latest modification
25 */
26
27 #include "Pitch.h"
28 #include "PitchTier.h"
29
30 void Pitch_Frame_addPitch (Pitch_Frame me, double f, double strength, integer maxnCandidates);
31
32 void Pitch_Frame_getPitch (Pitch_Frame me, double *f, double *strength);
33
34 void Pitch_Frame_resizeStrengths (Pitch_Frame me, double maxStrength, double unvoicedCriterium);
35
36 autoPitch Pitch_scaleTime (Pitch me, double scaleFactor);
37 /* Scale time domain and pitches:
38 xmin' = xmin; dx' = dx * scaleFactor; x1' = xmin + 0.5 * dx';
39 xmax' = xmin + nx * dx';
40 pitch [i]' = pitch [i] / scaleFactor;
41 */
42
43 autoPitch PitchTier_to_Pitch (PitchTier me, double dt, double pitchFloor, double pitchCeiling);
44
45 #endif /* _Pitch_extensions_h_ */