RapidWareTech / pyttsx

Cross-platform text-to-speech wrapper
Other
370 stars 134 forks source link

Request to have MS XML markup enabled #22

Open gdw2 opened 11 years ago

gdw2 commented 11 years ago

Change 19->11 here:

https://github.com/parente/pyttsx/blob/master/pyttsx/drivers/sapi5.py#L65

Then again, I'm guessing it was done this way for a reason.

parente commented 11 years ago

The original idea behind pyttsx was to have a lowest-common denominator TTS that behaved in the same manner across all platforms. So if espeak didn't support the same XML tags as SAPI, for example, the tags were turned off.

It may be that this philosophy is too strict and limiting. Perhaps allowing the dev to choose if he/she wants consistency or platform-specific features would be better, as long as its an explicit choice. Sort of a "hope you're only developing on Windows now" switch.