12.12.2012 Views

Festival Speech Synthesis System: - Speech Resource Pages

Festival Speech Synthesis System: - Speech Resource Pages

Festival Speech Synthesis System: - Speech Resource Pages

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Windows95 or if you don't ask for them to be set globally under NT you need to run<br />

vcvars32.bat<br />

See the VC++ documentation for more details.<br />

Once you have the source trees with VCMakefiles somewhere visible from Windows, you need to copy<br />

`peech_tools\config\vc_config-dist' to `speech_tools\config\vc_config' and edit it to<br />

suit your local situation. Then do the same with `festival\config\vc_config-dist'.<br />

The thing most likely to need changing is the definition of FESTIVAL_HOME in<br />

`festival\config\vc_config_make_rules' which needs to point to where you have put festival.<br />

Now you can compile. cd to the speech_tools directory and do<br />

nmake /nologo /fVCMakefile<br />

and the library, the programs in main and the test programs should be compiled.<br />

The tests can't be run automatically under Windows. A simple test to check that things are probably OK is:<br />

main\na_play testsuite\data\ch_wave.wav<br />

which reads and plays a waveform.<br />

Next go into the festival directory and do<br />

nmake /nologo /fVCMakefile<br />

to build festival. When it's finished, and assuming you have the voices and lexicons unpacked in the right place,<br />

festival should run just as under unix.<br />

We should remind you that the NT/95 ports are still young and there may yet be problems that we've not found yet.<br />

We only recommend the use the speech tools and <strong>Festival</strong> under Windows if you have significant experience in C++<br />

under those platforms.<br />

Most of the modules `src/modules' are actually optional and the system could be compiled without them. The<br />

basic set could be reduced further if certain facilities are not desired. Particularly: `donovan' which is only<br />

required if the donovan voice is used; `rxp' if no XML parsing is required (e.g. Sable); and `parser' if no<br />

stochastic paring is required (this parser isn't used for any of our currently released voices). Actually even<br />

`UniSyn' and `UniSyn_diphone' could be removed if some external waveform synthesizer is being used (e.g.<br />

MBROLA) or some alternative one like `OGIresLPC'. Removing unused modules will make the festival binary<br />

smaller and (potentially) start up faster but don't expect too much. You can delete these by changing the<br />

BASE_DIRS variable in `src/modules/Makefile'.<br />

[ < ] [ > ] [ > ] [Top] [Contents] [Index] [ ? ]<br />

6.3 Site initialization<br />

Once compiled <strong>Festival</strong> may be further customized for particular sites. At start up time <strong>Festival</strong> loads the file<br />

`init.scm' from its library directory. This file further loads other necessary files such as phoneset descriptions,<br />

duration parameters, intonation parameters, definitions of voices etc. It will also load the files `sitevars.scm'<br />

and `siteinit.scm' if they exist. `sitevars.scm' is loaded after the basic Scheme library functions are<br />

loaded but before any of the festival related functions are loaded. This file is intended to set various path names<br />

before various subsystems are loaded. Typically variables such as lexdir (the directory where the lexicons are

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!