| 1 | #ifndef _FormantTier_h_ |
| 2 | #define _FormantTier_h_ |
| 3 | /* FormantTier.h |
| 4 | * |
| 5 | * Copyright (C) 1992-2011,2015,2018 Paul Boersma |
| 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. |
| 15 | * See the GNU 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 "PointProcess.h" |
| 22 | #include "Formant.h" |
| 23 | #include "TableOfReal.h" |
| 24 | #include "Sound.h" |
| 25 | #include "AnyTier.h" |
| 26 | |
| 27 | #include "FormantTier_def.h" |
| 28 | |
| 29 | autoFormantPoint FormantPoint_create (double time, integer numberOfFormants); |
| 30 | autoFormantTier FormantTier_create (double tmin, double tmax); |
| 31 | double FormantTier_getValueAtTime (FormantTier me, integer iformant, double t); |
| 32 | double FormantTier_getBandwidthAtTime (FormantTier me, integer iformant, double t); |
| 33 | integer FormantTier_getMinNumFormants (FormantTier me); |
| 34 | integer FormantTier_getMaxNumFormants (FormantTier me); |
| 35 | void FormantTier_speckle (FormantTier me, Graphics g, double tmin, double tmax, double fmax, bool garnish); |
| 36 | autoFormantTier Formant_downto_FormantTier (Formant me); |
| 37 | autoFormantTier Formant_PointProcess_to_FormantTier (Formant me, PointProcess pp); |
| 38 | autoTableOfReal FormantTier_downto_TableOfReal (FormantTier me, bool includeFormants, bool includeBandwidths); |
| 39 | |
| 40 | void Sound_FormantTier_filter_inplace (Sound me, FormantTier formantTier); |
| 41 | autoSound Sound_FormantTier_filter (Sound me, FormantTier formantTier); |
| 42 | autoSound Sound_FormantTier_filter_noscale (Sound me, FormantTier formantTier); |
| 43 | |
| 44 | /* End of file FormantTier.h */ |
| 45 | #endif |