Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

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

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

Details

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.
   voicecommon.patch (1.5 KiB)
 voicecommon.sh |   22 ++++++----------------
 1 file changed, 6 insertions(+), 16 deletions(-)

   configure.patch (1.5 KiB)
 configure |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

   sapi4_voice.vbs (2.5 KiB)
   ListVoices_Num_SAPI4.vbs (0.4 KiB)
This task depends upon

Closed by  Jonas Häggqvist (rasher)
Sunday, 10 February 2008, 19:19 GMT+2
Reason for closing:  Out of Date
Comment by Jonas Häggqvist (rasher) - Tuesday, 21 August 2007, 15:44 GMT+2
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.
   sapi4_voicebuilding.diff (5.7 KiB)
 configure       |   14 +++++++-
 voicecommon.sh  |   14 ++++++--
 sapi4_voice.vbs |   88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 109 insertions(+), 7 deletions(-)

Loading...