• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category User Interface
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Rbutil git
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by mudd1 - 2011-01-17
Last edited by bluebrother - 2012-09-23

FS#11887 - Fix English TTS Pronounciation

There are a lot of menu entries that aren’t pronounced as they are supposed to. The following patch will hurt your eyes but it will stop the harm done to your ears. I hope I got all bad TTS occurrences, just let me know if I didn’t. I tried with festival using the cmu_us_slt_arctic_clunits voice. I would be glad if anybody could try using other engines.

Closed by  bluebrother
2012-09-23 19:39
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Please put word adjustments in tools/voice-corrections.txt since they are TTS specific.

nls commented on 2011-01-18 08:11

Other corrections like this are done in since different ones are needed for different tts’s, so you should move this in there instead.

mudd1 commented on 2011-01-18 09:29

Oh ok, didn’t know that. I will try to put it in there. Do you have any idea why I had to do the Plugins→Plug-ins transformation manually? Shouldn’t the ‘i’ after the s// operator in that Perl code have made it case-insensitive?

nls commented on 2011-01-18 13:30

Ah, you use rbutil for voice generation, rbutil doesn’t use the script so that’s why. I don’t know rbutil so have no idea if it could use the script.

See also  FS#11913  which is an attempt to make the corrections to strings for the TTS engines available to other tools.

mudd1 commented on 2011-01-31 14:35

I had a look at the makefile and it seems to me that “make voice” does use the script. I welcome the effort done in  FS#11913  but to my understanding the rules should already work for me. Any idea why they don’t?

nls commented on 2011-01-31 15:02

make voice does use rbutil does not, bluebrother’s patch is a first step to mkaing rbutil able to use these
though you used rbutil for voice generation since you have set “Rbutil SVN” as the reported in version, is that not the case?

Judging from your patch you’re modifying much more strings (like Encoder → En-coder) than the corrections currently does. My guess would be that the corrections in fact _did_ work for you, it’s just that they aren’t sufficient for the TTS engine you used.

Just as an example: I’m using a voice file created with the voice “Alex” on OS X, and even without any corrections (as created with Rockbox Utility) the voice file sounds good. A voice file created with the default voice of Windows XP is hardly bearable. This clearly shows that the corrections are heavily TTS specific.

mudd1 commented on 2011-01-31 16:30

Sorry, I’m using an SVN built but without the Rockbox Utility. I think “Rbutil SVN” was just the closest match to “SVN” I saw.

I did change much more than does but for example the transformation “plugin→plug-in” was something I came up with before I learned that does the exact same thing for festival (which I use). It nevertheless improved the generated voice. Any idea why that might have been the case?


Available keyboard shortcuts


Task Details

Task Editing