0
|
1 |
/**
|
|
2 |
* $Id: proser_interface.h 53 2008-01-10 00:19:41Z mbroeker $
|
|
3 |
* $URL: http://localhost/svn/c/VirtualReader/trunk/include/proser_interface.h $
|
|
4 |
*/
|
|
5 |
|
|
6 |
#ifndef __PROSER_INTERFACE_H__
|
|
7 |
#define __PROSER_INTERFACE_H__
|
|
8 |
|
|
9 |
#include <stdio.h>
|
|
10 |
#include <stdlib.h>
|
|
11 |
#include <string.h>
|
|
12 |
#include <ctype.h>
|
|
13 |
#include <Proser.h>
|
|
14 |
|
|
15 |
typedef struct {
|
|
16 |
char *TextFile;
|
|
17 |
char *AudioFile;
|
|
18 |
char *Voice;
|
|
19 |
char *Path;
|
|
20 |
float PreEmphasis;
|
|
21 |
float Speed;
|
|
22 |
AudioType Stype;
|
|
23 |
OUTTYPE FileType;
|
|
24 |
// nicht ganz so schön, aber funktioniert
|
|
25 |
PROOPT ProserOpt;
|
|
26 |
} tts_options;
|
|
27 |
|
|
28 |
typedef struct {
|
|
29 |
NLPBLOCK GermanNlp;
|
|
30 |
} ttshandles;
|
|
31 |
|
|
32 |
tts_options interface_get_cl_opts (int, char **);
|
|
33 |
|
|
34 |
int interface_write_to_wav (char *, char *, ttshandles, tts_options);
|
|
35 |
ttshandles interface_init (tts_options);
|
|
36 |
long *interface_get_timing (ttshandles, char *);
|
|
37 |
#endif
|