-
Notifications
You must be signed in to change notification settings - Fork 1
A quick, poorly made, python 3 wrapper for the CMU Flite speech synthesis engine
License
kdahlhaus/pyflite
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
pyFlite (C) 2006, 2017 by Kevin Dahlhausen kpd@powertwenty.com See the file 'COPYING' for license information. (Same license as Flite, free for all uses) This is a simple cython wrapper for the Flite voice library. It is minimal, not documented very well, and meets my current needs. :) The linux version is building and works well. The cygwin version worked in 2006, but I have not tried in recently. If it does not work now, it's very likely that the linux version would work with a slight modification. Building under WindowS: install MS Build Tools for VS 14 (python 3.6) install flite-2.0.0-release somewhere (no need to build) set env var to the flite-2.0.0-release dir python setup.py build Usage: import flite flite.init() # speak the text via alsa flite.say("Hey! I think our problems may just be solved. Ed McMahon. Think I just won a million bucks. Yeah, Irwin M. Fletcher you choose. Woo-wee! Oh, boy, I lost. Yeah. Sorry.") # write the speech to 'test.wav' using the CMU 'slt' voice flite.say("My advice to you is...", "test.wav", voice="slt") # speak the SSML data via alsa flite.say_ssml(""" <speak> We shall fight on the <emphasis level="strong">beaches</emphasis> </speak> """)
About
A quick, poorly made, python 3 wrapper for the CMU Flite speech synthesis engine
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published