liyuyuan6969 / pyfestival

Amlapiwr Python C ar gyfer hwyluso rhaglennu gyda Festival | A Python C wrapper for simple coding with Festival

Home Page:https://pypi.python.org/pypi/pyfestival/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Py-festival

A Python wrapper around the Festival Speech Synthesis System.

Installation

First install the Python, Festival and their headers
On Debian:

sudo apt-get install python python-dev festival festival-dev

Then install using either pip or directly from github:

pip install pyfestival

or

pip install git+https://github.com/techiaith/pyfestival#festival

Environment Variables

If your festival/speechtools headers and libs aren't in the standard place, you may need to set the following variables before installing with pip:

  • FESTIVAL_INCLUDE - festival header directory. Default is /usr/include/festival
  • SPEECH_INCLUDE - speech tools header directory. Default is /usr/include/speech_tools
  • FESTIVAL_LIB - lib directory for festival/speech tools /usr/lib

Threading notes

Festival is not thread-safe. If you attempt to invoke it from a thread other than which is was imported in then you will see the error:

SIOD ERROR: the currently assigned stack limit has been exceeded

It may be imported locally in each new thread once the previous thread has exited.

About

Amlapiwr Python C ar gyfer hwyluso rhaglennu gyda Festival | A Python C wrapper for simple coding with Festival

https://pypi.python.org/pypi/pyfestival/

License:Other


Languages

Language:Python 50.9%Language:C++ 45.2%Language:Makefile 2.7%Language:C 1.2%