Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7560 - Allow SAPI5 to be used for building voice files under Cygwin

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Wednesday, 08 August 2007, 13:46 GMT+2
Last edited by Steve Bavin (pondlife) - Thursday, 09 August 2007, 14:08 GMT+2
Task Type Patches
Category Build environment
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

The attached patch is a first attempt to build voice files under Cygwin using SAPI5.

It's not as good as the old MakeVoices.vbs - it's slower and lacks the pronounciation fixes.

Windows users will also need to edit genvoice.sh to set TTS_ENGINE and TEMPDIR to more suitable values.

I still need to modify the checks in CONFIGURE.
   sapi5_voice_build.patch (7.9 KiB)
 tools/voicecommon.sh     |   21 +++++++++++++-
 tools/sapi5_init_tts.vbs |   29 ++++++++++++++++++++
 tools/genvoice.sh        |    7 ++++
 tools/sapi5_stop_tts.vbs |   19 +++++++++++++
 tools/sapi5_voice.vbs    |   68 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 141 insertions(+), 3 deletions(-)

This task depends upon

Closed by  Steve Bavin (pondlife)
Thursday, 09 August 2007, 14:08 GMT+2
Reason for closing:  Accepted
Comment by Steve Bavin (pondlife) - Wednesday, 08 August 2007, 13:48 GMT+2
This makes the MP3 clips fine, but the .voice file produced is very large (>2MB) and doesn't actually work... please can someone with a clue investigate.
Comment by Steve Bavin (pondlife) - Wednesday, 08 August 2007, 16:22 GMT+2
This one updates tools/configure too and seems to produce a working voice file!
   sapi5_voice_build.patch (9.1 KiB)
 tools/configure          |   28 +++++++++++++++----
 tools/voicecommon.sh     |   21 +++++++++++++-
 tools/sapi5_init_tts.vbs |   29 ++++++++++++++++++++
 tools/sapi5_stop_tts.vbs |   19 +++++++++++++
 tools/sapi5_voice.vbs    |   68 +++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 158 insertions(+), 7 deletions(-)

Loading...