Debian Codegraph @

dwtools/SpeechSynthesizer_and_TextGrid.h

raw
1 #ifndef _SpeechSynthesizer_and_TextGrid_h_
2 #define _SpeechSynthesizer_and_TextGrid_h_
3 /* SpeechSynthesizer_and_TextGrid.h
4 *
5 * Copyright (C) 2011-2017 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 /*
22 djmw 20111214
23 */
24
25 #include "SpeechSynthesizer.h"
26 #include "TextGrid_extensions.h"
27 #include "EditDistanceTable.h"
28
29 autoSound SpeechSynthesizer_TextInterval_to_Sound (SpeechSynthesizer me, TextInterval thee, autoTextGrid *tg);
30
31 autoSound SpeechSynthesizer_TextGrid_to_Sound (SpeechSynthesizer me, TextGrid thee, integer itier, integer iiint, autoTextGrid *tg);
32
33 autoTextGrid SpeechSynthesizer_Sound_TextInterval_align (SpeechSynthesizer me, Sound thee, TextInterval him,
34 double silenceThreshold, double minSilenceDuration, double minSoundingDuration);
35 autoTextGrid SpeechSynthesizer_Sound_IntervalTier_align (SpeechSynthesizer me, Sound thee, IntervalTier him,
36 integer istart, integer iend, double silenceThreshold, double minSilenceDuration, double minSoundingDuration);
37 autoTextGrid SpeechSynthesizer_Sound_TextGrid_align (SpeechSynthesizer me, Sound thee, TextGrid him,
38 integer tierNumber, integer istart, integer iend, double silenceThreshold, double minSilenceDuration, double minSoundingDuration);
39 autoTextGrid SpeechSynthesizer_Sound_TextGrid_align2 (SpeechSynthesizer me, Sound thee, TextGrid him, integer tierNumber, integer istart, integer iend, double silenceThreshold, double minSilenceDuration, double minSoundingDuration, double trimDuration);
40
41 autoTable IntervalTiers__to_Table_textAlignment (IntervalTier target, IntervalTier source, EditCostsTable costs);
42 autoTable TextGrids_to_Table_textAlignment (TextGrid target, integer ttier, TextGrid source, integer stier, EditCostsTable costs);
43
44 /* For testing purposes only */
45 autoTextGrid TextGrid_IntervalTier_patch (TextGrid me, IntervalTier thee, conststring32 patchLabel, double precision);
46 autoTextGrid TextGrid_IntervalTier_cutPartsMatchingLabel (TextGrid me, IntervalTier thee, conststring32 label, double precision);
47
48 #endif // _SpeechSynthesizer_and_TextGrid_h_