1 /* Pitch_to_Sound.h
2 *
3 * Copyright (C) 1992-2011,2015 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 "Pitch.h"
20 #include "Sound.h"
21
22 /* These routines convert a Pitch into a PointProcess, */
23 /* then this PointProcess into a Sound (pulse train), */
24 /* and then optionally filter this with 6 formants. */
25
26 autoSound Pitch_to_Sound (Pitch me, double tmin, double tmax, bool hum);
27 void Pitch_play (Pitch me, double tmin, double tmax);
CheckBounds(IN EFI_GRAPHICS_OUTPUT_PROTOCOL * This,IN EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation,IN UINTN SourceX,IN UINTN SourceY,IN UINTN Width,IN UINTN Height,IN UINTN DestinationX,IN UINTN DestinationY)28 void Pitch_hum (Pitch me, double tmin, double tmax);
29
30 /* This one converts a Pitch into a PitchTier, */
31 /* then this PitchTier into a Sound (sine wave), */
32 /* and then cuts away the unvoiced stretches. */
33
34 autoSound Pitch_to_Sound_sine (Pitch me, double tmin, double tmax, double samplingFrequency,
35 bool roundToNearestZeroCrossings);
36
37 /* End of file Pitch_to_Sound.h */
38