FS#7578 - Quick fix allowing generation of voice files with SAPI4

Attached to Project: Rockbox
Opened by Peter Herngaard (pethern) - Saturday, 11 August 2007, 01:57 GMT
Last edited by Jonas Häggqvist (rasher) - Sunday, 10 February 2008, 18:19 GMT
Task Type Patches
Category Language
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This is a very quick and dirty fix for adding voice generation with SAPI4 to the Cygwin voice generation scripts.
A new file sapi4_voice.vbs is added to the /tools directory.
To change the active TTS engine look within sapi4_voice.vbs for OSPVoice.Select [n] where [N] refers to the numeric value corresponding to a TTS engine in the order returned by the listvoices_Num_sapi4.vbs script.
To change the TTS speed use OSPVoice.Speed [N) denoting an integer value.
This task depends upon

Closed by  Jonas Häggqvist (rasher)
Sunday, 10 February 2008, 18:19 GMT
Reason for closing:  Out of Date
Comment by Jonas Häggqvist (rasher) - Tuesday, 21 August 2007, 13:44 GMT
I've modified your patch so that it won't remove SAPI5 building. Hopefully I managed to not break anything. I haven't been able to successfully test it, but I may not have SAPI4 installed, I suppose. This patch includes all of your above changes except the ListVoices_Num_SAPI4.vbs which I've left out for now.