| 1 | /* PitchTier_to_Sound.h |
| 2 | * |
| 3 | * Copyright (C) 1992-2011,2015-2017,2022 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 "Sound.h" |
| 21 | |
| 22 | autoSound PitchTier_to_Sound_pulseTrain (PitchTier me, double samplingFrequency, |
| 23 | double adaptFactor, double adaptTime, integer interpolationDepth, |
| 24 | bool hum); |
| 25 | autoSound PitchTier_to_Sound_phonation (PitchTier me, double samplingFrequency, |
| 26 | double adaptFactor, double maximumPeriod, |
| 27 | double openPhase, double collisionPhase, double power1, double power2, |
| 28 | bool hum); |
| 29 | void PitchTier_playPart (PitchTier me, double tmin, double tmax, bool hum, Sound_PlayCallback callback, Thing boss); |
| 30 | void PitchTier_play (PitchTier me, Sound_PlayCallback callback, Thing boss); |
| 31 | void PitchTier_hum (PitchTier me, Sound_PlayCallback callback, Thing boss); |
| 32 | |
| 33 | autoSound PitchTier_to_Sound_sine (PitchTier me, double tmin, double tmax, double samplingFrequency); |
| 34 | void PitchTier_playPart_sine (PitchTier me, double tmin, double tmax, Sound_PlayCallback callback, Thing boss); |
| 35 | |
| 36 | /* End of file PitchTier_to_Sound.h */ |