diff --git a/platforms/big_endian/Makefile b/platforms/big_endian/Makefile deleted file mode 100644 index a81d82a9..00000000 --- a/platforms/big_endian/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -CC = gcc - -CFLAGS += -g3 -Wall -O0 - -all: espeak-phoneme-data - -espeak-phoneme-data: espeak-phoneme-data.c - $(CC) $(CFLAGS) -o $@ $< - -clean: - rm -f espeak-phoneme-data diff --git a/platforms/big_endian/README b/platforms/big_endian/README deleted file mode 100644 index 3fbc16b9..00000000 --- a/platforms/big_endian/README +++ /dev/null @@ -1,18 +0,0 @@ -espeak-utils -============ - -A utility to convert the phonindex, phontab and phondata to -big-endian form if necessary. - -* espeak-phoneme-data - - This is the little-endian to big-endian conversion tool. It uses an - external file (by default called 'phondata-manifest') in order to convert - the phondata file. - -The 'phondata-manifest' file is produced by espeakedit when it compiles -the phoneme data. If it is not present here, find it in the espeak-data directory. - -NOTE: -The format of espeak-data/phondata changed in eSpeak version 1.47. The utility -has been modified for this. [jonsd] diff --git a/platforms/big_endian/espeak-phoneme-data.c b/platforms/big_endian/espeak-phoneme-data.c deleted file mode 100644 index 847ff358..00000000 --- a/platforms/big_endian/espeak-phoneme-data.c +++ /dev/null @@ -1,460 +0,0 @@ - -// 20.02.13 Add samplerate 4-bytes at start of phondata -// 14.09.10 Recognize long and short frames in phondata -// 02.09.10 Fix: Q sections were omitted from the converted phondata -// 13.08.10 jonsd: Added Q lines. Use Address to set the displacement in phondata file. -// 13.02.10 jonsd: Changed for eSpeak version 1.43 - - -#include -#include -#include -#include -#include -#include - -#if defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN -#define IS_BIG_ENDIAN 1 -#else -#define IS_BIG_ENDIAN 0 -#endif - - -#if IS_BIG_ENDIAN - -# define SWAP_USHORT(val) ((unsigned short) ( \ - (unsigned short) ((unsigned short) (val) >> 8) | \ - (unsigned short) ((unsigned short) (val) << 8))) - -# define SWAP_UINT(val) ((unsigned int) ( \ - (((unsigned int) (val) & (unsigned int) 0x000000ffU) << 24) | \ - (((unsigned int) (val) & (unsigned int) 0x0000ff00U) << 8) | \ - (((unsigned int) (val) & (unsigned int) 0x00ff0000U) >> 8) | \ - (((unsigned int) (val) & (unsigned int) 0xff000000U) >> 24))) - -#else - -# define SWAP_USHORT(val) (val) -# define SWAP_UINT(val) (val) - -#endif - - - -#define N_PHONEME_TAB_NAME 32 - -// This is a new format for eSpeak 1.43 -typedef struct { - unsigned int mnemonic; // 1st char is in the l.s.byte - unsigned int phflags; // bits 16-19 place of articulation - unsigned short program; - unsigned char code; // the phoneme number - unsigned char type; // phVOWEL, phPAUSE, phSTOP etc - unsigned char start_type; - unsigned char end_type; - unsigned char std_length; // for vowels, in mS/2; for phSTRESS, the stress/tone type - unsigned char length_mod; // a length_mod group number, used to access length_mod_tab - -} PHONEME_TAB; - - -// This is a new format for eSpeak 1.41 -#define FRFLAG_KLATT 0x01 // this frame includes extra data for Klatt synthesizer -typedef struct { // 64 bytes - short frflags; - short ffreq[7]; - unsigned char length; - unsigned char rms; - unsigned char fheight[8]; - unsigned char fwidth[6]; // width/4 f0-5 - unsigned char fright[3]; // width/4 f0-2 - unsigned char bw[4]; // Klatt bandwidth BNZ /2, f1,f2,f3 - unsigned char klattp[5]; // AV, FNZ, Tilt, Aspr, Skew - unsigned char klattp2[5]; // continuation of klattp[], Avp, Fric, FricBP, Turb - unsigned char klatt_ap[7]; // Klatt parallel amplitude - unsigned char klatt_bp[7]; // Klatt parallel bandwidth /2 - unsigned char spare; // pad to multiple of 4 bytes -} frame_t; // with extra Klatt parameters for parallel resonators - -typedef struct { // 44 bytes - short frflags; - short ffreq[7]; - unsigned char length; - unsigned char rms; - unsigned char fheight[8]; - unsigned char fwidth[6]; // width/4 f0-5 - unsigned char fright[3]; // width/4 f0-2 - unsigned char bw[4]; // Klatt bandwidth BNZ /2, f1,f2,f3 - unsigned char klattp[5]; // AV, FNZ, Tilt, Aspr, Skew -} frame_t2; - - - -#define N_SEQ_FRAMES 25 - -typedef struct { - short length; - unsigned char n_frames; - unsigned char sqflags; - frame_t frame[N_SEQ_FRAMES]; -} SPECT_SEQ; - - -void swap_phondata (const char *infile, const char *outfile, - const char *manifest); -void swap_phonindex (const char *infile, const char *outfile); -void swap_phontab (const char *infile, const char *outfile); - -void usage (const char *program_name); - -int xread; // prevent compiler warning from fread() - - -int GetFileLength(const char *filename) -{//==================================== - struct stat statbuf; - - if(stat(filename,&statbuf) != 0) - return(0); - - if((statbuf.st_mode & S_IFMT) == S_IFDIR) - // if(S_ISDIR(statbuf.st_mode)) - return(-2); // a directory - - return(statbuf.st_size); -} // end of GetFileLength - - - - -int main (int argc, char *argv[]) -{//============================== - const char *indir = "/usr/share/espeak-data"; - const char *outdir = "."; - const char *manifest = "phondata-manifest"; - char *f1, *f2; - - if (argc > 4) - usage (argv[0]); - - if (argc > 1) { - if (strcmp (argv[1], "-h") == 0 || - strcmp (argv[1], "--help") == 0) - usage (argv[0]); - - indir = argv[1]; - } - - if (argc > 2) - outdir = argv[2]; - - if (argc > 3) - manifest = argv[3]; - - f1 = (char *) malloc (strlen (indir) + 20); - if (f1 == NULL) { - fprintf (stderr, "Unable to allocate memory\n"); - exit (1); - } - f2 = (char *) malloc (strlen (outdir) + 20); - if (f2 == NULL) { - fprintf (stderr, "Unable to allocate memory\n"); - exit (1); - } - -#if IS_BIG_ENDIAN - printf ("Host seems to be big-endian ..\n"); -#else - printf ("Host seems to be little-endian ..\n"); -#endif - printf ("Reading from: %s\n", indir); - - sprintf (f1, "%s/phondata", indir); - sprintf (f2, "%s/temp_1", outdir); - - printf ("Processing phondata ..\n"); - swap_phondata (f1, f2, manifest); - if(GetFileLength(f1) != GetFileLength(f2)) - { - fprintf(stderr, "Error: phondata length is different from the original\n"); - exit(1); - } - sprintf (f1, "%s/phondata", outdir); - rename (f2, f1); - - sprintf (f1, "%s/phontab", indir); - sprintf (f2, "%s/temp_1", outdir); - - printf ("Processing phontab ..\n"); - swap_phontab (f1, f2); - sprintf (f1, "%s/phontab", outdir); - rename (f2, f1); - - sprintf (f1, "%s/phonindex", indir); - sprintf (f2, "%s/temp_1", outdir); - - printf ("Processing phonindex ..\n"); - swap_phonindex (f1, f2); - sprintf (f1, "%s/phonindex", outdir); - rename (f2, f1); - - free (f1); - free (f2); - - printf ("Done.\n"); - - return 0; -} // end of main - - -void swap_phondata (const char *infile, const char *outfile, - const char *manifest) -{//========================================================== - FILE *in, *mfest, *out; - int displ; - int displ_out; - int errorflag_displ = 0; // only report the first displ mismatch error - char line[1024]; - unsigned char buf_4[4]; - - in = fopen (infile, "rb"); - if (in == NULL) { - fprintf (stderr, "Unable to read from file %s\n", infile); - exit (1); - } - - mfest = fopen (manifest, "rb"); - if (mfest == NULL) { - fprintf (stderr, "Unable to read from file %s\n", manifest); - exit (1); - } - - out = fopen (outfile, "wb"); - if (out == NULL) { - fprintf (stderr, "Unable to open file %s for writing\n", outfile); - exit (1); - } - - xread = fread(buf_4, 4, 1, in); // version number - fwrite(buf_4, 4, 1, out); - xread = fread(buf_4, 4, 1, in); // sample rate - fwrite(buf_4, 4, 1, out); - - while (fgets (line, sizeof(line), mfest)) - { - if(!isupper(line[0])) continue; - - sscanf(&line[2],"%x",&displ); - fseek(in, displ, SEEK_SET); - fflush(out); - displ_out = ftell(out); - if((errorflag_displ==0) && (displ != displ_out)) - { - fprintf(stderr, "Length error at the line before: %s", line); - errorflag_displ = 1; - } - - if (line[0] == 'S') { - SPECT_SEQ buf_spect; - size_t frame_start; - int n; - - xread = fread(&buf_spect, 4, 1, in); - buf_spect.length = (short) SWAP_USHORT (buf_spect.length); - fwrite(&buf_spect, 4, 1, out); - - for (n = 0; n < buf_spect.n_frames; n++) { - int k; - - frame_start = ftell(in); - xread = fread(&buf_spect.frame[0], sizeof(frame_t), 1, in); - - buf_spect.frame[0].frflags = (short) - SWAP_USHORT (buf_spect.frame[0].frflags); - -// Changed for eSpeak 1.41 - for (k = 0; k < 7; k++) { - buf_spect.frame[0].ffreq[k] = (short) - SWAP_USHORT (buf_spect.frame[0].ffreq[k]); - } - - // is this a long or a short frame? - if(buf_spect.frame[0].frflags & FRFLAG_KLATT) - { - fwrite(&buf_spect.frame[0], sizeof(frame_t), 1, out); - fseek(in, frame_start + sizeof(frame_t), SEEK_SET); - } - else - { - fwrite(&buf_spect.frame[0], sizeof(frame_t2), 1, out); - fseek(in, frame_start + sizeof(frame_t2), SEEK_SET); - } - } - } - else if (line[0] == 'W') { - long pos; - int length; - char *wave_data; - - xread = fread (buf_4, 4, 1, in); - fwrite (buf_4, 4, 1, out); - - length = buf_4[1] * 256 + buf_4[0]; - - wave_data = (char *) malloc (length); - if (wave_data == NULL) { - fprintf (stderr, "Memory allocation error\n"); - exit (1); - } - - xread = fread (wave_data, 1, length, in); - fwrite (wave_data, 1, length, out); - - pos = ftell (in); - while((pos & 3) != 0) { - fgetc (in); - pos++; - } - - pos = ftell (out); - while((pos & 3) != 0) { - fputc (0, out); - pos++; - } - - free (wave_data); - } - else if (line[0] == 'E') { - char env_buf[128]; - - xread = fread (env_buf, 1, 128, in); - fwrite (env_buf, 1, 128, out); - } - else if (line[0] == 'Q') { - unsigned char pb[4]; - unsigned length; - char *buf; - - xread = fread (pb, 1, 4, in); - fwrite (pb, 1, 4, out); - - length = (pb[2] << 8) + pb[3]; // size in words - length *= 4; - - buf = (char *) malloc (length); - - xread = fread (buf, length, 1, in); - fwrite (buf, length, 1, out); - - free (buf); - } - } - - fclose (in); - fclose (out); - fclose (mfest); -} // end of swap_phondata - - -void swap_phonindex (const char *infile, const char *outfile) -{//========================================================== - FILE *in, *out; - char buf_4[4]; - unsigned short val; - - in = fopen (infile, "rb"); - if (in == NULL) { - fprintf (stderr, "Unable to read from file %s\n", infile); - exit (1); - } - - out = fopen (outfile, "wb"); - if (out == NULL) { - fprintf (stderr, "Unable to open file %s for writing\n", outfile); - exit (1); - } - - xread = fread (buf_4, 4, 1, in); // skip first 4 bytes - fwrite(buf_4, 4, 1, out); - - while (! feof (in)) { - size_t n; - - n = fread (&val, 2, 1, in); - if (n != 1) - break; - - val = SWAP_USHORT (val); - fwrite (&val, 2, 1, out); - } - - fclose (in); - fclose (out); -} // end of swap_phonindex - - -void swap_phontab (const char *infile, const char *outfile) -{//======================================================== - FILE *in, *out; - char buf_8[8]; - int i, n_phoneme_tables; - - in = fopen (infile, "rb"); - if (in == NULL) { - fprintf (stderr, "Unable to read from file %s\n", infile); - exit (1); - } - - out = fopen (outfile, "wb"); - if (out == NULL) { - fprintf (stderr, "Unable to open file %s for writing\n", outfile); - exit (1); - } - - xread = fread (buf_8, 4, 1, in); - fwrite (buf_8, 4, 1, out); - n_phoneme_tables = buf_8[0]; - - for (i = 0; i < n_phoneme_tables; i++) { - int n_phonemes, j; - char tab_name[N_PHONEME_TAB_NAME]; - - xread = fread (buf_8, 8, 1, in); - fwrite (buf_8, 8, 1, out); - - n_phonemes = buf_8[0]; - - xread = fread (tab_name, N_PHONEME_TAB_NAME, 1, in); - fwrite (tab_name, N_PHONEME_TAB_NAME, 1, out); - - for (j = 0; j < n_phonemes; j++) { - PHONEME_TAB table; - - xread = fread (&table, sizeof (PHONEME_TAB), 1, in); - - table.mnemonic = SWAP_UINT (table.mnemonic); - table.phflags = SWAP_UINT (table.phflags); - table.program = SWAP_USHORT (table.program); - - fwrite (&table, sizeof (PHONEME_TAB), 1, out); - } - } - - fclose (in); - fclose (out); -} // end of swap_phontab - - -void -usage (const char *program_name) -{ - fprintf (stderr, -"This program copies the phontab, phonindex and phondata files from a given\n" -"directory, swapping values to big-endian form if necessary.\n\n" -"Usage:\n" -" %s [INPUT_DIR] [OUTPUT_DIR] [MANIFEST_FILE]\n\n" -"By default, the MANIFEST_FILE used is a file called 'phondata-manifest' in\n" -"the current directory. The default INPUT_DIR is /usr/share/espeak-data and\n" -"OUTPUT_DIR is the current directory.\n", program_name); - exit (1); -} diff --git a/platforms/dos/MAKEFILE.DJ b/platforms/dos/MAKEFILE.DJ deleted file mode 100644 index 35b175fe..00000000 --- a/platforms/dos/MAKEFILE.DJ +++ /dev/null @@ -1,61 +0,0 @@ -BINDIR=/usr/bin -INCDIR=/usr/include/espeak -LIBDIR=/usr/lib -DATADIR=espeak-data - -RELEASE = 1.28 -BIN_NAME = speak - -INSTALL = /usr/bin/install -LN_SF = /bin/ln -sf -MKDIR = mkdir -p - -speak_SOURCES = speak.cpp compiledict.cpp dictionary.cpp intonation.cpp \ - readclause.cpp setlengths.cpp numbers.cpp synth_mbrola.cpp \ - synthdata.cpp synthesize.cpp translate.cpp tr_english.cpp \ - tr_languages.cpp voices.cpp wavegen.cpp phonemelist.cpp - -SRCS1=$(speak_SOURCES) -OBJS1=$(patsubst %.cpp,%.o,$(SRCS1)) -LIBS1= - - -CXXFLAGS=-O2 - - -all: $(BIN_NAME) - -.cpp.o: - $(CXX) $(CXXFLAGS) -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -Wall -pedantic -I. -c -fno-exceptions $< - -$(BIN_NAME): $(OBJS1) - $(CXX) -o $@ $(OBJS1) $(LIBS1) - -clean: - rm -f *.o *.a *~ - -distclean: clean - rm -f $(BIN_NAME) - rm -f $(BIN2_NAME) - rm -f $(LIB_NAME)* - -install: all - # Create directories - rm -rf $(DESTDIR)$(DATADIR) - $(MKDIR) $(DESTDIR)$(BINDIR) - $(MKDIR) $(DESTDIR)$(LIBDIR) - $(MKDIR) $(DESTDIR)$(INCDIR) - $(MKDIR) $(DESTDIR)$(DATADIR) - # Install espeak executable - $(INSTALL) -m 755 $(BIN2_NAME) $(DESTDIR)$(BINDIR) - # Install shared library - $(INSTALL) -m 755 $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR) - # Install static library - $(INSTALL) -m 755 $(STATIC_LIB_NAME) $(DESTDIR)$(LIBDIR) - $(LN_SF) $(LIB_NAME).$(LIBTAG) $(DESTDIR)$(LIBDIR)/$(LIB_NAME).$(LIB_VERSION) - $(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(DESTDIR)$(LIBDIR)/$(LIB_NAME) - # Install development headers - $(INSTALL) -pm 644 speak_lib.h $(DESTDIR)$(INCDIR) - # Install data files - cp -prf ../espeak-data/* $(DESTDIR)$(DATADIR) - diff --git a/platforms/dos/SPEECH.H b/platforms/dos/SPEECH.H deleted file mode 100644 index 3db1fc8f..00000000 --- a/platforms/dos/SPEECH.H +++ /dev/null @@ -1,95 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005 to 2007 by Jonathan Duddington * - * email: jonsd@users.sourceforge.net * - * * - * 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, write see: * - * . * - ***************************************************************************/ - - -#include - -// conditional compilation options - -#if defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN -#define ARCH_BIG -#endif - -#define PLATFORM_DOS -#define NEED_WCHAR_FUNCTIONS -#define NEED_GETOPT -typedef unsigned int uint32_t; - -#define PATHSEP '\\' -//#define USE_PORTAUDIO -#define USE_NANOSLEEP -#define __cdecl -#define ESPEAK_API extern "C" - -#ifdef LIBRARY -#define USE_ASYNC -//#define USE_MBROLA_LIB -#endif - -#ifdef _ESPEAKEDIT -#define USE_ASYNC -#define LOG_FRAMES // write keyframe info to log-espeakedit -#endif - -// will look for espeak_data directory here, and also in user's home directory -#ifndef PATH_ESPEAK_DATA - #define PATH_ESPEAK_DATA "/usr/share/espeak-data" -#endif - - -#ifdef PLATFORM_DOS -int iswalpha(int c); -int iswdigit(int c); -int iswalnum(int c); -int towlower(int c); -int iswupper(int c); -int iswlower(int c); -int iswspace(int c); -int iswpunct(int c); -const wchar_t *wcschr(const wchar_t *str, int c); -const int wcslen(const wchar_t *str); -float wcstod(const wchar_t *str, wchar_t **tailptr); -int towupper(int c); -#endif - - - -typedef unsigned short USHORT; -typedef unsigned char UCHAR; -typedef double DOUBLEX; - - - - -typedef struct { - const char *mnem; - int value; -} MNEM_TAB; -int LookupMnem(MNEM_TAB *table, char *string); - - - -#define N_PATH_HOME 120 -extern char path_home[N_PATH_HOME]; // this is the espeak-data directory - -extern void strncpy0(char *to,const char *from, int size); -int GetFileLength(const char *filename); -char *Alloc(int size); -void Free(void *ptr); - diff --git a/platforms/dos/readme.dos b/platforms/dos/readme.dos deleted file mode 100644 index f99b1227..00000000 --- a/platforms/dos/readme.dos +++ /dev/null @@ -1,24 +0,0 @@ -Building speak.exe with djgpp: - -1. -unzip the source with the unzip32.exe utility from djgpp. - -2. -change into the src directory. -copy the makefile.dj and the speech.h file into the src directory -type in the src directory make -f makefile.dj - -3. -copy the speak.exe into the main directory (cp speak.exe ..\speak.exe - -Now you can use speak.exe to produce wave-files: - -speak -v de -f test.txt -w test.wav - -or you can produce phonemes for mbrola: - -speak -v mb\mb-de4 -f test.txt >test.pho - - -speak --voices will list all voices. -Test it and enjoy. diff --git a/platforms/riscos/!Help b/platforms/riscos/!Help deleted file mode 100644 index 6de51a9f..00000000 --- a/platforms/riscos/!Help +++ /dev/null @@ -1,122 +0,0 @@ -eSpeak - RISCOS Version -======================== - -NOTE: The contents of the files in the espeak-dat directory, - and the format of their contents has changed for this version. - Please delete your old espeak-dat directory and replace it - with the new one in this package. - - -Requirements -============ - -RISCOS 3.6 or later with 16 bit sound system enabled. - -On my 200MHz StrongArm, it takes 51 sec to process 6m 3s of speech output, -so it will probably run OK on an ARM7 processor also. - - - -Installation and Use -==================== - -1. Copy the !eSpeak directory onto your harddrive. - -2. To load the Speak module: double-click on !eSpeak. - - This sets the system variable, and then runs - the "speakmod" file to load the Speak module. - - Note, refers to the directory that contains the - espeak-dat directory, which contains the speech data. It must - be set before the module is loaded. - - -3. Example commands: - - *help speak - should now show version 3.30 (or whatever is the latest version) - - *speak -h - shows the available commands - - *speak "this is some text" - speaks the string "this is some text" - - *speak -v en-f "this is some text" - speaks with a different voice - - *speak -f textfile - speaks the text from file "textfile" - - *speak -a30 "this is some text" - speaks more quietly (range 0 to 200) - - *speak -s200 "this is some text" - speaks more quickly (200 words per minute) - - The improvement in speech quality over Speak v.2 are most clearly - heard when listening through a good sound system (eg. domestic - stereo system) rather than small computer speakers. - - -4. Adding words to the pronunciation dictionary - - The directory "data" contains pronunciation rules and exceptions - lists. To add words, add the word and its pronunciation - phonemes to en_extra and then do the speak command - - speak --compile=en - - from within the data directory. This will recompile the files: - en_dict in the espeak_dat directory. - - Details of the phoneme codes are given in docs.phonemes/html - - You can see the translated phoneme codes for a word by - speak -x "word" - - - -Use with Pluto -============== - - !Pluto will use the new module if speakmod has already - been run. Pluto's Speak dialog should show the new voices. - If you wish, you can give them more meaningful names by - renaming the files in espeak-dat.voices - - To install permanently in Pluto, you can copy "speakmod" into - !Pluto to replace the old speakmod for Speak version 2. - - Note that the system variable must be set before - speakmod is loaded. This can be done by either: - - a. Making sure that !eSpeak is seen by the RISC OS filer - before Pluto is run. - or - b. Putting the line: - Set eSpeak$dir - in the !Pluto.!Run file and copying the espeak-dat directory - into !Pluto - - Re-select the voices that Pluto uses. These may have changed. - - -To Re-Compile the Speak Module -============================== - - Download the "speak-*-source.zip" package and follow the instruction - int the ReadMe file in the "riscos" directory. - - -Problems -======== - -1. It uses the sound system directly rather than through the - SharedSound module, would allow the system volume control apply - to speech. - -2. There is no session management implemented, so changes to speed, - amplitude etc by one user of the module will affect the others. - \ No newline at end of file diff --git a/platforms/riscos/Makefile b/platforms/riscos/Makefile deleted file mode 100644 index 7a98ce18..00000000 --- a/platforms/riscos/Makefile +++ /dev/null @@ -1,90 +0,0 @@ -# Project: Speak3 - - -# Toolflags: -CCflags = -c -C90 -depend !Depend -IC: -throwback -zM -memaccess -L22-S22-L41 -C++flags = -c -depend !Depend -IC: -throwback -zM -memaccess -L22-S22-L41 -Linkflags = -rmf -c++ -o $@ -ObjAsmflags = -throwback -NoCache -depend !Depend -CMHGflags = -LibFileflags = -c -o $@ -Squeezeflags = -o $@ - - -# Final targets: -@.speakmod: @.o.speak_riscos @.o.compiledict @.o.dictionary \ - @.o.intonation @.o.readclause @.o.setlengths @.o.synthdata \ - @.o.synthesize @.o.translate @.o.tr_languages @.o.numbers \ - @.o.synth_mbrola @.o.phonemelist \ - @.o.wavegen @.o.voices @.o.assemb @.o.cmhgfile - Link $(Linkflags) C:o.stubs C:o.c++lib @.o.speak_riscos @.o.compiledict \ - @.o.dictionary @.o.intonation @.o.readclause @.o.setlengths \ - @.o.synthdata @.o.synthesize @.o.numbers @.o.synth_mbrola \ - @.o.translate @.o.wavegen @.o.tr_languages \ - @.o.voices @.o.phonemelist @.o.assemb @.o.cmhgfile - - -# User-editable dependencies: - -# Static dependencies: -@.o.speak_riscos: @.c.speak_riscos - cc $(ccflags) -o @.o.speak_riscos @.c.speak_riscos -@.o.compiledict: @.c.compiledict - cc $(ccflags) -o @.o.compiledict @.c.compiledict -@.o.dictionary: @.c.dictionary - cc $(ccflags) -o @.o.dictionary @.c.dictionary -@.o.intonation: @.c.intonation - cc $(ccflags) -o @.o.intonation @.c.intonation -@.o.numbers: @.c.numbers - cc $(ccflags) -o @.o.numbers @.c.numbers -@.o.phonemelist: @.c.phonemelist - cc $(ccflags) -o @.o.phonemelist @.c.phonemelist -@.o.readclause: @.c.readclause - cc $(ccflags) -o @.o.readclause @.c.readclause -@.o.setlengths: @.c.setlengths - cc $(ccflags) -o @.o.setlengths @.c.setlengths -@.o.synthdata: @.c.synthdata - cc $(ccflags) -o @.o.synthdata @.c.synthdata -@.o.synth_mbrola: @.c.synth_mbrola - cc $(ccflags) -o @.o.synth_mbrola @.c.synth_mbrola -@.o.synthesize: @.c.synthesize - cc $(ccflags) -o @.o.synthesize @.c.synthesize -@.o.translate: @.c.translate - cc $(ccflags) -o @.o.translate @.c.translate -@.o.tr_languages: @.c.tr_languages - cc $(ccflags) -o @.o.tr_languages @.c.tr_languages -@.o.voices: @.c.voices - cc $(ccflags) -o @.o.voices @.c.voices -@.o.wavegen: @.c.wavegen - cc $(ccflags) -o @.o.wavegen @.c.wavegen -@.o.assemb: @.s.assemb - objasm $(objasmflags) -from @.s.assemb -to @.o.assemb - -# Dynamic dependencies: -o.wavegen: c.wavegen -o.wavegen: h.StdAfx -o.wavegen: h.speak_lib -o.wavegen: h.speech -o.wavegen: h.phoneme -o.wavegen: h.synthesize -o.wavegen: h.voice -o.wavegen: h.sintab -o.speak_riscos: c.speak_riscos -o.speak_riscos: C:h.kernel -o.speak_riscos: h.speech -o.speak_riscos: h.speak_lib -o.speak_riscos: h.phoneme -o.speak_riscos: h.synthesize -o.speak_riscos: h.voice -o.speak_riscos: h.translate -o.synthdata: c.synthdata -o.synthdata: h.StdAfx -o.synthdata: h.wctype -o.synthdata: h.speak_lib -o.synthdata: h.speech -o.synthdata: h.phoneme -o.synthdata: h.synthesize -o.synthdata: h.voice -o.synthdata: h.translate -o.synthdata: h.wave -o.synthdata: C:h.stdint diff --git a/platforms/riscos/ReadMe b/platforms/riscos/ReadMe deleted file mode 100644 index 806a4171..00000000 --- a/platforms/riscos/ReadMe +++ /dev/null @@ -1,14 +0,0 @@ -These files are for a version for RISC OS computers (formerly -known as "Acorn" computers), which use ARM processors. - - -To compile the speakmod module for RISC OS. - -1. Run the "copysource" script to copy the source files from the - general source.src directory into the riscos.cpp and - riscos.h directories. These already contain the RISC OS - specific files. - -2. Run the Makefile to compile and link and produce the - "speakmod" module. - I used the AcornC/C++ compiler. diff --git a/platforms/riscos/c/speak_riscos b/platforms/riscos/c/speak_riscos deleted file mode 100644 index ed7dc795..00000000 --- a/platforms/riscos/c/speak_riscos +++ /dev/null @@ -1,1493 +0,0 @@ - -/*************************************************************************** - * Copyright (C) 2005 to 2013 by Jonathan Duddington * - * email: jonsd@users.sourceforge.net * - * * - * 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, write see: * - * . * - ***************************************************************************/ - -#define USE_MODULE - -#include -#include -#include -#include -#include -#include "kernel.h" -#include - -#include "speech.h" -#include "speak_lib.h" -#include "phoneme.h" -#include "synthesize.h" -#include "voice.h" -#include "translate.h" - -#define os_X 0x20000 - -// interface to the assembler section -//extern "C" { -extern void DMA_Handler(void); - - -// used from the cmhgfile -extern _kernel_oserror *user_init(char *cmd_fail, int podule_base, void *pw); -extern _kernel_oserror *swi_handler(int swi_no, int *r, void *pw); -extern _kernel_oserror *command_handler(char *arg_string, int argc, int cmd_no, void *pw); -extern int callback_handler(_kernel_swi_regs *r, void *pw); -extern int callback_entry(_kernel_swi_regs *r, void *pw); -extern int sound_handler(_kernel_swi_regs *r, void *pw); -extern int sound_entry(_kernel_swi_regs *r, void *pw); - -//} - -extern int Generate(PHONEME_LIST *phoneme_list, int *n_ph, int resume); -extern void RiscosOpenSound(); -extern int WcmdqUsed(); -extern void FreePhData(); -extern void FreeDictionary(); -extern void Write4Bytes(FILE *f, int value); - -extern int wcmdq_head; -extern int wcmdq_tail; -extern int current_source_index; - -FILE *f_text; -FILE *f_wave = NULL; -int (* uri_callback)(int, const char *, const char *) = NULL; -int (* phoneme_callback)(const char *) = NULL; - -int amp = 8; // default - -char path_home[N_PATH_HOME] = ""; -char wavefile[120]; -char textbuffile[L_tmpnam]; -int sample_rate_index; // current value -int sample_rate_doubled = 0; // 1= write audio data at 2x sample rate -char current_voice_name[40] = {0}; -int n_voice_files = 0; -int n_voice_variant_files = 0; - -// output sound buffer, 2 bytes per sample -static short SoundBuf[4096]; -static void *module_data; -static int callback_inhibit = 0; -static int more_text=0; - -#define N_VOICE_NAMES 60 -#define N_VOICE_VARIANT_NAMES 30 -static char *voice_names[N_VOICE_NAMES]; -static char *voice_variant_names[N_VOICE_VARIANT_NAMES]; - -#define N_STATIC_BUF 8000 -static char static_buf[N_STATIC_BUF]; -static _kernel_oserror errblk; - - - -USHORT voice_pcnt[N_PEAKS+1][3]; - -static const char *help_text = -"\nspeak [options] [\"\"]\n\n" -"-f Text file to speak\n" -//"--stdin Read text input from stdin instead of a file\n\n" -"If neither -f nor --stdin, are spoken, or if none then text is\n" -"spoken from stdin, each line separately.\n\n" -"-a \n" -"\t Amplitude, 0 to 200, default is 100\n" -"-g \n" -"\t Word gap. Pause between words, units of 10mS at the default speed\n" -"-l \n" -"\t Line length. If not zero (which is the default), consider\n" -"\t lines less than this length as end-of-clause\n" -"-p \n" -"\t Pitch adjustment, 0 to 99, default is 50\n" -"-s \n" -"\t Speed in words per minute 80 to 390, default is 170\n" -"-v \n" -"\t Use voice file of this name from espeak-data/voices\n" -"-w \n" -"\t Write output to this WAV file, rather than speaking it directly\n" -"-b\t Input text is 8-bit encoding\n" -"-m\t Interpret SSML markup, and ignore other < > tags\n" -"-q\t Quiet, don't produce any speech (may be useful with -x)\n" -"-x\t Write phoneme mnemonics to stdout\n" -"-X\t Write phonemes mnemonics and translation trace to stdout\n" -//"--stdout Write speech output to stdout\n" -"--compile=\n" -"\t Compile the pronunciation rules and dictionary in the current\n" -"\t directory. = is optional and specifies which language\n" -"--punct=\"\"\n" -"\t Speak the names of punctuation characters during speaking. If\n" -"\t = is omitted, all punctuation is spoken.\n" -"--voices=\n" -"\t List the available voices. (More voices can be installed from the main eSpeak distribution)\n" -"--voices=variant\n" -"\t List the available voice variants which can be combined with voices, eg. en+f3\n" -"-k \n" -"\t Indicate capital letters with: 1=sound, 2=the word \"capitals\",\n" -"\t higher values = a pitch increase (try -k20).\n"; - - -int GetFileLength(const char *filename) -{//==================================== - int length=0; - int type; - _kernel_swi_regs regs; - _kernel_oserror *error; - - regs.r[0] = 5; - regs.r[1] = (int)filename; - regs.r[2] = 0; - regs.r[3] = 0; - regs.r[4] = 0; - regs.r[5] = 0; - - error = _kernel_swi(0x20008,®s,®s); - if(error) - return(0); - - type = regs.r[0]; - length = regs.r[4]; - - if(type==2) - return(-2); // a directory - if((type!=1) && (type!=3)) - return(0); /* not a file */ - - return(length); -} /* end of GetFileLength */ - - - -void ReadVoiceNames2(char *directory) -{//================================== - int len; - int path_len; - int *type; - char *p; - _kernel_swi_regs regs; - _kernel_oserror *error; - char buf[80]; - char directory2[sizeof(path_home)+100]; - - regs.r[0] = 10; - regs.r[1] = (int)directory; - regs.r[2] = (int)buf; - regs.r[3] = 1; - regs.r[4] = 0; - regs.r[5] = sizeof(buf); - regs.r[6] = 0; - - path_len = strlen(directory); - - voice_variant_names[0] = "(none)"; - n_voice_variant_files = 1; - - while(regs.r[3] > 0) - { - error = _kernel_swi(0x0c+os_X,®s,®s); /* OS_GBPB 10, read directory entries */ - if((error != NULL) || (regs.r[3] == 0)) - { - break; - } - type = (int *)(&buf[16]); - len = strlen(&buf[20]); - - if(*type == 2) - { - // a sub-directory - sprintf(directory2,"%s.%s",directory,&buf[20]); - ReadVoiceNames2(directory2); - } - else - { - p = (char *)malloc(len+1); - strcpy(p,&buf[20]); - - if(strcmp(&directory[path_len-3],".!v")==0) - { - if(n_voice_variant_files >= (N_VOICE_VARIANT_NAMES-1)) - continue; - voice_variant_names[n_voice_variant_files++] = p; - } - else - if(strcmp(p, "default") != 0) - { - if(n_voice_files >= (N_VOICE_NAMES-1)) - continue; - voice_names[n_voice_files++] = p; - } - } - } -} - - -void ReadVoiceNames() -{//=================== - char directory[sizeof(path_home)+20]; - - n_voice_files = 0; - n_voice_variant_files = 0; - - sprintf(directory,"%s.voices.default", path_home); - if(GetFileLength(directory) > 0) - { - // put the 'default' voice at the start of the list - voice_names[n_voice_files++] = "default"; - } - sprintf(directory,"%s.voices",path_home); - - ReadVoiceNames2(directory); - - voice_names[n_voice_files] = NULL; - voice_variant_names[n_voice_variant_files] = NULL; -} - - -#ifdef USE_MODULE -char *Alloc(int size) -/*******************/ -{ // version of malloc() for use in RISC_OS module -_kernel_swi_regs regs; - - regs.r[0] = 6; - regs.r[3] = size; - _kernel_swi(0x1e, ®s, ®s); /* OS_Module 6 claim memory */ - - return(char *)regs.r[2]; -} /* end of module_malloc */ - - - -void Free(void *ptr) -/*******************/ -{ // version of free() for use in RISC_OS module -_kernel_swi_regs regs; - - if(ptr == NULL) - return; - - regs.r[0] = 7; - regs.r[2] = (int)(ptr); - _kernel_swi(0x1e, ®s, ®s); /* OS_Module 7 free memory */ -} /* end of Free */ - -#else - -char *Alloc(int size) -{//================== - char *p; - if((p = (char *)malloc(size)) == NULL) - fprintf(stderr,"Can't allocate memory\n"); - return(p); -} - -void Free(void **ptr) -{//================= - if(ptr != NULL) - { - free(ptr); - } -} -#endif - - - - -static int OpenWaveFile(const char *path, int rate) -//================================================= -{ - // Set the length of 0x7fffffff for --stdout - // This will be changed to the correct length for -w (write to file) - static unsigned char wave_hdr[44] = { - 'R','I','F','F',0,0,0,0,'W','A','V','E','f','m','t',' ', - 0x10,0,0,0,1,0,1,0, 9,0x3d,0,0,0x12,0x7a,0,0, - 2,0,0x10,0,'d','a','t','a', 0xff,0xff,0xff,0x7f}; - - if(path == NULL) - return(2); - - if(strcmp(path,"stdout")==0) - f_wave = stdout; - else - f_wave = fopen(path,"wb"); - - if(f_wave != NULL) - { - fwrite(wave_hdr,1,24,f_wave); - Write4Bytes(f_wave,rate); - Write4Bytes(f_wave,rate * 2); - fwrite(&wave_hdr[32],1,12,f_wave); - return(0); - } - return(1); -} // end of OpenWaveFile - - - - -static void CloseWaveFile(int rate) -//================================= -{ - unsigned int pos; - - if((f_wave == NULL) || (f_wave == stdout)) - return; - - fflush(f_wave); - pos = ftell(f_wave); - - fseek(f_wave,4,SEEK_SET); - Write4Bytes(f_wave,pos - 8); - - fseek(f_wave,40,SEEK_SET); - Write4Bytes(f_wave,pos - 44); - - - fclose(f_wave); - f_wave = NULL; - -} // end of CloseWaveFile - - - - -void MarkerEvent(int type, unsigned int char_position, int value, int value2, unsigned char *out_ptr) -{//================================================================================================= -// Do nothing in the command-line version. -} // end of MarkerEvent - - -static int WavegenFile(void) -{//========================= - int finished; - unsigned char wav_outbuf[1024]; - - out_ptr = out_start = wav_outbuf; - out_end = wav_outbuf + sizeof(wav_outbuf); - - finished = WavegenFill(0); - - if(f_wave != NULL) - { - fwrite(wav_outbuf, 1, out_ptr - wav_outbuf, f_wave); - } - return(finished); -} // end of WavegenFile - - - - -void FillSoundBuf(int size) -{//======================== -// Fill the buffer with output sound - -// size is number of samples*4 - - size = size; - if(size > sizeof(SoundBuf)) - size = sizeof(SoundBuf); - - out_ptr = (unsigned char *)(&SoundBuf[0]); - out_end = (unsigned char *)(&SoundBuf[size]); - WavegenFill(1); -} - - - -int initialise(void) -{//================= - char buf[N_PATH_HOME]; - - _kernel_swi_regs regs; - _kernel_oserror *error; - - buf[0] = 0; - regs.r[0] = (int)"eSpeak$Dir"; - regs.r[1] = (int)buf; - regs.r[2] = sizeof(buf); - regs.r[3] = 0; - regs.r[4] = 0; - regs.r[5] = 0; - - error = _kernel_swi(0x20023,®s,®s); // OS_ReadVarVal - buf[regs.r[2]] = 0; - - sprintf(path_home,"%s.espeak-data",buf); - if(GetFileLength(path_home) != -2) - { - // not found, try the 10 character version of the directory name - sprintf(path_home,"%s.espeak-dat",buf); - } - if(GetFileLength(path_home) != -2) - { - // still can't find data directory - sprintf(errblk.errmess,"Speak: Can't find data directory: '%s'\n",path_home); - return(-1); - } - - WavegenInit(22050,0); - LoadPhData(NULL); - SetVoiceStack(NULL, ""); - SynthesizeInit(); - return(0); -} - - - -void speak_text_string(char *data, int terminator, int len, int wait, int voice_num) -/**********************************************************************************/ -/* 'wait' indictes wait until speaking is finished before returning */ -{ - int c; - int ix; - char *vname; - static static_length=0; - static int user_token=0; /* increment for each call of translate() */ - _kernel_swi_regs regs; - - regs.r[0] = (int)callback_entry; - regs.r[1] = (int)module_data; - _kernel_swi(0x5f, ®s, ®s); - - option_endpause = 1; - - vname = voice_names[voice_num]; - if((voice_num >= 0) && (strcmp(vname, current_voice_name) != 0) && (voice_num < N_VOICE_NAMES)) - { - SetVoiceByName(voice_names[voice_num]); - WavegenSetVoice(voice); - } - strcmp(current_voice_name, vname); - - /* don't count CR as terminator if length is specified */ - if(len > 0) terminator = 0; - - ix = 0; - if(more_text == 0) - static_length = 0; - else - { - strcat(&static_buf[static_length]," \n "); - static_length+=3; - } - - if(terminator == 0) - { - while(((c = data[ix++]) != 0) && (static_length < N_STATIC_BUF-4)) - { - static_buf[static_length++] = c; - if(ix == len) - break; - } - } - else - { - while(((c = data[ix++]) != '\r') && (c != '\n') && (c != 0) && (static_length < N_STATIC_BUF-3)) - { - static_buf[static_length++] = c; - if(ix == len) - break; - } - } - static_buf[static_length] = 0; - - if(option_waveout==0) - { - if(more_text == 0) - { - InitText(0); - RiscosOpenSound(); - more_text = SpeakNextClause(NULL,(void *)static_buf,0); - } - - while(wait) - { - if((more_text==0) && (wcmdq_head == wcmdq_tail)) - break; - - //we need to block to allow the callback handler to run - regs.r[0] = 129; // wait for key press - regs.r[1] = 10; - regs.r[2] = 0; - _kernel_swi(0x06, ®s, ®s); // OS_Byte - } - } - else - { - more_text = 0; - SpeakNextClause(NULL,(void *)static_buf,0); - - for(;;) - { - if(WavegenFile() != 0) - break; // finished, wavegen command queue is empty - - if(Generate(phoneme_list,&n_phoneme_list,1)==0) - SpeakNextClause(NULL,NULL,1); - } - - CloseWaveFile(samplerate); - } - -} /* end of speak_text_string */ - - - - -void speak_file(char *fname) -{//========================= - FILE *f_in; - char buf[120]; - - f_in = fopen(fname,"r"); - if(f_in == NULL) - { - fprintf(stderr,"Can't read file: '%s'",fname); - return; - } - more_text = 1; - - if(option_waveout == 0) - { - RiscosOpenSound(); - SpeakNextClause(f_in,NULL,0); - } - else - { - more_text = 0; - SpeakNextClause(f_in,NULL,0); - - for(;;) - { - if(WavegenFile() != 0) - break; // finished, wavegen command queue is empty - - if(Generate(phoneme_list,&n_phoneme_list,1)==0) - SpeakNextClause(NULL,NULL,1); - } - - CloseWaveFile(samplerate); - } -} - - - -void set_say_options(int reg2, int reg3) -/**************************************/ -/* Sets options from information in 'say' SWI */ -/* R3 bits 0-7 stress indicator character - bit 8 inhibit unpronouncable check */ -{ - option_linelength = 0; - option_phonemes = 0; - option_waveout = 0; - option_multibyte = 0; // auto - option_capitals = 0; - if(reg2 >= 0) - { - // not using SWI_SPEAK+14 to set voice and punctiation option - option_punctuation = 0; - option_punctlist[0] = 0; - } - else - { - SetParameter(espeakPUNCTUATION,option_punctuation,0); - } -} /* end of set_say_options */ - - - -void jsd_swi_functions(int *r) -/****************************/ -{ - int use_ipa; - espeak_VOICE voice_select; - - switch(r[0]) - { - case 0: /* major version */ - r[0] = 4; - r[1] = 347; - break; - - case 1: /* register user */ - break; - - case 2: /* deregister user */ - break; - - case 3: - // translate into phonemes - use_ipa = 0; - if((r[2] >= 1) && (r[2] <= 5)) - use_ipa = r[2]; - TranslateClause(translator,NULL,(char *)r[1],NULL,NULL); - GetTranslatedPhonemeString(translator->phon_out, sizeof(translator->phon_out), use_ipa); - r[0] = (int)translator->phon_out; - break; - - case 4: -// r[0] = reload_word_dict(NULL); - break; - - case 5: /* get table of voice names */ - r[0] = (int)voice_names; - r[1] = (int)voice_variant_names; - break; - - case 6: /* update voice data, r1 = voice_number */ - if(r[1] < N_VOICE_NAMES) - { - SetVoiceByName(voice_names[r[1]]); - strcmp(current_voice_name, voice_names[r[1]]); - WavegenSetVoice(voice); - } - break; - - case 7: /* load voice data */ -// init_voice((char *)r[1]); - break; - - case 8: - // list voices, r[1] contains optional language name (or "variant") - voice_select.languages = (char *)r[1]; - voice_select.age = 0; - voice_select.gender = 0; - voice_select.name = NULL; - r[0] = (int)espeak_ListVoices(&voice_select); - break; - - default: - r[0] = 0; - r[1] = 0; - break; - } -} /* end of jsd_swi_functions */ - - - - -_kernel_oserror *swi_handler(int swi_no, int *r, void *pw) -/*********************************************************/ -{ - int value; - int value2; - int q_length; - char *p; - int ix; - value = r[0]; - - switch(swi_no) - { - - case 0: // ready ? - // returns the index into the source text of the currently speaking word - ix = current_source_index & 0x7ff; - if(ix > 0) - r[1] = ix-1; - else - r[1] = ix; /* source index */ - r[2] = 0; /* source tag */ - r[3] = 0; /* for future expansion */ - r[4] = 0; - r[5] = 0; - - if((WcmdqUsed() < 5) && (more_text == 0)) - { - r[0] = -1; /* ready, or nearly */ - } - else - { - r[0] = 0; - } - break; - - case 1: /* restore old sound channel. DO NOTHING */ - break; - - case 2: /* miscellaneous functions */ - jsd_swi_functions(r); - break; - - case 3: /* speak text */ -// _kernel_irqs_on(); - set_say_options(r[2],r[3]); - speak_text_string((char *)r[0],'\r',r[1],0,r[2]); - break; - - case 4: /* speak text and wait */ -// _kernel_irqs_on(); /* enable interrupts */ - set_say_options(r[2],r[3]); - speak_text_string((char *)r[0],'\r',r[1],1,r[2]); - break; - - case 5: /* stop speaking */ - SpeakNextClause(NULL,NULL,2); - more_text = 0; - break; - - case 7: /* pitch */ - value = (value * 50)/128; - SetParameter(espeakPITCH, value, 0); - break; - - case 8: // speed, convert to range 80 to 400, mid-value=180 - if(value < 128) - value2 = 80 + (value*100)/128; // linear range for 0-127 -> 80-179 - else - value2 = 80 + pow((float)value/128.0, 1.75)*100; - - SetParameter(espeakRATE,value2,0); - break; - - case 9: /* word_gap */ - if(value >= 128) - value = value - 128; - - if(value > 1) - value = (value-1) * 5; - - SetParameter(espeakWORDGAP,value,0); - break; - - case 10: /* pitch_range */ - value = (value * 50)/128; - SetParameter(espeakRANGE, value, 0); - break; - - case 12: /* reset */ - // not implemented - break; - - case 13: /* volume */ - // convert to range 6-255 to 10-400, mid-value=100 - if(value < 6) - value2 = value + 4; - else - if(value < 128) - { - value2 = pow((float)(value+40)/168.0, 1.75)*100; - } - else - value2 = pow((float)value/128.0, 2.0)*100; - SetParameter(espeakVOLUME,value2,0); - WavegenSetVoice(voice); - break; - - case 14: // set voice by name - p = (char *)r[0]; - if(strcmp(p, current_voice_name) != 0) - { - SetVoiceByName(p); - WavegenSetVoice(voice); - strcpy(current_voice_name, p); - } - option_punctuation = 0; - if(r[1] != 0) - { - p = (char *)r[1]; - if(p[0] == 0) - option_punctuation = 1; - else - { - for(ix=0; ix < N_PUNCTLIST; ix++) - { - if((option_punctlist[ix] = p[ix]) == 0) - break; - } - option_punctlist[N_PUNCTLIST-1] = 0; - option_punctuation = 2; - } - } - break; - } - return(NULL); -} /* end of swi_handler */ - - - -void PitchAdjust(int pitch_adjustment) -{//=================================== - int ix, factor; - - extern unsigned char pitch_adjust_tab[MAX_PITCH_VALUE+1]; - - voice->pitch_base = (voice->pitch_base * pitch_adjust_tab[pitch_adjustment])/128; - - // adjust formants to give better results for a different voice pitch - factor = 256 + (25 * (pitch_adjustment - 50))/50; - for(ix=0; ix<=5; ix++) - { - voice->freq[ix] = (voice->freq2[ix] * factor)/256; - } -} // end of PitchAdjustment - - - -void DisplayVoices(FILE *f_out, char *language) -{//============================================ - int ix; - const char *p; - int len; - int count; - int scores = 0; - const espeak_VOICE *v; - const char *lang_name; - char age_buf[12]; - const espeak_VOICE **voices; - espeak_VOICE voice_select; - - static char genders[4] = {'-','M','F','-'}; - - if(language[0] == '=') - { - // display only voices for the specified language, in order of priority - voice_select.languages = &language[1]; - voice_select.age = 0; - voice_select.gender = 0; - voice_select.name = NULL; - voices = espeak_ListVoices(&voice_select); - scores = 1; - } - else - { - voices = espeak_ListVoices(NULL); - } - - fprintf(f_out,"Pty Language Age/Gender VoiceName File Other Langs\n"); - - for(ix=0; (v = voices[ix]) != NULL; ix++) - { - count = 0; - p = v->languages; - if(memcmp(language,"=variant",8)==0) - { - if(strcmp(p+1,"variant") != 0) - continue; - } - else - if(language[0] == 0) - { - if(strcmp(p+1,"variant") == 0) - continue; - } - - while(*p != 0) - { - len = strlen(p+1); - lang_name = p+1; - - - if(v->age == 0) - strcpy(age_buf," "); - else - sprintf(age_buf,"%3d",v->age); - - if(count==0) - { - fprintf(f_out,"%2d %-12s%s%c %-17s %-11s ", - p[0],lang_name,age_buf,genders[v->gender],v->name,v->identifier); - } - else - { - fprintf(f_out,"(%s %d)",lang_name,p[0]); - } - count++; - p += len+2; - } - fputc('\n',f_out); - } -} // end of DisplayVoices - - - -char *param_string(char **argp) -{//============================ - char *p; - int ix=0; - static char buf[80]; - - p = *argp; - while(*p == ' ') p++; - while(!isspace(*p)) - buf[ix++] = *p++; - buf[ix]=0; - - *argp = p; - return(buf); -} - -int param_number(char **argp) -{//========================== - int value; - char *p; - - p = *argp; - while(*p == ' ') p++; - - value = atoi(p); - while(!isspace(*p)) p++; - *argp = p; - return(value); -} - -void PrintVersion() -{//================ - char buf[120]; - printf("\nspeak text-to-speech: %s Data at: %s\n", version_string, path_home); -} - - -void command_line(char *arg_string, int wait) -{//========================================== - - int option_index = 0; - int c; - int value; - int speed = 175; - int amp = 100; - int wordgap = 0; - int speaking = 0; - int flag_stdin = 0; - int flag_compile = 0; - int error; - int pitch_adjustment = 50; - char filename[80]; - char voicename[40]; - char command[80]; - char *p; - int ix; - int quiet = 0; - - voicename[0] = 0; - wavefile[0] = 0; - filename[0] = 0; - option_ssml = 0; - option_linelength = 0; - option_phonemes = 0; - option_waveout = 0; - option_multibyte = 0; // auto - option_capitals = 0; - option_punctuation = 0; - option_punctlist[0] = 0; - - f_trans = stdout; - - p = arg_string; - - for(;;) - { - while(*p==' ') p++; // skip spaces - if(*p == '\r') break; // end of line - - if(*p == '-') - { - // a command line argument - p++; - switch(*p++) - { - case 'b': - option_multibyte = espeakCHARS_8BIT; - break; - - case 'h': - PrintVersion(); - printf("\n%s",help_text); - return; - - case 'k': - option_capitals = param_number(&p); - break; - - case 'x': - option_phonemes = 1; - break; - - case 'X': - option_phonemes = 2; - break; - - case 'm': - option_ssml = 1; - break; - - case 'p': - pitch_adjustment = param_number(&p); - break; - - case 'q': - quiet = 1; - break; - - case 'f': - strncpy0(filename,param_string(&p),sizeof(filename)); - break; - - case 'l': - option_linelength = param_number(&p); - break; - - case 'a': - amp = param_number(&p); - break; - - case 's': - speed = param_number(&p); - break; - - case 'g': - wordgap = param_number(&p); - break; - - case 'v': - strncpy0(voicename,param_string(&p),sizeof(voicename)); - break; - - case 'w': - option_waveout=1; - strncpy0(wavefile,param_string(&p),sizeof(wavefile)); - break; - - case '-': - strncpy0(command,param_string(&p),sizeof(command)); - if(memcmp(command,"compile=",8)==0) - { - CompileDictionary(NULL,&command[8],NULL,NULL,0); - return; - } - else - if(memcmp(command,"voices",6)==0) - { - DisplayVoices(stdout,&command[6]); - return; - } - else - if(strcmp(command,"help")==0) - { - PrintVersion(); - printf("\n%s",help_text); - return; - } - else - if(memcmp(command,"punct",5)==0) - { - option_punctuation = 1; - if((command[5]=='=') && (command[6]=='"')) - { - ix = 0; - while((ix < N_PUNCTLIST) && ((option_punctlist[ix] = command[ix+7]) != 0)) ix++; - option_punctlist[N_PUNCTLIST-1] = 0; - option_punctuation = 2; - } - } - else - if(memcmp(command,"version",7)==0) - { - PrintVersion(); - return; - } - else - if(memcmp(command,"ipa",3)==0) - { - option_phonemes = 3; - } - else - { - printf("Command not recognised\n"); - } - break; - - default: - printf("Command not recognised\n"); - break; - } - - } - else - { - break; - } - } - - SetParameter(espeakCAPITALS,option_capitals,0); - SetParameter(espeakWORDGAP,wordgap,0); - SetParameter(espeakPUNCTUATION,option_punctuation,0); - SetParameter(espeakRATE,speed,0); - SetParameter(espeakVOLUME,amp,0); - - if((option_phonemes > 1) && !option_waveout) - quiet = 1; // can't call sprintf() during callback - - SetVoiceByName(voicename); - - if((filename[0]==0) && (p[0]=='\r')) - { - // nothing to speak - if(quiet) - { - SpeakNextClause(NULL,NULL,2); // stop speaking - more_text = 0; - } - } - - if(option_waveout || quiet) - { - // write speech to a WAV file - if(quiet) - { - OpenWaveFile(NULL,samplerate); - option_waveout = 2; - } - else - { - if(OpenWaveFile(wavefile,samplerate) != 0) - { - fprintf(stderr,"Can't write to output file '%s'\n'",wavefile); - return; - } - } - } - - if(pitch_adjustment != 50) - { - PitchAdjust(pitch_adjustment); - } - WavegenSetVoice(voice); - - if(filename[0]==0) - speak_text_string(p,'\r',0,wait,-1); - else - speak_file(filename); -} - - - -_kernel_oserror *command_handler(char *arg_string, int argc, int cmd_no, void *pw) -/********************************************************************************/ -{ - switch(cmd_no) - { - case 0: /* Say */ - command_line(arg_string,0); // for compatibility with speak V2 - break; - - case 1: /* Sayw ] */ - command_line(arg_string,0); - break; - - } - return(NULL); -} /* end of cmd_handler */ - - -// sound handler data -int current_sound_handler=0; -int prev_sound_handler=0; -int prev_sound_data=0; -int prev_sound_rate=13; -int sound_handler_changed=0; - - -void RiscosCloseSound() -{//==================== -_kernel_swi_regs regs; - if((sound_handler_changed) && (prev_sound_handler != (int)DMA_Handler)) - { - // check whether current handler is ours - regs.r[0]=0; - _kernel_swi(0x40145,®s,®s); - if(regs.r[1] == (int)DMA_Handler) - { - regs.r[0]=1; - regs.r[1]=prev_sound_handler; - regs.r[2]=prev_sound_data; - _kernel_swi(0x40145,®s,®s); // Sound LinearHandler 1 - - // reset to the previous sample rate - regs.r[0]=3; - regs.r[1]=prev_sound_rate; - _kernel_swi(0x40146,®s,®s); // Sound_SampleRate 3 - - current_sound_handler = prev_sound_handler; - sound_handler_changed = 0; - } - } -} // end of RiscosCloseSound - - - -void RiscosOpenSound() -{//=================== - _kernel_swi_regs regs; - - if(current_sound_handler != (int)DMA_Handler) - { - // register the sound handler - regs.r[0]=1; - regs.r[1]=(int)DMA_Handler; - regs.r[2]=(int)module_data; - _kernel_swi(0x40145,®s,®s); // Sound_LinearHandler 1 - prev_sound_handler = regs.r[1]; - prev_sound_data = regs.r[2]; - - // set the sample rate - regs.r[0]=3; - regs.r[1]=sample_rate_index; - regs.r[2]=0; - _kernel_swi(0x40146,®s,®s); // Sound_SampleRate - prev_sound_rate = regs.r[1]; - - current_sound_handler = (int)DMA_Handler; - sound_handler_changed = 1; - } -} // end of RiscosOpenSound - - - - - -int callback_handler(_kernel_swi_regs *r, void *pw) -/*************************************************/ -{ - if(Generate(phoneme_list,&n_phoneme_list,1)==0) - { - more_text = SpeakNextClause(NULL,NULL,1); - } - - if((WcmdqUsed() == 0) && (more_text == 0)) - { - RiscosCloseSound(); - } - callback_inhibit = 0; - - return(1); -} /* end of callback_handler */ - - - -int sound_handler(_kernel_swi_regs *r, void *pw) -/**********************************************/ -{ - int n_queue; - int size; - int *dma_buf; - int x; - int x2; - int ix; - - module_data = (int *)pw; - dma_buf = (int *)r->r[1]; - size = (r->r[2] - r->r[1])/4; - - if(sample_rate_doubled == 0) - { - FillSoundBuf(size); - - for(ix=0; ixr[0] = 0; - if(callback_inhibit == 0) - { - // set a callback either: - // - queue is low and there is more text to be processed - // - queue is empty and no more text, so callback handler will remove the sound handler - if(((n_queue < 20) && (more_text != 0)) || - ((n_queue==0) && (more_text == 0))) - { - callback_inhibit = 1; - r->r[0] = 1; - r->r[1] = (int)pw; - } - } - return(1); -} - - - - -int InitSound16(int sample_rate) -/******************************/ -/* Find sample rate index */ -{ - int current_rate_index; // current value - - int sound_mode; - int sound_config; - int srate; - int n_srix; - int ix; - int double_rate_ix = -1; - int nearest_ix; - int nearest_diff = 0x7fffffff; - int diff; - _kernel_swi_regs regs; - _kernel_oserror *error; - - sound_mode = 0; - sample_rate_doubled = 0; - regs.r[0] = 0; - error = _kernel_swi(0x40144+os_X,®s,®s); - sound_mode = regs.r[0]; - sound_config = regs.r[1]; - - if((error == NULL) && (sound_mode == 1)) - { - /* 16 bit sound, find sample rate index */ - regs.r[0] = 0; - regs.r[1] = 0; - _kernel_swi(0x40146,®s,®s); // Sound_SampleRate - n_srix = regs.r[1]; - - regs.r[0] = 1; - regs.r[1] = 0; - _kernel_swi(0x40146,®s,®s); - current_rate_index = regs.r[1]; // current sample rate index - srate = regs.r[2]; - for(ix=1; ix<=n_srix; ix++) - { - regs.r[0] = 2; - regs.r[1] = ix; - _kernel_swi(0x40146,®s,®s); - srate = regs.r[2] / 1024; - if(srate == sample_rate) - { - return(ix); - } - if(srate == sample_rate*2) - { - double_rate_ix = ix; - } - if((diff = abs(sample_rate - srate)) < nearest_diff) - { - nearest_diff = diff; - nearest_ix = ix; - } - } - } - if(double_rate_ix >= 0) - { - // matching sample rate is not available, but double this rate is. - sample_rate_doubled = 1; - return(double_rate_ix); - } - else - { - return(nearest_ix); - } -} // end of InitSound16 - - - -void RemoveCallback() -/*******************/ -{ - _kernel_swi_regs regs; - - regs.r[0] = (int)callback_entry; - regs.r[1] = (int)module_data; - _kernel_swi(0x5f, ®s, ®s); -} - - -void terminate_module(void) -/*************************/ -{ - RiscosCloseSound(); - RemoveCallback(); - DeleteTranslator(translator); - FreePhData(); -} /* end of terminate_module */ - - -void kill_module(void) -/********************/ -{ - _kernel_swi_regs regs; - regs.r[0]=4; - regs.r[1]=(int)"Speak"; - _kernel_swi(0x1e,®s,®s); /* RMKill */ -} - - -_kernel_oserror *user_init(char *cmd_fail, int podule_base, void *pw) -/*******************************************************************/ -{ - _kernel_swi_regs regs; - _kernel_oserror *error; - int param; - - // It seems that the wctype functions don't work until the locale has been set - // to something other than the default "C". Then, not only Latin1 but also the - // other characters give the correct results with iswalpha() etc. - - static char *locale = "ISO8859-1"; - setlocale(LC_CTYPE,locale); - - module_data = pw; - - sample_rate_index = InitSound16(22050); - - if(initialise() < 0) - { - // exit module, errblk.errmess is set by initialise() - errblk.errnum = 0x101; - return(&errblk); - } - - ReadVoiceNames(); - SetVoiceByName("default"); - - for(param=0; param.^.src.compiledict/cpp .c.compiledict fq~c -copy .^.src.dictionary/cpp .c.dictionary fq~c -copy .^.src.intonation/cpp .c.intonation fq~c -copy .^.src.numbers/cpp .c.numbers fq~c -copy .^.src.phonemelist/cpp .c.phonemelist fq~c -copy .^.src.readclause/cpp .c.readclause fq~c -copy .^.src.setlengths/cpp .c.setlengths fq~c -copy .^.src.synthdata/cpp .c.synthdata fq~c -copy .^.src.synth_mbrola/cpp .c.synth_mbrola fq~c -copy .^.src.synthesize/cpp .c.synthesize fq~c -copy .^.src.translate/cpp .c.translate fq~c -copy .^.src.tr_languages/cpp .c.tr_languages fq~c -copy .^.src.voices/cpp .c.voices fq~c -copy .^.src.wavegen/cpp .c.wavegen fq~c - -copy .^.src.phoneme/h .h.phoneme fq~c -copy .^.src.sintab/h .h.sintab fq~c -copy .^.src.speak_lib/h .h.speak_lib fq~c -copy .^.src.synthesize/h .h.synthesize fq~c -copy .^.src.translate/h .h.translate fq~c -copy .^.src.voice/h .h.voice fq~c -copy .^.src.wave/h .h.wave fq~c diff --git a/platforms/riscos/h/RegNames b/platforms/riscos/h/RegNames deleted file mode 100644 index c263038d..00000000 --- a/platforms/riscos/h/RegNames +++ /dev/null @@ -1,45 +0,0 @@ -; h.RegNames -; -; This header file for GETting from assembler source defines register names -; -;************************************************************************** -; -; Use the RN directive to define ARM register names -; - -r0 RN 0 -r1 RN 1 -r2 RN 2 -r3 RN 3 -r4 RN 4 -r5 RN 5 -r6 RN 6 -r7 RN 7 -r8 RN 8 -r9 RN 9 -r10 RN 10 -sl RN 10 -r11 RN 11 -fp RN 11 -r12 RN 12 -ip RN 12 -r13 RN 13 -sp RN 13 -r14 RN 14 -lr RN r14 ; Note: register names can be defined from each other -r15 RN 15 -pc RN r15 - -; Use the FN directive to define floating point register names - -f0 FN 0 -f1 FN 1 -f2 FN 2 -f3 FN 3 -f4 FN 4 -f5 FN 5 -f6 FN 6 -f7 FN 7 - - END - diff --git a/platforms/riscos/h/StdAfx b/platforms/riscos/h/StdAfx deleted file mode 100644 index c9a526fd..00000000 --- a/platforms/riscos/h/StdAfx +++ /dev/null @@ -1,3 +0,0 @@ -// This is a dummy file. -// A file of this name is needed on Windows - diff --git a/platforms/riscos/h/speech b/platforms/riscos/h/speech deleted file mode 100644 index a39a9919..00000000 --- a/platforms/riscos/h/speech +++ /dev/null @@ -1,68 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005,2006 by Jonathan Duddington * - * jsd@clara.co.uk * - * * - * 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 2 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, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -// Header file for RISCOS build - - -// comment this out when compiling the "speak" process -//#define SPECT_EDITOR - -#define PATHSEP '.' -#define USE_ASSEMBLER_1 -#define PLATFORM_RISCOS -#define NEED_WCHAR_FUNCTIONS -#define __cdecl // define as null, needed for Borland compiler -#define ESPEAK_API - -typedef unsigned short USHORT; -typedef unsigned char UCHAR; -typedef int DOUBLEX; - -typedef struct { - const char *mnem; - int value; -} MNEM_TAB; -int LookupMnem(MNEM_TAB *table, char *string); - -#ifdef PLATFORM_WINDOWS -#define N_PATH_HOME 220 -#else -#define N_PATH_HOME 150 -#endif - -extern char path_home[N_PATH_HOME]; // this is the espeak-data directory - - -extern void strncpy0(char *to,const char *from, int size); -extern int GetFileLength(const char *filename); -extern char *Alloc(int size); -extern void Free(void *ptr); - - -const int wcslen(const wchar_t *str); - - -extern "C" { -// optional assembler routine to speed-up Wavegen() -int AddSineWaves(int waveph, int h_switch_sign, int maxh, int *harmspect); -} - -#define strcasecmp(a,b) strcmp(a,b) - diff --git a/platforms/riscos/h/wchar b/platforms/riscos/h/wchar deleted file mode 100644 index 1909c046..00000000 --- a/platforms/riscos/h/wchar +++ /dev/null @@ -1,3 +0,0 @@ - -const wchar_t *wcschr(const wchar_t *str, int c); - diff --git a/platforms/riscos/h/wctype b/platforms/riscos/h/wctype deleted file mode 100644 index 1c09bf99..00000000 --- a/platforms/riscos/h/wctype +++ /dev/null @@ -1,12 +0,0 @@ -typedef int wchar_t; - -int iswalpha(int c); -int iswdigit(int c); -int iswalnum(int c); -int towlower(int c); -int towupper(int c); -int iswupper(int c); -int iswlower(int c); -int iswspace(int c); -int iswpunct(int c); - diff --git a/platforms/riscos/o/assemb b/platforms/riscos/o/assemb deleted file mode 100644 index 2cbcb57f..00000000 Binary files a/platforms/riscos/o/assemb and /dev/null differ diff --git a/platforms/riscos/o/cmhgfile b/platforms/riscos/o/cmhgfile deleted file mode 100644 index ace01af7..00000000 Binary files a/platforms/riscos/o/cmhgfile and /dev/null differ diff --git a/platforms/riscos/s/assemb b/platforms/riscos/s/assemb deleted file mode 100644 index ab525e4a..00000000 --- a/platforms/riscos/s/assemb +++ /dev/null @@ -1,127 +0,0 @@ -; 32 bit version - -; SWI numbers -OS_File * &8 -OS_Module * &1e -XOS_AddCallBack * &20054 -XOS_RemoveCallBack * &2005f - - - - GET h.RegNames - EXPORT DMA_Handler - EXPORT AddSineWaves - - IMPORT |callback_entry| - IMPORT |sound_entry| - IMPORT |sin_tab| - - - AREA Assemb , CODE, READONLY - - -; pointers to data items -ADR_callback_entry - DCD callback_entry -ADR_sound_entry - DCD sound_entry -ADR_sin_tab - DCD sin_tab - - - - - -DMA_Handler -;********** -; fill the sound buffer of the linear sound handler -; preserve r11,r12,r13 (fp,ip,sp) - - MOV r5,ip ; need to save ip - MOV ip,sp ;set up a stack - STMFD sp!, {fp,ip,lr} - STMFD sp!, {r5} - - MOV r12,r0 ; put the module_data word in r12 - BL sound_entry ; call C function through veneer in CMHG - - ; returns with r0=1 set callback, r1=module_data address - CMP r0,#1 - BNE DMA_return - -;--------- - TEQ pc,pc - MRSEQ r8, CPSR ; 32bit version of call SWI from IRQ mode - MOVNE r8,pc - ORR r9,r8,#3 - MSREQ CPSR_c, r9 - TEQNEP r9,#0 - NOP - STR r14, [r13,#-4]! -;--------- - - ; r1=module_data address - LDR r0,ADR_callback_entry ; call C function through CMHG veneer - SWI XOS_AddCallBack - -;--------- - LDR r14, [r13],#4 ; 32bit version of 'reenter original processor mode' - TEQ pc,pc - MSREQ CPSR_c, r8 - TEQNEP r8,#0 - NOP -;--------- - -DMA_return - LDMFD sp!,{ip} - LDMFD sp, {fp,sp,pc} - - -AddSineWaves -;total += AddSineWaves(waveph, h_switch_sign, maxh, harmspect); -; using this assembler routine increases overall speed by about 7.5% -; define the USE_ASSEMBLER_1 macro in speech.h to enable this routine - -; input: r0=waveph r1=h_switch_sign r2=maxh r3=harmspect -; local: r5=sin_tab r6=total r7=h r8=theta -; return(total) - MOV ip,sp - STMFD sp!, {r5-r9,ip,lr} - LDR r5,ADR_sin_tab - MOV r6,#0 ; total = 0 - MOV r0,r0,LSL #16 - MOV r8,r0 ; theta = waveph - - MOV r7,#1 - -as1 - MOV ip,r8,LSR #21 - LDR r9,[r5,ip,LSL #1] ; sin_tab[theta >> 5] - MOV r9,r9,LSL #16 - MOV r9,r9,ASR #16 - LDR ip,[r3,r7,LSL #2] ; harmspect[h] - MLA r6,r9,ip,r6 - - ADD r8,r8,r0 ; theta += waveph - ADD r7,r7,#1 ; h++ - CMP r7,r1 - BLE as1 - - RSB r6,r6,#0 ; change sign - -as2 - MOV ip,r8,LSR #21 - LDR r9,[r5,ip,LSL #1] ; sin_tab[theta >> 5] - MOV r9,r9,LSL #16 - MOV r9,r9,ASR #16 - LDR ip,[r3,r7,LSL #2] ; harmspect[h] - MLA r6,r9,ip,r6 - - ADD r8,r8,r0 ; theta += waveph - ADD r7,r7,#1 ; h++ - CMP r7,r2 - BLE as2 - - MOV r0,r6 - LDMFD sp, {r5-r9,sp,pc} - END diff --git a/platforms/riscos/s/cmhgfile b/platforms/riscos/s/cmhgfile deleted file mode 100644 index ba4640af..00000000 --- a/platforms/riscos/s/cmhgfile +++ /dev/null @@ -1,22 +0,0 @@ - - -initialisation-code: user_init - -title-string: Speak -help-string: Speak 3.40 Text to Speech (32 bit) - -swi-chunk-base-number: &4ad80 -swi-handler-code: swi_handler -swi-decoding-table: Speak, - Ready,X,Misc,Say,Sayw,Stop,X,Pitch,Speed,WordGap,PitchRange,X,X,Volume - -vector-handlers: callback_entry/callback_handler -vector-handlers: sound_entry/sound_handler - -command-keyword-table: command_handler - SAY(min-args: 1, max-args: 255, - help-text: "Says English string \n"), - SAYW(min-args: 1, max-args: 255, - help-text: "Says English string \n"), - SPEAK(min-args: 1, max-args: 255, - help-text: "Says English string \n") diff --git a/platforms/windows/Readme.txt b/platforms/windows/Readme.txt deleted file mode 100644 index c418e2ba..00000000 --- a/platforms/windows/Readme.txt +++ /dev/null @@ -1,56 +0,0 @@ -eSpeak is a compact, multi-language, open source -text-to-speech synthesizer. - -This version is a SAPI5 compatible Windows speech engine -which should work with screen readers such as Jaws, -NVDA, and Window-Eyes. - -There is also a version of eSpeak which can be run as a -command-line program. This is in eSpeak\command-line. -Read docs\commands.html for details. - - - -Voices and Languages -==================== - -The available Voices can be seen as files in the directory - espeak-edit/voices. - -To change which eSpeak Voices are available through -Windows, re-run the installer and specify up to six -Voice files which you want to use. - -The tone of a Voice can be modified by adding a variant -name after the Voice name, eg: - pt+f3 - -The available variants are: -male: +m1 +m2 +m3 +m4 +m5 -female: +f1 +f2 +f3 +f4 -other effects: +croak +wisper - -These variants are defined by text files in - espeak-edit/voices/!v - - -Updates -======= - -The eSpeak project homepage is at: - http://espeak.sourceforge.net/ - -Comments, corrections, and other feedback and assistance -is sought from native speakers of the various languages -because I've no idea how they are supposed to sound :-) - -To make changes to pronunciation rules and exceptions, -or to change the sounds of phonemes, or just to experiment -with speech synthesis, download the "espeakedit" program. - - -License -======= - -This software is licencsed under the GNU General Public License -version3. See file: License.txt. diff --git a/platforms/windows/espeakedit/PAStaticWMME.lib b/platforms/windows/espeakedit/PAStaticWMME.lib deleted file mode 100644 index 6ddf5596..00000000 Binary files a/platforms/windows/espeakedit/PAStaticWMME.lib and /dev/null differ diff --git a/platforms/windows/espeakedit/ReadMe.txt b/platforms/windows/espeakedit/ReadMe.txt deleted file mode 100644 index 3f5064dc..00000000 --- a/platforms/windows/espeakedit/ReadMe.txt +++ /dev/null @@ -1,14 +0,0 @@ -Compiling the espeakedit program. - -You need the "espeakedit" download, - -Copy the source files from the "espeakedit" download into directory "src", -but do not overwrite files: - speech.h - StdAfx.h - -There are copies of these in directory "src_copy". - - -Use the "Unicode Release" build configuration. -This links with the "Unicode Release" version of the wxWidgets libraries. diff --git a/platforms/windows/espeakedit/espeakedit.dsp b/platforms/windows/espeakedit/espeakedit.dsp deleted file mode 100644 index 8fe9b162..00000000 --- a/platforms/windows/espeakedit/espeakedit.dsp +++ /dev/null @@ -1,715 +0,0 @@ -# Microsoft Developer Studio Project File - Name="minimal" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=minimal - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "espeakedit.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "espeakedit.mak" CFG="minimal - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "minimal - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Universal Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Universal Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Unicode Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Unicode Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 DLL Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Universal Unicode Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Universal Unicode Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Universal Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Universal Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Unicode Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Unicode Debug" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "minimal - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "minimal - Win32 DLL Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivudll\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivudll\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmswuniv28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivuddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivuddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmswuniv28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswunivdll" -# PROP BASE Intermediate_Dir "vc_mswunivdll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswunivdll" -# PROP Intermediate_Dir "vc_mswunivdll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\mswuniv" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivdll\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\mswuniv" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivdll\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswuniv" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswuniv" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmswuniv28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivddll" -# PROP BASE Intermediate_Dir "vc_mswunivddll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivddll" -# PROP Intermediate_Dir "vc_mswunivddll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswunivd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswunivd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswunivd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswunivd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmswuniv28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswudll\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswudll\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmsw28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswuddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswuddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmsw28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswdll" -# PROP BASE Intermediate_Dir "vc_mswdll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswdll" -# PROP Intermediate_Dir "vc_mswdll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\msw" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswdll\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_dll\msw" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswdll\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\msw" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\msw" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmsw28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswddll" -# PROP BASE Intermediate_Dir "vc_mswddll\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswddll" -# PROP Intermediate_Dir "vc_mswddll\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_dll\mswd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswddll\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_dll\mswd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "WXUSINGDLL" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" -# ADD LINK32 wxmsw28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_dll" - -!ELSEIF "$(CFG)" == "minimal - Win32 Universal Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivu\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivu\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmswuniv28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Universal Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivud\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivud\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmswuniv28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswuniv" -# PROP BASE Intermediate_Dir "vc_mswuniv\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswuniv" -# PROP Intermediate_Dir "vc_mswuniv\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\mswuniv" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswuniv\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\mswuniv" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswuniv\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswuniv" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswuniv" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmswuniv28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivd" -# PROP BASE Intermediate_Dir "vc_mswunivd\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivd" -# PROP Intermediate_Dir "vc_mswunivd\minimal" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswunivd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivd\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswunivd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswunivd\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswunivd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswunivd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmswuniv28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Unicode Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_mswu" -# PROP Intermediate_Dir "vc_mswu\minimal" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswu\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W3 /GR /O2 /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswu\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28u_core.lib wxbase28u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmsw28u_core.lib wxbase28u.lib wxmsw28u_adv.lib winmm.lib PAStaticWMME.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib wxmsw28u_html.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /out:"espeakedit.exe" /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Unicode Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswud" -# PROP Intermediate_Dir "vc_mswud\minimal" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswud\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswud\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28ud_core.lib wxbase28ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmsw28ud_core.lib wxbase28ud.lib wxmsw28ud_adv.lib wxmsw28ud_html.lib winmm.lib PAStaticWMME.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib PAStaticWMME.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "vc_msw" -# PROP BASE Intermediate_Dir "vc_msw\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "vc_msw" -# PROP Intermediate_Dir "vc_msw\minimal" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_msw\minimal.pdb" /FD /EHsc /c -# ADD CPP /nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_msw\minimal.pdb" /FD /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\msw" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\msw" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "__WXMSW__" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28_core.lib wxbase28.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmsw28_core.lib winmm.lib PAStaticWMME.lib wxbase28.lib wxmsw28_adv.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ELSEIF "$(CFG)" == "minimal - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswd" -# PROP BASE Intermediate_Dir "vc_mswd\minimal" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswd" -# PROP Intermediate_Dir "vc_mswd\minimal" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswd\minimal.pdb" /FD /GZ /EHsc /c -# ADD CPP /nologo /MDd /W4 /Gm /GR /Zi /Od /I ".\..\..\lib\vc_lib\mswd" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /Fd"vc_mswd\minimal.pdb" /FD /GZ /EHsc /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_WINDOWS" /d "NOPCH" -# ADD RSC /l 0x409 /i ".\..\..\lib\vc_lib\mswd" /i ".\..\..\include" /i "." /i ".\..\..\samples" /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_WINDOWS" /d "NOPCH" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw28d_core.lib wxbase28d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" -# ADD LINK32 wxmsw28d_core.lib winmm.lib PAStaticWMME.lib wxbase28d.lib wxmsw28d_adv.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /debug /machine:I386 /libpath:".\..\..\lib\vc_lib" - -!ENDIF - -# Begin Target - -# Name "minimal - Win32 DLL Universal Unicode Release" -# Name "minimal - Win32 DLL Universal Unicode Debug" -# Name "minimal - Win32 DLL Universal Release" -# Name "minimal - Win32 DLL Universal Debug" -# Name "minimal - Win32 DLL Unicode Release" -# Name "minimal - Win32 DLL Unicode Debug" -# Name "minimal - Win32 DLL Release" -# Name "minimal - Win32 DLL Debug" -# Name "minimal - Win32 Universal Unicode Release" -# Name "minimal - Win32 Universal Unicode Debug" -# Name "minimal - Win32 Universal Release" -# Name "minimal - Win32 Universal Debug" -# Name "minimal - Win32 Unicode Release" -# Name "minimal - Win32 Unicode Debug" -# Name "minimal - Win32 Release" -# Name "minimal - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\sample.rc -# End Source File -# End Group -# Begin Source File - -SOURCE=.\src\compiledata.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\compiledict.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\debug.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\debug.h -# End Source File -# Begin Source File - -SOURCE=.\src\dictionary.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\espeak_command.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\espeak_command.h -# End Source File -# Begin Source File - -SOURCE=.\src\espeakedit.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\espeakedit.h -# End Source File -# Begin Source File - -SOURCE=.\src\event.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\event.h -# End Source File -# Begin Source File - -SOURCE=.\src\extras.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\fifo.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\fifo.h -# End Source File -# Begin Source File - -SOURCE=.\src\formantdlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\intonation.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\klatt.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\klatt.h -# End Source File -# Begin Source File - -SOURCE=.\src\main.h -# End Source File -# Begin Source File - -SOURCE=.\src\menus.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\numbers.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\options.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\options.h -# End Source File -# Begin Source File - -SOURCE=.\src\phoneme.h -# End Source File -# Begin Source File - -SOURCE=.\src\phonemelist.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\portaudio.h -# End Source File -# Begin Source File - -SOURCE=.\src\portaudio18.h -# End Source File -# Begin Source File - -SOURCE=.\src\portaudio19.h -# End Source File -# Begin Source File - -SOURCE=.\src\prosodydisplay.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\prosodydisplay.h -# End Source File -# Begin Source File - -SOURCE=.\src\readclause.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\setlengths.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\sintab.h -# End Source File -# Begin Source File - -SOURCE=.\src\sonic.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\sonic.h -# End Source File -# Begin Source File - -SOURCE=.\src\speak_lib.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\speak_lib.h -# End Source File -# Begin Source File - -SOURCE=.\src\spect.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\spect.h -# End Source File -# Begin Source File - -SOURCE=.\src\spectdisplay.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\spectseq.cpp -# End Source File -# Begin Source File - -SOURCE=.\include\speech.h -# End Source File -# Begin Source File - -SOURCE=.\speech.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# Begin Source File - -SOURCE=.\src\synth_mbrola.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthdata.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthesize.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthesize.h -# End Source File -# Begin Source File - -SOURCE=.\src\tr_languages.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\translate.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\translate.h -# End Source File -# Begin Source File - -SOURCE=.\src\transldlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\voice.h -# End Source File -# Begin Source File - -SOURCE=.\src\voicedlg.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\voices.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\vowelchart.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\wave.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\wave.h -# End Source File -# Begin Source File - -SOURCE=.\src\wavegen.cpp -# End Source File -# End Target -# End Project diff --git a/platforms/windows/espeakedit/espeakedit.dsw b/platforms/windows/espeakedit/espeakedit.dsw deleted file mode 100644 index 85424b1d..00000000 --- a/platforms/windows/espeakedit/espeakedit.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "minimal"=".\espeakedit.dsp" - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/platforms/windows/espeakedit/espeakedit.opt b/platforms/windows/espeakedit/espeakedit.opt deleted file mode 100644 index 834c6679..00000000 Binary files a/platforms/windows/espeakedit/espeakedit.opt and /dev/null differ diff --git a/platforms/windows/espeakedit/espeakedit.plg b/platforms/windows/espeakedit/espeakedit.plg deleted file mode 100644 index 1edae8e6..00000000 --- a/platforms/windows/espeakedit/espeakedit.plg +++ /dev/null @@ -1,149 +0,0 @@ - - -
-

Build Log

-

---------------------Configuration: minimal - Win32 Unicode Release-------------------- -

-

Command Lines

-Creating command line "rc.exe /l 0x409 /fo"vc_mswu\minimal/sample.res" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /i ".\..\..\samples" /i "\wxWidgets-2.6.2\samples" /d "__WXMSW__" /d "_UNICODE" /d "_WINDOWS" /d "NOPCH" "C:\wxWidgets-2.6.2\samples\sample.rc"" -Creating temporary file "C:\DOCUME~1\JSD1~1.PC0\LOCALS~1\Temp\RSP64.tmp" with contents -[ -/nologo /MD /W4 /GR /O2 /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /Fo"vc_mswu\minimal/" /Fd"vc_mswu\minimal.pdb" /FD /EHsc /c -"C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledata.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\debug.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\espeak_command.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\espeakedit.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\event.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\extras.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\fifo.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\formantdlg.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\intonation.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\menus.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\numbers.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\options.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\phonemelist.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\prosodydisplay.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\readclause.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\setlengths.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\speak_lib.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\spect.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\spectdisplay.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\spectseq.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\synth_mbrola.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\synthdata.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\synthesize.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\tr_english.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\tr_languages.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\translate.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\transldlg.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\voicedlg.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\voices.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\vowelchart.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\wave.cpp" -"C:\wxWidgets-2.6.2\projects\espeakedit\src\wavegen.cpp" -] -Creating command line "cl.exe @C:\DOCUME~1\JSD1~1.PC0\LOCALS~1\Temp\RSP64.tmp" -Creating temporary file "C:\DOCUME~1\JSD1~1.PC0\LOCALS~1\Temp\RSP65.tmp" with contents -[ -wxmsw28u_core.lib wxbase28u.lib wxmsw28u_adv.lib winmm.lib PAStaticWMME.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /subsystem:windows /incremental:no /pdb:"vc_mswu/espeakedit.pdb" /machine:I386 /out:"espeakedit.exe" /libpath:".\..\..\lib\vc_lib" -".\vc_mswu\minimal\compiledata.obj" -".\vc_mswu\minimal\compiledict.obj" -".\vc_mswu\minimal\debug.obj" -".\vc_mswu\minimal\dictionary.obj" -".\vc_mswu\minimal\espeak_command.obj" -".\vc_mswu\minimal\espeakedit.obj" -".\vc_mswu\minimal\event.obj" -".\vc_mswu\minimal\extras.obj" -".\vc_mswu\minimal\fifo.obj" -".\vc_mswu\minimal\formantdlg.obj" -".\vc_mswu\minimal\intonation.obj" -".\vc_mswu\minimal\menus.obj" -".\vc_mswu\minimal\numbers.obj" -".\vc_mswu\minimal\options.obj" -".\vc_mswu\minimal\phonemelist.obj" -".\vc_mswu\minimal\prosodydisplay.obj" -".\vc_mswu\minimal\readclause.obj" -".\vc_mswu\minimal\setlengths.obj" -".\vc_mswu\minimal\speak_lib.obj" -".\vc_mswu\minimal\spect.obj" -".\vc_mswu\minimal\spectdisplay.obj" -".\vc_mswu\minimal\spectseq.obj" -".\vc_mswu\minimal\synth_mbrola.obj" -".\vc_mswu\minimal\synthdata.obj" -".\vc_mswu\minimal\synthesize.obj" -".\vc_mswu\minimal\tr_english.obj" -".\vc_mswu\minimal\tr_languages.obj" -".\vc_mswu\minimal\translate.obj" -".\vc_mswu\minimal\transldlg.obj" -".\vc_mswu\minimal\voicedlg.obj" -".\vc_mswu\minimal\voices.obj" -".\vc_mswu\minimal\vowelchart.obj" -".\vc_mswu\minimal\wave.obj" -".\vc_mswu\minimal\wavegen.obj" -".\vc_mswu\minimal\sample.res" -] -Creating command line "link.exe @C:\DOCUME~1\JSD1~1.PC0\LOCALS~1\Temp\RSP65.tmp" -

Output Window

-Compiling resources... -Compiling... -compiledata.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -compiledict.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(205) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(218) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(341) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(354) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(379) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(384) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(586) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(615) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(621) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(668) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(670) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(731) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(732) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(733) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(867) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(1195) : warning C4244: '=' : conversion from 'unsigned int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\compiledict.cpp(1197) : warning C4244: '=' : conversion from 'unsigned int' to 'unsigned char', possible loss of data -debug.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -dictionary.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(256) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(398) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(442) : warning C4244: '=' : conversion from 'unsigned int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(458) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(588) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(636) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(875) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(886) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(1006) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(1066) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(1337) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(1533) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(1534) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(1844) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2021) : warning C4244: 'argument' : conversion from 'int' to 'unsigned short', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2422) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2434) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2445) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2514) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2552) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -C:\wxWidgets-2.6.2\projects\espeakedit\src\dictionary.cpp(2557) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data -espeak_command.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -espeakedit.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -event.cpp -C:\wxWidgets-2.6.2\projects\espeakedit\src\speech.h(21) : error C2501: 'xxtest' : missing storage-class or type specifiers -extras.cpp -cl.exe terminated at user request. - -
- - diff --git a/platforms/windows/espeakedit/mondrian.icns b/platforms/windows/espeakedit/mondrian.icns deleted file mode 100644 index 43fbff2c..00000000 Binary files a/platforms/windows/espeakedit/mondrian.icns and /dev/null differ diff --git a/platforms/windows/espeakedit/mondros2.ico b/platforms/windows/espeakedit/mondros2.ico deleted file mode 100644 index 8b0e58c0..00000000 Binary files a/platforms/windows/espeakedit/mondros2.ico and /dev/null differ diff --git a/platforms/windows/espeakedit/sample.ico b/platforms/windows/espeakedit/sample.ico deleted file mode 100644 index 435cca24..00000000 Binary files a/platforms/windows/espeakedit/sample.ico and /dev/null differ diff --git a/platforms/windows/espeakedit/sample.rc b/platforms/windows/espeakedit/sample.rc deleted file mode 100644 index 2896503f..00000000 --- a/platforms/windows/espeakedit/sample.rc +++ /dev/null @@ -1,32 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// Name: samples/samples.rc -// Purpose: a standard Win32 .rc file for the wxWindows samples -// Author: Vadim Zeitlin -// Modified by: -// Created: 04.08.03 -// RCS-ID: $Id: sample.rc,v 1.2 2003/08/14 14:08:53 VS Exp $ -// Copyright: (c) 2003 Vadim Zeitlin -// Licence: wxWindows licence -///////////////////////////////////////////////////////////////////////////// - -// this minimal resource file is all what is needed for most of the wxWindows -// samples - -// note that the icon used by the Explorer (i.e. the programs icon) is the -// first icon in the executable and the icons are sorted both by their order -// (Win9x) and by alphabetically (!) (NT), so put this icon first and give it -// a name starting with "a" -aaaaaaaa ICON "sample.ico" - -// this icon is used with wxFrame::SetIcon() -sample ICON "sample.ico" - -// set this to 1 if you don't want to use manifest resource (manifest resource -// is needed to enable visual styles on Windows XP - see docs/msw/winxp.txt -// for more information) -#define wxUSE_NO_MANIFEST 0 - -// this is not always needed but doesn't hurt (except making the executable -// very slightly larger): this file contains the standard icons, cursors, ... -#include "wx/msw/wx.rc" - diff --git a/platforms/windows/espeakedit/src/StdAfx.h b/platforms/windows/espeakedit/src/StdAfx.h deleted file mode 100644 index c9a526fd..00000000 --- a/platforms/windows/espeakedit/src/StdAfx.h +++ /dev/null @@ -1,3 +0,0 @@ -// This is a dummy file. -// A file of this name is needed on Windows - diff --git a/platforms/windows/espeakedit/src/speech.h b/platforms/windows/espeakedit/src/speech.h deleted file mode 100644 index 87fb470e..00000000 --- a/platforms/windows/espeakedit/src/speech.h +++ /dev/null @@ -1,72 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005,2006 by Jonathan Duddington * - * jsd@clara.co.uk * - * * - * 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 2 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, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -#ifndef SPEECH_H -#define SPEECH_H - -#define LOG_FRAMES // write keyframe info to src/log - - -// comment this out when compiling the "speak" process -//#define SPECT_EDITOR -#define INCLUDE_KLATT -#define INCLUDE_MBROLA - -#include -#define PLATFORM_WINDOWS -#define __WIN32__ -#define mkdir(p1,p2) mkdir(p1) - -#define PATHSEP '\\' -#define USE_PORTAUDIO -//#define USE_NANOSLEEP -#define NO_VARIADIC_MACROS -#define __cdecl -#define PATH_ESPEAK_DATA "C:\\Program files\\espeak\\espeak-data" - -typedef unsigned short USHORT; -typedef unsigned char UCHAR; -typedef double DOUBLEX; -#ifdef __WIN64__ -typedef uint64_t long64; // use this for conversion between pointers and integers -#else -typedef unsigned long long64; -#endif - - - - -typedef struct { - const char *mnem; - int value; -} MNEM_TAB; -int LookupMnem(MNEM_TAB *table, const char *string); - - - -#define N_PATH_HOME 230 -extern char path_home[N_PATH_HOME]; // this is the espeak-data directory - -extern void strncpy0(char *to,const char *from, int size); -int GetFileLength(const char *filename); -char *Alloc(int size); -void Free(void *ptr); - -#endif SPEECH_H diff --git a/platforms/windows/espeakedit/src/stdint.h b/platforms/windows/espeakedit/src/stdint.h deleted file mode 100644 index 6b162070..00000000 --- a/platforms/windows/espeakedit/src/stdint.h +++ /dev/null @@ -1,4 +0,0 @@ - -// dummy stdint.h file for Windows - -typedef unsigned int uint32_t; diff --git a/platforms/windows/espeakedit/src_copy/StdAfx.h b/platforms/windows/espeakedit/src_copy/StdAfx.h deleted file mode 100644 index c9a526fd..00000000 --- a/platforms/windows/espeakedit/src_copy/StdAfx.h +++ /dev/null @@ -1,3 +0,0 @@ -// This is a dummy file. -// A file of this name is needed on Windows - diff --git a/platforms/windows/espeakedit/src_copy/speech.h b/platforms/windows/espeakedit/src_copy/speech.h deleted file mode 100644 index 87fb470e..00000000 --- a/platforms/windows/espeakedit/src_copy/speech.h +++ /dev/null @@ -1,72 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005,2006 by Jonathan Duddington * - * jsd@clara.co.uk * - * * - * 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 2 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, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -#ifndef SPEECH_H -#define SPEECH_H - -#define LOG_FRAMES // write keyframe info to src/log - - -// comment this out when compiling the "speak" process -//#define SPECT_EDITOR -#define INCLUDE_KLATT -#define INCLUDE_MBROLA - -#include -#define PLATFORM_WINDOWS -#define __WIN32__ -#define mkdir(p1,p2) mkdir(p1) - -#define PATHSEP '\\' -#define USE_PORTAUDIO -//#define USE_NANOSLEEP -#define NO_VARIADIC_MACROS -#define __cdecl -#define PATH_ESPEAK_DATA "C:\\Program files\\espeak\\espeak-data" - -typedef unsigned short USHORT; -typedef unsigned char UCHAR; -typedef double DOUBLEX; -#ifdef __WIN64__ -typedef uint64_t long64; // use this for conversion between pointers and integers -#else -typedef unsigned long long64; -#endif - - - - -typedef struct { - const char *mnem; - int value; -} MNEM_TAB; -int LookupMnem(MNEM_TAB *table, const char *string); - - - -#define N_PATH_HOME 230 -extern char path_home[N_PATH_HOME]; // this is the espeak-data directory - -extern void strncpy0(char *to,const char *from, int size); -int GetFileLength(const char *filename); -char *Alloc(int size); -void Free(void *ptr); - -#endif SPEECH_H diff --git a/platforms/windows/make_espeak.iss b/platforms/windows/make_espeak.iss deleted file mode 100644 index f2e4648e..00000000 --- a/platforms/windows/make_espeak.iss +++ /dev/null @@ -1,573 +0,0 @@ -; This is the script for "Inno Setup 5" to create the setup_espeak.exe installer for Windows - -[Setup] -AppName=eSpeak -AppVerName=eSpeak version 1.48.03 -AppCopyright=Licensed under GNU General Public License version 3. (See file License.txt for details). -WindowVisible=yes - -DefaultDirName={pf}\eSpeak -DefaultGroupName=eSpeak -OutputBaseFilename=setup_espeak -Compression=lzma -SolidCompression=yes -ShowLanguageDialog=auto - -[Icons] -Name: "{group}\TTSApp"; Filename: "{app}\TTSApp.exe"; WorkingDir: "{app}" - -[InstallDelete] -Type: files; Name: "{app}\espeak.dll" -Type: files; Name: "{app}\espeak-data\voices\*" -Type: filesandordirs; Name: "{app}\espeak-data\voices\en" -Type: filesandordirs; Name: "{app}\espeak-data\voices\asia" -Type: filesandordirs; Name: "{app}\espeak-data\voices\europe" -Type: filesandordirs; Name: "{app}\espeak-data\voices\other" -Type: filesandordirs; Name: "{app}\espeak-data\voices\test" -Type: filesandordirs; Name: "{app}\docs" - -[Dirs] -Name: "{app}\espeak-data\soundicons" -Name: "{app}\espeak-data\mbrola" - -[Files] -Source: "espeak_sapi.dll"; DestDir: "{app}"; Flags: regserver promptifolder replacesameversion -Source: "TTSApp.exe"; DestDir:"{app}" -Source: "espeak-data\*"; DestDir: "{app}\espeak-data"; Flags: recursesubdirs -Source: "dictsource\*"; DestDir: "{app}\dictsource"; Flags: recursesubdirs -Source: "docs\*"; DestDir: "{app}\docs"; Flags: recursesubdirs -Source: "command_line\*"; DestDir: "{app}\command_line" -Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme -Source: "License.txt"; DestDir: "{app}"; -Source: "ChangeLog.txt"; DestDir: "{app}"; - -[Registry] -Root: HKLM; Subkey: "Software\Microsoft\Speech\PhoneConverters\Tokens\eSpeak"; Flags: deletekey uninsdeletekey - - -[Languages] -Name: "en"; MessagesFile: "compiler:Default.isl" -Name: "af"; MessagesFile: "compiler:Languages\Afrikaans.isl" -Name: "bg"; MessagesFile: "compiler:Languages\Bulgarian.isl" -Name: "bs"; MessagesFile: "compiler:Languages\Bosnian.isl" -Name: "cs"; MessagesFile: "compiler:Languages\Czech.isl" -Name: "da"; MessagesFile: "compiler:Languages\Danish.isl" -Name: "de"; MessagesFile: "compiler:Languages\German.isl" -Name: "el"; MessagesFile: "compiler:Languages\Greek.isl" -Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl" -Name: "fa"; MessagesFile: "compiler:Languages\Farsi.isl" -Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl" -Name: "fr"; MessagesFile: "compiler:Languages\French.isl" -Name: "hi"; MessagesFile: "compiler:Languages\Hindi.islu" -Name: "hr"; MessagesFile: "compiler:Languages\Croatian.isl" -Name: "hu"; MessagesFile: "compiler:Languages\Hungarian.isl" -Name: "id"; MessagesFile: "compiler:Languages\Indonesian-5.1.11.isl" -Name: "it"; MessagesFile: "compiler:Languages\Italian.isl" -Name: "ka"; MessagesFile: "compiler:Languages\Georgian.islu" -Name: "lv"; MessagesFile: "compiler:Languages\Latvian.isl" -Name: "ne"; MessagesFile: "compiler:Languages\Nepali.islu" -Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl" -Name: "no"; MessagesFile: "compiler:Languages\Norwegian.isl" -Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl" -Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl" -Name: "ro"; MessagesFile: "compiler:Languages\Romanian.isl" -Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl" -Name: "sk"; MessagesFile: "compiler:Languages\Slovak.isl" -Name: "sr"; MessagesFile: "compiler:Languages\Serbian.isl" -Name: "tr"; MessagesFile: "compiler:Languages\Turkish.isl" -Name: "vi"; MessagesFile: "compiler:Languages\Vietnamese.isl" -Name: "zh"; MessagesFile: "compiler:Languages\ChineseSimp-12-5.1.11.isl" - -[CustomMessages] -v1=Select which voices to install -v2=or press Enter to accept defaults -v3=Enter voice names, eg: (for Portuguese) pt, or with a variant, eg: pt+f3 - -bs.v1=Odaberite jezik kojeg želite instalirati -bs.v2=ili pritisnite Enter za prihvat zadanih. -bs.v3=Upišite, npr. bs (za Bosanski) ili s varjantom: bs+f3 - -fr.v1=Sélectionnez les voix à installer -fr.v2=ou appuyez sur Entrée pour accepter les valeurs par défaut. -fr.v3=Entrez le nom des voix, ex : (pour le Français) fr, ou avec une variante ex : fr+f3 - -hr.v1=Odaberite jezik kojeg želite instalirati -hr.v2=ili pritisnite Enter za prihvat zadanih. -hr.v3=Upišite, npr. hr (za Hrvatski) ili s varjantom: hr+f3 - -pt.v1=Seleccione as vozes que pretende instalar -pt.v2=ou precione enter para aceitar as predefinidas. -pt.v3=Introduza os nomes das vozes, ex: (Brazil) pt (ou Portugal) pt-pt, ou com outras caracter?sticas, ex: pt+f3 - -sr.v1=Molimo vas da odaberete glasove, koje želite da instalirate -sr.v2=ili pritisnite Enter za instalaciju podrazumevanih glasova. -sr.v3=Da odaberete glas, unesite ime glasa kojeg želite instalirati, na primer sr, ili sr+f3 - -ne.v1=भित्र्याउन चाहेको आवाजको चयन गर्नु होस् । -ne.v2=अथवा यसमा निर्धारण गरिएको आवाजलाई नै चयन गर्ने हो भने ईन्टर कुञ्जीलाई दबाउनु होस् । -ne.v3=आवाजको नाम प्रविष्टी गर्नु होस् , जस्तै: नेपालीका लागि ne, अथवा स्वरको पनि चयन गर्ने हो भने ne+f3 - -hi.v1=स्थापना करने के लिए पसन्दिदा आवाजों को चयन करें । -hi.v2=अगर आप कि चयन इसमें निर्दारित आवाज हि हो तो केवल ईन्टर कुञ्जी दबाए । -hi.v3=आवाज कि नाम प्रविष्टी करें, जैसा कि हिन्दी के लिए hi, और किसि स्वर भि चयन करना चाहते हो तो hi+f3 - -[Code] -var - UILanguage: Integer; - UIVoice: String; - Page: TInputQueryWizardPage; - voices_installed: array [0..200] of String; - n_voices_installed: Integer; - -const - sEspeak = 'eSpeak-'; - RegVoice1 = 'Software\Microsoft\Speech\Voices\Tokens\eSpeak'; - RegPhConv = 'Software\Microsoft\Speech\PhoneConverters\Tokens'; - - -function VoiceFromLanguage(language: Integer): String; -var - lang_main: Integer; - -begin - lang_main := language and $3ff; - Result := 'en'; - - // Translation from microsoft codes to language codes - // Used to set default voices for installation. - case lang_main of - $02: Result := 'bg'; - $03: Result := 'ca'; - $04: Result := 'zh'; - $05: Result := 'cs'; - $06: Result := 'da'; - $07: Result := 'de'; - $08: Result := 'el'; - $09: Result := 'en'; - $0a: Result := 'es-la es-la+m3 es-la+f3'; - $0b: Result := 'fi'; - $0c: Result := 'fr'; - $0e: Result := 'hu'; - $0f: Result := 'is'; - $10: Result := 'it'; - $12: Result := 'ko'; - $13: Result := 'nl'; - $14: Result := 'no'; - $15: Result := 'pl'; - $16: Result := 'pt'; - $18: Result := 'ro'; - $19: Result := 'ru'; - $1a: Result := 'hr'; - $1b: Result := 'sk'; - $1c: Result := 'sq'; - $1d: Result := 'sv'; - $1f: Result := 'tr'; - $20: Result := 'ur'; - $21: Result := 'id'; - $25: Result := 'et'; - $26: Result := 'lv'; - $27: Result := 'lt'; - $29: Result := 'fa'; - $2a: Result := 'vi'; - $2b: Result := 'hy'; - //$2c: Result := 'az'; - $2d: Result := 'eu'; - $2f: Result := 'mk'; - $36: Result := 'af'; - $37: Result := 'kn'; - $39: Result := 'hi'; - //$3a: Result := 'mt'; - $3c: Result := 'ga'; - $3e: Result := 'ms'; - //$3f: Result := 'kk'; - $41: Result := 'sw'; - //$44: Result := 'tt'; - $46: Result := 'pa'; - //$48: Result := 'or'; - $49: Result := 'ta'; - $46: Result := 'pa'; - $4a: Result := 'te'; - $4b: Result := 'kn'; - $4c: Result := 'ml'; - //$4d: Result := 'as'; - //$50: Result := 'mn'; - $52: Result := 'cy'; - //$5e: Result := 'am'; - $61: Result := 'ne'; - //$87: Result := 'rw'; - //$88: Result := 'wo'; - end; - - // is there a match on the full language code? - case language of - $80a: Result := 'es-la es-la+f3 es-la+m3'; - $c0a: Result := 'es'; - $816: Result := 'pt-pt es-la'; - $41a: Result := 'hr'; - $81a: Result := 'sr'; - $c1a: Result := 'sr'; - $141a: Result := 'bs'; - end; -end; - - -function LanguageFromVoice(voice: String): String; -var - value: Integer; - lang1: String; - len: Integer; -begin - value := $409; // default en-us - - lang1 := Copy(voice,0,2); - if lang1 = 'mb' then - begin - lang1 := Copy(voice,3,3); - len := Length(voice); - if len > 8 then - lang1 := Copy(voice,8,6); // eg. mb-de4-en, return 'en' - end; - - // Used to set the correct Microsoft language code in the registry - // when a SAPI5 voice is installed. - case lang1 of - 'af': value := $436; - 'am': value := $45e; - 'an': value := $40a; // Aragon, use code for Spanish - 'as': value := $44d; - 'az': value := $42c; - 'bg': value := $402; - 'bn': value := $445; - 'bs': value := $41a; // should be $141a but Jaws crashes on startup - 'ca': value := $403; - 'cs': value := $405; - 'cy': value := $452; - 'da': value := $406; - 'de': value := $407; - 'dv': value := $465; - 'el': value := $408; - 'en': value := $409; - 'es': value := $40a; - 'et': value := $425; - 'eu': value := $42d; - 'fa': value := $429; - 'fi': value := $40b; - 'fil': value := $464; - 'fr': value := $40c; - 'ga': value := $83c; - 'gd': value := $43c; - 'gu': value := $447; - 'hi': value := $439; - 'hr': value := $41a; - 'hu': value := $40e; - 'hy': value := $42b; - 'id': value := $421; - 'is': value := $40f; - 'it': value := $410; - 'ka': value := $437; - 'kk': value := $43f; - 'kn': value := $44b; - 'ko': value := $412; - 'lt': value := $427; - 'lv': value := $426; - 'mk': value := $42f; - 'ml': value := $44c; - 'mn': value := $450; - 'ms': value := $43e; - 'mt': value := $43a; - 'my': value := $455; - 'ne': value := $461; - 'nl': value := $413; - 'no': value := $414; - 'or': value := $448; - 'pa': value := $446; - 'pl': value := $415; - 'pt': value := $416; - 'ro': value := $418; - 'ru': value := $419; - 'rw': value := $487; - 'si': value := $45b; - 'sk': value := $41b; - 'sl': value := $424; - 'sq': value := $41c; - 'sr': value := $81a; - 'sv': value := $41d; - 'sw': value := $441; - 'ta': value := $449; - 'te': value := $44a; - 'tg': value := $45e; // 'am' - 'tl': value := $464; - 'tn': value := $432; - 'tr': value := $41f; - 'tt': value := $444; - 'ur': value := $420; - 'vi': value := $42a; - 'wo': value := $488; - 'zh': value := $804; - // mbrola voices - '-af': value := $436; - '-br': value := $416; - '-ca': value := $c0c; - '-cr': value := $41a; - '-cz': value := $405; - '-de': value := $407; - '-en': value := $809; - '-es': value := $40a; - '-fr': value := $40c; - '-gr': value := $408; - '-hu': value := $40e; - '-ic': value := $40f; - '-in': value := $439; - '-ir': value := $429; - '-it': value := $410; - '-mx': value := $80a; - '-nl': value := $413; - '-pl': value := $415; - '-pt': value := $816; - '-ro': value := $418; - '-sw': value := $41d; - '-us': value := $409; - '-vz': value := $200a; - end; - - // check for specific voices - case voice of - 'pt-pt': value := $816; - end; - - Result := Format('%X',[value]); -end; - - -// is the language number already in a PhoneConvertor ? -function CheckPhoneConvertors(Lcode: String): Integer; -var - Convertors: TArrayOfString; - ix: Integer; - len: Integer; - s1: String; - s2: String; - sLangs: String; -begin - Result := 0; - len := Length(Lcode); - if RegGetSubkeyNames(HKEY_LOCAL_MACHINE, RegPhConv, Convertors) then - begin - for ix := 0 to GetArrayLength(Convertors) - 1 do - begin - s1 := RegPhConv + '\' + Convertors[ix] + '\Attributes'; - if RegQueryStringValue(HKEY_LOCAL_MACHINE, s1, 'Language', sLangs) then - begin - s2 := Copy(sLangs, 1, len); - if s2 = Lcode then - Result := 1; - if sLangs = Lcode then - Result := 1; - if Pos(';' + Lcode, sLangs) > 0 then - Result := 1; - end; - end; - end; -end; - -// ensure the language number is included in a PhoneConvertor -procedure SetPhoneConvertor(Lcode: String); -var - done: Boolean; - s1: String; - sLangs: String; -begin - if CheckPhoneConvertors(Lcode) = 0 then - begin - done := False; - s1 := RegPhConv + '\Universal\Attributes'; - if RegQueryStringValue(HKEY_LOCAL_MACHINE, s1, 'Language', sLangs) then - begin - done := RegWriteStringValue(HKEY_LOCAL_MACHINE, s1, 'Language', Lcode + ';' + sLangs); - end; - - if done = False then - begin - s1 := RegPhConv + '\eSpeak\Attributes'; - if RegQueryStringValue(HKEY_LOCAL_MACHINE, s1, 'Language', sLangs) = False then - begin - // add 'eSpeak' dummy PhoneConvertor - RegWriteStringValue(HKEY_LOCAL_MACHINE, RegPhConv + '\eSpeak', 'CLSID','{9185F743-1143-4C28-86B5-BFF14F20E5C8}'); - RegWriteStringValue(HKEY_LOCAL_MACHINE, RegPhConv + '\eSpeak', 'PhoneMap','- 0001'); - RegWriteStringValue(HKEY_LOCAL_MACHINE, s1, 'Language',''); - end; - - if RegQueryStringValue(HKEY_LOCAL_MACHINE, s1, 'Language', sLangs) then - begin - done := RegWriteStringValue(HKEY_LOCAL_MACHINE, s1, 'Language', Lcode + ';' + sLangs); - end; - end; - end; -end; - - -procedure SetupVoice(Voice: String; Index: Integer); -var - ix: Integer; - RegVoice2: String; - RegVoice2a: String; - VoiceUC: String; - Lcode: String; - -begin - Lcode := LanguageFromVoice(Voice); - - if Index = 0 then - RegVoice2 := RegVoice1 - else - RegVoice2 := RegVoice1 + Format('_%d',[Index]); - - RegVoice2a := RegVoice2 + '\Attributes'; - - if Voice = 'default' then - VoiceUC := 'default' - else - VoiceUC := Uppercase(Voice); - - // check for duplicate voice names - for ix := 0 to n_voices_installed - 1 do begin - if voices_installed[ix] = VoiceUC then - Exit; - end; - if n_voices_installed < 200 then begin - voices_installed[n_voices_installed] := VoiceUC; - n_voices_installed := n_voices_installed + 1; - end; - - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2,'',sEspeak+VoiceUC); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2,'CLSID','{BE985C8D-BE32-4A22-AA93-55C16A6D1D91}'); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2,'Path',ExpandConstant('{app}')); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2,'VoiceName',Voice); - - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2a,'Name',sEspeak+Voice); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2a,'Gender','Male'); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2a,'Age','Adult'); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2a,'Language',Lcode); - RegWriteStringValue(HKEY_LOCAL_MACHINE,RegVoice2a,'Vendor','http://espeak.sf.net'); - - SetPhoneConvertor(Lcode); -end; - - - -procedure CurStepChanged(CurStep: TSetupStep); -var - field: Integer; - Index: Integer; - ix: Integer; - ix2: Integer; - Line: String; - Voice: String; - Voice2: String; - separator: String; -begin - if CurStep = ssPostInstall then - begin - separator := ' '; - Index := 0; - for field := 0 to 4 do begin - Line := Page.Values[field]; - ix := 1; - ix2 := 1; - while ix2 > 0 do begin - ix2 := Pos(separator,Copy(Line,ix,999)); - - if ix2 = 0 then - Voice := Copy(Line,ix,999) - else - Voice := Copy(Line,ix,ix2-1); - - Voice2 := Trim(Voice); - if Voice2 <> '' then begin - SetUpVoice(Trim(Voice),Index); - Index := Index + 1; - end; - ix := ix + ix2; - end; - end; - end; -end; - - -procedure InitializeWizard; -var - lang: String; - voice2: String; - uilang: String; -begin - // Create the language selection page - - UILanguage := GetUILanguage; - UIVoice := VoiceFromLanguage(UILanguage); - uilang := Format(' (Language code %x)',[UILanguage]); - - lang := ActiveLanguage; - Page := CreateInputQueryPage(wpSelectDir,CustomMessage('v1'),CustomMessage('v2')+uilang,CustomMessage('v3')); - - // Add items (False means it's not a password edit) - Page.Add('', False); - Page.Add('', False); - Page.Add('', False); - Page.Add('', False); - Page.Add('', False); - - - // Set initial values (optional) - if UIVoice = 'en' then - voice2 := 'en-us' - else - voice2 := 'en'; - - if Pos('+',UIVoice) = 0 then - Page.Values[0] := Format('%s %s',[UIVoice, UIVoice+'+f2']) - else - Page.Values[0] := Format('%s',[UIVoice]); - Page.Values[1] := Format('%s',[voice2]); - - n_voices_installed := 0; -end; - -procedure ClearRegistry; -var - Index: Integer; - RegVoice2: String; - exists: Boolean; -begin -// remove all espeak voices from the registry - exists := True; - Index := 0; - while exists do begin - if Index = 0 then - RegVoice2 := RegVoice1 - else - RegVoice2 := RegVoice1 + Format('_%d',[Index]); - - exists := RegKeyExists(HKEY_LOCAL_MACHINE,RegVoice2); - RegDeleteKeyIncludingSubkeys(HKEY_LOCAL_MACHINE,RegVoice2); - Index := Index + 1; - end; -end; - -function InitializeSetup: Boolean; -begin -// remove all espeak voices from the registry - ClearRegistry; - result := True; -end; - -function InitializeUninstall: Boolean; -begin -// remove all espeak voices from the registry - ClearRegistry; - result := True; -end; - - - - - diff --git a/platforms/windows/make_espeakedit.iss b/platforms/windows/make_espeakedit.iss deleted file mode 100644 index 5344350c..00000000 --- a/platforms/windows/make_espeakedit.iss +++ /dev/null @@ -1,64 +0,0 @@ - -[Setup] -AppName=eSpeakEdit -AppVerName=eSpeakEdit version 1.48.03 -DefaultDirName={pf}\eSpeak -DefaultGroupName=eSpeak -OutputBaseFilename=setup_espeakedit -Compression=lzma -SolidCompression=yes -DirExistsWarning=no -ShowLanguageDialog=auto - -[Icons] -Name: "{group}\espeakedit"; Filename: "{app}\espeakedit.exe"; WorkingDir: "{app}"; Flags: runmaximized -Name: "{group}\Uninstall espeakedit"; Filename: "{uninstallexe}" - -[InstallDelete] -Type: filesandordirs; Name: "{app}\phsource\vowelcharts" -Type: filesandordirs; Name: "{app}\espeakedit" - - -[Files] -Source: "espeakedit.exe"; DestDir: "{app}" -;Source: "dictsource\*"; DestDir: "{app}\dictsource"; Flags: recursesubdirs -Source: "espeakedit\*"; DestDir: "{app}\espeakedit"; Flags: recursesubdirs -Source: "phsource\*"; DestDir: "{app}\phsource"; Flags: recursesubdirs -Source: "docs\*"; DestDir: "{app}\docs"; Flags: recursesubdirs -Source: "License.txt"; DestDir: "{app}"; -;Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme - - -[Languages] -Name: "en"; MessagesFile: "compiler:Default.isl" -Name: "af"; MessagesFile: "compiler:Languages\Afrikaans.isl" -Name: "bg"; MessagesFile: "compiler:Languages\Bulgarian.isl" -Name: "bs"; MessagesFile: "compiler:Languages\Bosnian.isl" -Name: "cs"; MessagesFile: "compiler:Languages\Czech.isl" -Name: "da"; MessagesFile: "compiler:Languages\Danish.isl" -Name: "de"; MessagesFile: "compiler:Languages\German.isl" -Name: "el"; MessagesFile: "compiler:Languages\Greek.isl" -Name: "es"; MessagesFile: "compiler:Languages\Spanish.isl" -Name: "fa"; MessagesFile: "compiler:Languages\Farsi.isl" -Name: "fi"; MessagesFile: "compiler:Languages\Finnish.isl" -Name: "fr"; MessagesFile: "compiler:Languages\French.isl" -Name: "hi"; MessagesFile: "compiler:Languages\Hindi.islu" -Name: "hr"; MessagesFile: "compiler:Languages\Croatian.isl" -Name: "hu"; MessagesFile: "compiler:Languages\Hungarian.isl" -Name: "id"; MessagesFile: "compiler:Languages\Indonesian-5.1.11.isl" -Name: "it"; MessagesFile: "compiler:Languages\Italian.isl" -Name: "ka"; MessagesFile: "compiler:Languages\Georgian.islu" -Name: "lv"; MessagesFile: "compiler:Languages\Latvian.isl" -Name: "ne"; MessagesFile: "compiler:Languages\Nepali.islu" -Name: "nl"; MessagesFile: "compiler:Languages\Dutch.isl" -Name: "no"; MessagesFile: "compiler:Languages\Norwegian.isl" -Name: "pl"; MessagesFile: "compiler:Languages\Polish.isl" -Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl" -Name: "ro"; MessagesFile: "compiler:Languages\Romanian.isl" -Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl" -Name: "sk"; MessagesFile: "compiler:Languages\Slovak.isl" -Name: "sr"; MessagesFile: "compiler:Languages\Serbian.isl" -Name: "tr"; MessagesFile: "compiler:Languages\Turkish.isl" -Name: "vi"; MessagesFile: "compiler:Languages\Vietnamese.isl" -Name: "zh"; MessagesFile: "compiler:Languages\ChineseSimp-12-5.1.11.isl" - diff --git a/platforms/windows/mingw/espeak_test_lib.c b/platforms/windows/mingw/espeak_test_lib.c deleted file mode 100644 index 79525ed1..00000000 --- a/platforms/windows/mingw/espeak_test_lib.c +++ /dev/null @@ -1,37 +0,0 @@ -#include - -#ifdef PLATFORM_WINDOWS -#include -#define sleep(x) Sleep(1000*x) -#endif - -int callback(short* wav, int num, espeak_EVENT *pEv) -{ - int cEv = 0; - while (pEv->type) { - cEv++; - pEv++; - } - printf("callback, events: %d\n", cEv); - return 0; -} - -main() -{ - int nRate = espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 10000, NULL, 0); - printf("nRate: %d\n", nRate); - if (nRate < 0) - return; - espeak_SetSynthCallback(callback); - espeak_SetParameter(espeakRATE, 175, 0); - int rv; - rv = espeak_Char('c'); - printf("rv: %d\n", rv); - const char* sText = "tralalalallala"; - rv = espeak_Synth(sText, 100, 0, POS_CHARACTER, 0, 0, 0, 0); - printf("rv: %d (full: %d, internal: %d)\n", - rv, EE_BUFFER_FULL, EE_INTERNAL_ERROR); - sleep(2); // 2 seconds - puts("slept"); - espeak_Terminate(); -} diff --git a/platforms/windows/mingw/espeak_win_1_0.txt b/platforms/windows/mingw/espeak_win_1_0.txt deleted file mode 100644 index f5bddc26..00000000 --- a/platforms/windows/mingw/espeak_win_1_0.txt +++ /dev/null @@ -1,169 +0,0 @@ -Index: src/Makefile -=================================================================== ---- src/Makefile (revision 364) -+++ src/Makefile (working copy) -@@ -18,6 +18,13 @@ - # Use SONAME_OPT=-Wl,h, on Solaris - SONAME_OPT=-Wl,-soname, - -+ifdef PLATFORM_WINDOWS -+ LIB_NAME = libespeak.dll -+else -+ # On Windows not all source files are compiled -+ non_windows_SOURCES = mbrowrap.cpp -+endif -+ - # Use EXTRA_LIBS=-lm on Solaris - EXTRA_LIBS = - -@@ -72,12 +79,12 @@ - - speak_SOURCES = speak.cpp compiledict.cpp dictionary.cpp intonation.cpp \ - readclause.cpp setlengths.cpp numbers.cpp synth_mbrola.cpp \ -- synthdata.cpp synthesize.cpp translate.cpp mbrowrap.cpp \ -+ synthdata.cpp synthesize.cpp translate.cpp $(non_windows_SOURCES) \ - tr_languages.cpp voices.cpp wavegen.cpp phonemelist.cpp klatt.cpp sonic.cpp - - libespeak_SOURCES = speak_lib.cpp compiledict.cpp dictionary.cpp intonation.cpp \ - readclause.cpp setlengths.cpp numbers.cpp synth_mbrola.cpp \ -- synthdata.cpp synthesize.cpp translate.cpp mbrowrap.cpp \ -+ synthdata.cpp synthesize.cpp translate.cpp $(non_windows_SOURCES) \ - tr_languages.cpp voices.cpp wavegen.cpp phonemelist.cpp \ - espeak_command.cpp event.cpp fifo.cpp $(WAVE) debug.cpp klatt.cpp sonic.cpp - -@@ -94,8 +101,14 @@ - LIBS3=-lstdc++ -L . -lespeak - - CXXFLAGS=-O2 -+ifdef PLATFORM_WINDOWS -+ CXXFLAGS += -DPLATFORM_WINDOWS -DNEED_STRUCT_TIMESPEC -+ LDFLAGS += -static-libgcc -static-libstdc++ -+endif -+ifdef DEBUG -+ CXXFLAGS += -DDEBUG_ENABLED -+endif - -- - all: $(BIN_NAME) $(LIB_NAME) $(STATIC_LIB_NAME) $(BIN2_NAME) - - .cpp.o: -@@ -116,9 +129,11 @@ - $(LIB_NAME): $(OBJS2) - $(CXX) $(LDFLAGS) -shared $(SONAME_OPT)$(LIB_NAME).$(LIB_VERSION) -o $@ \ - $(OBJS2) $(LIBS2) -- mv $(LIB_NAME) $(LIB_NAME).$(LIBTAG) -- $(LN_SF) $(LIB_NAME).$(LIBTAG) $(LIB_NAME).$(LIB_VERSION) -- $(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(LIB_NAME) -+ $(if $(PLATFORM_WINDOWS), , \ -+ mv $(LIB_NAME) $(LIB_NAME).$(LIBTAG); \ -+ $(LN_SF) $(LIB_NAME).$(LIBTAG) $(LIB_NAME).$(LIB_VERSION); \ -+ $(LN_SF) $(LIB_NAME).$(LIB_VERSION) $(LIB_NAME); \ -+ ) - - $(STATIC_LIB_NAME): $(OBJS2) - $(AR) cqs $(STATIC_LIB_NAME) $(OBJS2) -Index: src/speech.h -=================================================================== ---- src/speech.h (revision 364) -+++ src/speech.h (working copy) -@@ -37,7 +37,6 @@ - #endif - - --#define PLATFORM_POSIX - #define PATHSEP '/' - // USE_PORTAUDIO or USE_PULSEAUDIO are now defined in the makefile - //#define USE_PORTAUDIO -@@ -77,7 +76,14 @@ - - #ifdef PLATFORM_WINDOWS - #define N_PATH_HOME 230 --#else -+// sleep(seconds) -+// Sleep(millisecond = 1/1000 s), windows api, kernel32.dll -+// usleep(microseconds = 1/1000000 s) -+#define sleep(x) Sleep(1000*x) -+// we are lucky, in current code usleep is always used in multiplies of 1000 -+#define usleep(x) Sleep((x+500)/1000) -+#else /* PLATFORM_POSIX */ -+#define PLATFORM_POSIX - #define N_PATH_HOME 160 - #endif - -Index: src/speak_lib.cpp -=================================================================== ---- src/speak_lib.cpp (revision 364) -+++ src/speak_lib.cpp (working copy) -@@ -31,7 +31,13 @@ - #include "speech.h" - - #include --#ifndef PLATFORM_WINDOWS -+ -+#ifdef PLATFORM_WINDOWS -+#include -+#include -+#include -+#include -+#else /* PLATFORM_POSIX */ - #include - #endif - -Index: src/wave.cpp -=================================================================== ---- src/wave.cpp (revision 364) -+++ src/wave.cpp (working copy) -@@ -32,7 +32,9 @@ - #include - - #include "portaudio.h" --#ifndef PLATFORM_WINDOWS -+#ifdef PLATFORM_WINDOWS -+#include -+#else /* PLATFORM_POSIX */ - #include - #endif - #include "wave.h" -@@ -40,6 +42,14 @@ - - // -+#endif - #include - #include - #include -Index: src/fifo.cpp -=================================================================== ---- src/fifo.cpp (revision 364) -+++ src/fifo.cpp (working copy) -@@ -24,7 +24,9 @@ - - // -+#endif - #include - #include - #include diff --git a/platforms/windows/mingw/readme.txt b/platforms/windows/mingw/readme.txt deleted file mode 100644 index a03bd47c..00000000 --- a/platforms/windows/mingw/readme.txt +++ /dev/null @@ -1,16 +0,0 @@ -These are instructions to built the library on MS Windows, using msys and mingw. -This library is fully functional, contrary to the library described -in windows_dll directory. - -To build exe file go to windows_cmd directory, to build sapi dll, -go to windows_sapi directory. - -- Use sources from src directory. -- Have a ready to use portaudio v19 library (dll file is sufficient, here - libportaudio-2.dll filename is assumed in a directory relative to espeak) -- Copy portaudio.h file from your portaudio directory to src directory, - overwriting the existing one. At the time of writing this is the same - file as src/portaudio19.h distributed within espeak. - -Make command: - make libespeak.dll PLATFORM_WINDOWS=1 LIB_AUDIO="-L ../../portaudio/lib/.libs -lportaudio-2 -lwinmm" diff --git a/platforms/windows/windows_cmd/!ReadMe.txt b/platforms/windows/windows_cmd/!ReadMe.txt deleted file mode 100644 index d6a6fbd4..00000000 --- a/platforms/windows/windows_cmd/!ReadMe.txt +++ /dev/null @@ -1,11 +0,0 @@ -======================================================================== - CONSOLE APPLICATION : espeak -======================================================================== - -This is a Virtual C++ project to make a command-line version -of eSpeak for Windows. - -Copy the source files from the Linux "src" directory into this -"src" directory, EXCEPT for speech.h. Keep the original Windows -command-line version of speech.h. - diff --git a/platforms/windows/windows_cmd/PAStaticWMME.lib b/platforms/windows/windows_cmd/PAStaticWMME.lib deleted file mode 100644 index 6ddf5596..00000000 Binary files a/platforms/windows/windows_cmd/PAStaticWMME.lib and /dev/null differ diff --git a/platforms/windows/windows_cmd/StdAfx.cpp b/platforms/windows/windows_cmd/StdAfx.cpp deleted file mode 100644 index e680b910..00000000 --- a/platforms/windows/windows_cmd/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// espeak.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/platforms/windows/windows_cmd/StdAfx.h b/platforms/windows/windows_cmd/StdAfx.h deleted file mode 100644 index b1d6e6f5..00000000 --- a/platforms/windows/windows_cmd/StdAfx.h +++ /dev/null @@ -1,22 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__6C2D1701_32D2_4335_A2C8_C6A23021ADBE__INCLUDED_) -#define AFX_STDAFX_H__6C2D1701_32D2_4335_A2C8_C6A23021ADBE__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers - -#include - -// TODO: reference additional headers your program requires here - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__6C2D1701_32D2_4335_A2C8_C6A23021ADBE__INCLUDED_) diff --git a/platforms/windows/windows_cmd/espeak.dsp b/platforms/windows/windows_cmd/espeak.dsp deleted file mode 100644 index 96ecd3ce..00000000 --- a/platforms/windows/windows_cmd/espeak.dsp +++ /dev/null @@ -1,214 +0,0 @@ -# Microsoft Developer Studio Project File - Name="espeak" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=espeak - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "espeak.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "espeak.mak" CFG="espeak - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "espeak - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "espeak - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "espeak - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /c -# ADD BASE RSC /l 0x809 /d "NDEBUG" -# ADD RSC /l 0x809 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib winmm.lib user32.lib gdi32.lib winspool.lib comdlg32.lib PAStaticWMME.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"espeak.exe" - -!ELSEIF "$(CFG)" == "espeak - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE RSC /l 0x809 /d "_DEBUG" -# ADD RSC /l 0x809 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib winmm.lib user32.lib gdi32.lib winspool.lib comdlg32.lib PAStaticWMME.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "espeak - Win32 Release" -# Name "espeak - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\src\compiledict.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\dictionary.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\intonation.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\klatt.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\numbers.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\phonemelist.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\readclause.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\setlengths.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\sonic.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\speak.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# Begin Source File - -SOURCE=.\src\synth_mbrola.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthdata.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthesize.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\tr_languages.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\translate.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\voices.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\wavegen.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\src\klatt.h -# End Source File -# Begin Source File - -SOURCE=.\src\phoneme.h -# End Source File -# Begin Source File - -SOURCE=.\src\sintab.h -# End Source File -# Begin Source File - -SOURCE=.\src\sonic.h -# End Source File -# Begin Source File - -SOURCE=.\src\speak_lib.h -# End Source File -# Begin Source File - -SOURCE=.\src\speech.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# Begin Source File - -SOURCE=.\src\synthesize.h -# End Source File -# Begin Source File - -SOURCE=.\src\translate.h -# End Source File -# Begin Source File - -SOURCE=.\src\voice.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/platforms/windows/windows_cmd/espeak.dsw b/platforms/windows/windows_cmd/espeak.dsw deleted file mode 100644 index 3db315d0..00000000 --- a/platforms/windows/windows_cmd/espeak.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "espeak"=.\espeak.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/platforms/windows/windows_cmd/src/speech.h b/platforms/windows/windows_cmd/src/speech.h deleted file mode 100644 index a5e7d7a0..00000000 --- a/platforms/windows/windows_cmd/src/speech.h +++ /dev/null @@ -1,73 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2005,2006 by Jonathan Duddington * - * jsd@clara.co.uk * - * * - * 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 2 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, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - -// Windows command-line version of eSpeak - -#ifndef SPEECH_H -#define SPEECH_H - - -// conditional compilation options - -#define PLATFORM_WINDOWS -#define __WIN32__ -#define NEED_WCSTOF -#define NEED_GETOPT -#define USE_MBROLA_LIB - -#define PATHSEP '\\' -#define USE_PORTAUDIO -#define NO_VARIADIC_MACROS -#define INCLUDE_KLATT -#define INCLUDE_MBROLA -#define INCLUDE_SONIC - -// will look for espeak_data directory here, and also in user's home directory -#define PATH_ESPEAK_DATA "/usr/share/espeak-data" - -typedef unsigned short USHORT; -typedef unsigned char UCHAR; -typedef double DOUBLEX; -#ifdef __WIN64__ -typedef uint64_t long64; // use this for conversion between pointers and integers -#else -typedef unsigned long long64; -#endif - - - - -typedef struct { - const char *mnem; - int value; -} MNEM_TAB; -int LookupMnem(MNEM_TAB *table, const char *string); - - - -#define N_PATH_HOME 230 -extern char path_home[N_PATH_HOME]; // this is the espeak-data directory - -extern void strncpy0(char *to,const char *from, int size); -int GetFileLength(const char *filename); -char *Alloc(int size); -void Free(void *ptr); - -#endif // SPEECH_H diff --git a/platforms/windows/windows_cmd/src/stdint.h b/platforms/windows/windows_cmd/src/stdint.h deleted file mode 100644 index 6b162070..00000000 --- a/platforms/windows/windows_cmd/src/stdint.h +++ /dev/null @@ -1,4 +0,0 @@ - -// dummy stdint.h file for Windows - -typedef unsigned int uint32_t; diff --git a/platforms/windows/windows_dll/!ReadMe.txt b/platforms/windows/windows_dll/!ReadMe.txt deleted file mode 100644 index 812f6338..00000000 --- a/platforms/windows/windows_dll/!ReadMe.txt +++ /dev/null @@ -1,16 +0,0 @@ - -This is a Virtual C++ project for the Windows dll -version of eSpeak. This provides the API which is -defined in speak_lib.h, using the -AUDIO_OUTPUT_SYNCHRONOUS mode only. - -This is not the sapi5 version of eSpeak. - -Copy the program source files from the Linux "src" -directory into this "src" directory, EXCEPT for: - speak_lib.h - speech.h - StdAfx.h - stdint.h -Keep the Windows versions of these files. - diff --git a/platforms/windows/windows_dll/StdAfx.cpp b/platforms/windows/windows_dll/StdAfx.cpp deleted file mode 100644 index e680b910..00000000 --- a/platforms/windows/windows_dll/StdAfx.cpp +++ /dev/null @@ -1,8 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// espeak.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - -// TODO: reference any additional headers you need in STDAFX.H -// and not in this file diff --git a/platforms/windows/windows_dll/StdAfx.h b/platforms/windows/windows_dll/StdAfx.h deleted file mode 100644 index 15759d58..00000000 --- a/platforms/windows/windows_dll/StdAfx.h +++ /dev/null @@ -1,24 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__55502A81_7778_46B7_B400_FD19199C842B__INCLUDED_) -#define AFX_STDAFX_H__55502A81_7778_46B7_B400_FD19199C842B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - - -// Insert your headers here -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers - -#include - -// TODO: reference additional headers your program requires here - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__55502A81_7778_46B7_B400_FD19199C842B__INCLUDED_) diff --git a/platforms/windows/windows_dll/espeak.dsp b/platforms/windows/windows_dll/espeak.dsp deleted file mode 100644 index afba8fe1..00000000 --- a/platforms/windows/windows_dll/espeak.dsp +++ /dev/null @@ -1,237 +0,0 @@ -# Microsoft Developer Studio Project File - Name="espeak" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - -CFG=espeak - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "espeak.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "espeak.mak" CFG="espeak - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "espeak - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE "espeak - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "espeak - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ESPEAK_EXPORTS" /Yu"stdafx.h" /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ESPEAK_EXPORTS" /Yu"stdafx.h" /FD /c -# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x809 /d "NDEBUG" -# ADD RSC /l 0x809 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 /out:"Release/espeak_lib.dll" -# SUBTRACT LINK32 /pdb:none - -!ELSEIF "$(CFG)" == "espeak - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Ignore_Export_Lib 0 -# PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ESPEAK_EXPORTS" /Yu"stdafx.h" /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ESPEAK_EXPORTS" /Yu"stdafx.h" /FD /GZ /c -# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 -# ADD BASE RSC /l 0x809 /d "_DEBUG" -# ADD RSC /l 0x809 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /out:"Debug/espeak_lib.dll" /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "espeak - Win32 Release" -# Name "espeak - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" -# Begin Source File - -SOURCE=.\src\compiledict.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\dictionary.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\intonation.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\klatt.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\sonic.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\numbers.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\phonemelist.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\readclause.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\setlengths.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\speak_lib.cpp -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.cpp -# ADD CPP /Yc"stdafx.h" -# End Source File -# Begin Source File - -SOURCE=.\src\synth_mbrola.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthdata.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\synthesize.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\tr_languages.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\translate.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\voices.cpp -# End Source File -# Begin Source File - -SOURCE=.\src\wavegen.cpp -# End Source File -# End Group -# Begin Group "Header Files" - -# PROP Default_Filter "h;hpp;hxx;hm;inl" -# Begin Source File - -SOURCE=.\espeak.h -# End Source File -# Begin Source File - -SOURCE=.\src\klatt.h -# End Source File -# Begin Source File - -SOURCE=.\src\sonic.h -# End Source File -# Begin Source File - -SOURCE=.\src\phoneme.h -# End Source File -# Begin Source File - -SOURCE=.\src\portaudio.h -# End Source File -# Begin Source File - -SOURCE=.\src\sintab.h -# End Source File -# Begin Source File - -SOURCE=.\src\speak_lib.h -# End Source File -# Begin Source File - -SOURCE=.\src\speech.h -# End Source File -# Begin Source File - -SOURCE=.\StdAfx.h -# End Source File -# Begin Source File - -SOURCE=.\src\stdint.h -# End Source File -# Begin Source File - -SOURCE=.\src\synthesize.h -# End Source File -# Begin Source File - -SOURCE=.\src\tr_languages.h -# End Source File -# Begin Source File - -SOURCE=.\src\translate.h -# End Source File -# Begin Source File - -SOURCE=.\src\voice.h -# End Source File -# End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group -# Begin Source File - -SOURCE=.\ReadMe.txt -# End Source File -# End Target -# End Project diff --git a/platforms/windows/windows_dll/espeak.dsw b/platforms/windows/windows_dll/espeak.dsw deleted file mode 100644 index 3db315d0..00000000 --- a/platforms/windows/windows_dll/espeak.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 6.00 -# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! - -############################################################################### - -Project: "espeak"=.\espeak.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - -Global: - -Package=<5> -{{{ -}}} - -Package=<3> -{{{ -}}} - -############################################################################### - diff --git a/platforms/windows/windows_dll/src/StdAfx.h b/platforms/windows/windows_dll/src/StdAfx.h deleted file mode 100644 index 15759d58..00000000 --- a/platforms/windows/windows_dll/src/StdAfx.h +++ /dev/null @@ -1,24 +0,0 @@ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__55502A81_7778_46B7_B400_FD19199C842B__INCLUDED_) -#define AFX_STDAFX_H__55502A81_7778_46B7_B400_FD19199C842B__INCLUDED_ - -#if _MSC_VER > 1000 -#pragma once -#endif // _MSC_VER > 1000 - - -// Insert your headers here -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers - -#include - -// TODO: reference additional headers your program requires here - -//{{AFX_INSERT_LOCATION}} -// Microsoft Visual C++ will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__55502A81_7778_46B7_B400_FD19199C842B__INCLUDED_) diff --git a/platforms/windows/windows_dll/src/speak_lib.h b/platforms/windows/windows_dll/src/speak_lib.h deleted file mode 100644 index 1cc15bc1..00000000 --- a/platforms/windows/windows_dll/src/speak_lib.h +++ /dev/null @@ -1,629 +0,0 @@ -#ifndef SPEAK_LIB_H -#define SPEAK_LIB_H -/*************************************************************************** - * Copyright (C) 2005 to 2012 by Jonathan Duddington * - * email: jonsd@users.sourceforge.net * - * * - * 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: * - * . * - ***************************************************************************/ - - -/*************************************************************/ -/* This is the header file for the library version of espeak */ -/* */ -/*************************************************************/ - -#include -#include - -#ifdef __WIN32__ -#define ESPEAK_API __declspec(dllexport) -#else -#define ESPEAK_API -#endif - -#define ESPEAK_API_REVISION 7 -/* -Revision 2 - Added parameter "options" to eSpeakInitialize() - -Revision 3 - Added espeakWORDGAP to espeak_PARAMETER - -Revision 4 - Added flags parameter to espeak_CompileDictionary() - -Revision 5 - Added espeakCHARS_16BIT - -Revision 6 - Added macros: espeakRATE_MINIMUM, espeakRATE_MAXIMUM, espeakRATE_NORMAL - -Revision 7 24.Dec.2011 - Changed espeak_EVENT structure to add id.string[] for phoneme mnemonics. - Added espeakINITIALIZE_PHONEME_IPA option for espeak_Initialize() to report phonemes as IPA names. - -*/ - /********************/ - /* Initialization */ - /********************/ - -// values for 'value' in espeak_SetParameter(espeakRATE, value, 0), nominally in words-per-minute -#define espeakRATE_MINIMUM 80 -#define espeakRATE_MAXIMUM 450 -#define espeakRATE_NORMAL 175 - - -typedef enum { - espeakEVENT_LIST_TERMINATED = 0, // Retrieval mode: terminates the event list. - espeakEVENT_WORD = 1, // Start of word - espeakEVENT_SENTENCE = 2, // Start of sentence - espeakEVENT_MARK = 3, // Mark - espeakEVENT_PLAY = 4, // Audio element - espeakEVENT_END = 5, // End of sentence or clause - espeakEVENT_MSG_TERMINATED = 6, // End of message - espeakEVENT_PHONEME = 7, // Phoneme, if enabled in espeak_Initialize() - espeakEVENT_SAMPLERATE = 8 // internal use, set sample rate -} espeak_EVENT_TYPE; - - - -typedef struct { - espeak_EVENT_TYPE type; - unsigned int unique_identifier; // message identifier (or 0 for key or character) - int text_position; // the number of characters from the start of the text - int length; // word length, in characters (for espeakEVENT_WORD) - int audio_position; // the time in mS within the generated speech output data - int sample; // sample id (internal use) - void* user_data; // pointer supplied by the calling program - union { - int number; // used for WORD and SENTENCE events. - const char *name; // used for MARK and PLAY events. UTF8 string - char string[8]; // used for phoneme names (UTF8). Terminated by a zero byte unless the name needs the full 8 bytes. - } id; -} espeak_EVENT; -/* - When a message is supplied to espeak_synth, the request is buffered and espeak_synth returns. When the message is really processed, the callback function will be repetedly called. - - - In RETRIEVAL mode, the callback function supplies to the calling program the audio data and an event list terminated by 0 (LIST_TERMINATED). - - In PLAYBACK mode, the callback function is called as soon as an event happens. - - For example suppose that the following message is supplied to espeak_Synth: - "hello, hello." - - - * Once processed in RETRIEVAL mode, it could lead to 3 calls of the callback function : - - ** Block 1: -