Browse Source

headers: add new file intonation.h with declarations of functions in intonation.c

master
Juho Hiltunen 7 years ago
parent
commit
9d12d23d2a

+ 2
- 0
src/libespeak-ng/intonation.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "intonation.h"

#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 38
- 0
src/libespeak-ng/intonation.h View File

/*
* Copyright (C) 2005 to 2015 by Jonathan Duddington
* email: [email protected]
* Copyright (C) 2015-2018 Reece H. Dunn
* Copyright (C) 2018 Juho Hiltunen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see: <http://www.gnu.org/licenses/>.
*/

#ifndef ESPEAK_NG_INTONATION_H
#define ESPEAK_NG_INTONATION_H

#include "translate.h"

#ifdef __cplusplus
extern "C"
{
#endif

void CalcPitches(Translator *tr, int clause_type);

#ifdef __cplusplus
}
#endif

#endif


+ 2
- 0
src/libespeak-ng/synthesize.c View File

#include <espeak-ng/speak_lib.h> #include <espeak-ng/speak_lib.h>
#include <espeak-ng/encoding.h> #include <espeak-ng/encoding.h>


#include "intonation.h"

#include "phoneme.h" #include "phoneme.h"
#include "voice.h" #include "voice.h"
#include "synthesize.h" #include "synthesize.h"

+ 0
- 1
src/libespeak-ng/translate.h View File

void AppendPhonemes(Translator *tr, char *string, int size, const char *ph); void AppendPhonemes(Translator *tr, char *string, int size, const char *ph);


void CalcLengths(Translator *tr); void CalcLengths(Translator *tr);
void CalcPitches(Translator *tr, int clause_tone);


int RemoveEnding(Translator *tr, char *word, int end_type, char *word_copy); int RemoveEnding(Translator *tr, char *word, int end_type, char *word_copy);
int Unpronouncable(Translator *tr, char *word, int posn); int Unpronouncable(Translator *tr, char *word, int posn);

Loading…
Cancel
Save