| 1 | /* PitchTier_to_PointProcess.h |
| 2 | * |
| 3 | * Copyright (C) 1992-2011,2015,2016,2023,2024 Paul Boersma |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | * See the GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #include "PitchTier.h" |
| 20 | #include "PointProcess.h" |
| 21 | #include "Pitch.h" |
| 22 | |
| 23 | autoPointProcess PitchTier_to_PointProcess (PitchTier me); |
| 24 | |
| 25 | autoPointProcess PitchTier_Pitch_to_PointProcess (PitchTier me, Pitch vuv); |
| 26 | /* Keeps only the parts that are voiced according to 'vuv'. */ |
| 27 | /* Voiced means: inside voiced frame of 'pitch'. */ |
| 28 | |
| 29 | autoPointProcess PitchTier_Point_to_PointProcess (PitchTier me, PointProcess vuv, const double maximumPeriod); |
| 30 | /* Keeps only the parts that are voiced according to 'vuv'. */ |
| 31 | /* Voiced means: within an interval no longer than 'maximumPeriod', */ |
| 32 | /* or within half an adjacent short-enough interval from any pulse. */ |
| 33 | |
| 34 | autoPitchTier PointProcess_to_PitchTier (PointProcess me, const double maximumPeriod); |
| 35 | autoPitchTier Pitch_PointProcess_to_PitchTier (Pitch me, PointProcess pp); |
| 36 | autoPitchTier PitchTier_PointProcess_to_PitchTier (PitchTier me, PointProcess pp); |
| 37 | autoTableOfReal PitchTier_downto_TableOfReal (constPitchTier me, const bool useSemitones); |
| 38 | |
| 39 | /* End of file PitchTier_to_PointProcess.h */ |