| 1 |
#ifndef _Sound_to_Formant_mt_h_ |
| 2 |
#define _Sound_to_Formant_mt_h_ |
| 3 |
/* Sound_to_Formant.h |
| 4 |
* |
| 5 |
* Copyright (C) 1993-2025 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 |
#include "Sound.h" |
| 22 |
#include "LPC.h" |
| 23 |
#include "Formant.h" |
| 24 |
|
| 25 |
void Sound_into_Formant_robust_mt (constSound me, Formant out, double windowLength, |
| 26 |
integer numberOfPoles, double safetyMargin, double k, integer itermax, double tol, double location, bool wantlocation |
| 27 |
); |
| 28 |
|
| 29 |
autoFormant Sound_to_Formant_robust (Sound me, double dt_in, double numberOfFormants, double maximumFrequency, |
| 30 |
double effectiveAnalysisWidth, double preEmphasisFrequency, double safetyMargin, |
| 31 |
double numberOfStandardDeviations, integer maximumNumberOfIterations, double tolerance, |
| 32 |
double location, bool wantlocation |
| 33 |
); |
| 34 |
|
| 35 |
autoFormant Sound_to_Formant_robust_mt (constSound me, double dt, double numberOfFormants, double maximumFrequency, |
| 36 |
double windowLength, double preemphasisFrequency, double safetyMargin, |
| 37 |
double numberOfStandardDeviations, integer maximumNumberOfIterations, double tolerance, |
| 38 |
double location, bool wantlocation |
| 39 |
); |
| 40 |
|
| 41 |
void Sound_into_Formant_burg_mt (constSound me, Formant thee, double windowLength, integer numberOfPoles, double safetyMargin); |
| 42 |
|
| 43 |
void Sound_into_Formant_burg (constSound me, mutableLPC intermediateLPC, mutableFormant outputFormant, |
| 44 |
double effectiveAnalysisWidth, double safetyMargin); |
| 45 |
|
| 46 |
autoFormant Sound_to_Formant_burg_mt (constSound me, double dt, double numberOfFormants, double maximumFrequency, |
| 47 |
double windowLength, double preemphasisFrequency, double safetyMargin |
| 48 |
); |
| 49 |
|
| 50 |
|
| 51 |
void Sound_into_Formant_auto_mt (constSound me, Formant thee, double windowLength, integer numberOfPoles, double safetyMargin); |
| 52 |
|
| 53 |
autoFormant Sound_to_Formant_auto_mt (constSound me, double dt, double numberOfFormants, double maximumFrequency, |
| 54 |
double windowLength, double preemphasisFrequency, double safetyMargin |
| 55 |
); |
| 56 |
|
| 57 |
void Sound_into_Formant_covar_mt (constSound me, Formant thee, double windowLength, integer numberOfPoles, double safetyMargin); |
| 58 |
|
| 59 |
autoFormant Sound_to_Formant_covar_mt (constSound me, double dt, double numberOfFormants, double maximumFrequency, |
| 60 |
double windowLength, double preemphasisFrequency, double safetyMargin |
| 61 |
); |
| 62 |
|
| 63 |
void Sound_into_Formant_marple_mt (constSound me, Formant thee, double windowLength, integer numberOfPoles, double safetyMargin); |
| 64 |
|
| 65 |
autoFormant Sound_to_Formant_marple_mt (constSound me, double dt, double numberOfFormants, double maximumFrequency, |
| 66 |
double windowLength, double preemphasisFrequency, double safetyMargin |
| 67 |
); |
| 68 |
|
| 69 |
#endif /* _Sound_to_Formant_mt_h_ */ |