Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50625 Library:50543 in /sites/rockbox.org/flyspray/adodb/drivers/adodb-mysqli.inc.php on line 108 FS#12106 : Rockbox Utility V1.2.10 doesn't let me create voice files



FS#12106 - Rockbox Utility V1.2.10 doesn't let me create voice files

Attached to Project: Rockbox
Opened by Kevan (KevanGC) - Monday, 09 May 2011, 23:05 GMT
Last edited by Dominik Riebeling (bluebrother) - Monday, 06 February 2012, 19:02 GMT
Task Type Bugs
Category Rbutil
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.8.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I've been trying to make a voicefile for my Sansa Fuze V2. I used the SAPI5 engine with a NeoSpeech voice. It's a big voice but it sounds great.

In Rockbox utility 1.2.8, it would do it half the time, and sometimes it would give an error. I guess it's because the voice is so big, it takes up lots of memory.

However, in the new 1.2.10 utility, i'm completely unsuccessful in creating voicefiles with this voice. It always gives an error. It says encoding of "C:/Users/KevanGC/AppData/Local/Temp/rbvoice//random file name.wav"" failed. It gives a random filename, I guess because it's trying to encode the .wav files, taking too much memory, and getting stuck on a random file.

Rockbox utility version 1.2.8 did the same thing, but only half the time with the settings set exactly the same. The new V1.2.10 does it every time I try, but I'm able to create voice files on it just fine if I use a different voice.

The NeoSpeech voice does work correctly. I'll attach one of the logs it gave me so you can get more info.

I'm just wondering, since the old utility worked half the time, and the new one doesn't work at all, does the new one use more memory?

This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Monday, 06 February 2012, 19:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  Multithreading support for voicefile generation has been removed, will be re-added later.
Comment by Dominik Riebeling (bluebrother) - Saturday, 14 May 2011, 15:01 GMT
This has nothing to do with memory usage. See  FS#11994  -- it was supposed to be fixed, but it seems that disabling running the TTS engine with more than one thread (which is the change why it is running slower) didn't help. Interestingly said change didn't make the problem occur anymore for me. Can you reproduce the problem with a different voice (especially the one shipped with Windows, MS Sam / MS Anna)?
Comment by Kevan (KevanGC) - Saturday, 14 May 2011, 18:46 GMT
It works fine on MS Anna. Probably because it's a smaller voice. I still want to use NeoSpeech Julie as it sounds a lot better than Anna.
Comment by harry tu (bookshare) - Saturday, 06 August 2011, 16:45 GMT
Is a good workaround to use rbutil 1.2.6 for now?
Comment by Kevan (KevanGC) - Saturday, 06 August 2011, 17:04 GMT
V1.2.8 is the only thing I have that lets me create voice files.

I can reproduce the problem with Loquendo as well. I think you may want to go back to the old way of doing it, the old one at least works sometimes.
Comment by harry tu (bookshare) - Saturday, 06 August 2011, 18:14 GMT
I can do it consistently on 1.2.6. I reccommend you do it. I wish the makevoices.vbs script worked again.
Comment by Kevan (KevanGC) - Saturday, 06 August 2011, 18:27 GMT
How can I get 1.2.6? If that works fine, maybe the devs should make the next version of the utility the same way?
Comment by harry tu (bookshare) - Saturday, 06 August 2011, 22:00 GMT
Go to the RButil wikipage and then find the download link for windows. Then get the address that that link points to and then change the number from 10 to 6 and you're good to go.
Comment by Kevan (KevanGC) - Monday, 02 January 2012, 04:52 GMT
Interestingly, the voicing of entries works fine and never fails. The only spot where the problem hits is when encoding the .wavs to create the voice file. I Actually think it's working too fast making those wavs, as the CPU useage for the utility spikes on my system.

I think it might improve things to have the utility pause slightly after the creation of each .wav file.