This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11622 - Improved Synthesis of talk clips for CamelCased files and directories
Attached to Project:
Rockbox
Opened by Steve Clarke (trumpton) - Saturday, 11 September 2010, 14:27 GMT+2
Opened by Steve Clarke (trumpton) - Saturday, 11 September 2010, 14:27 GMT+2
|
DetailsThe Rockbox utility generates its talk files and directory files using the filename and directory names.
If the filenames do not contain spaces, but are CamelCased, they are currently synthesized badly, for example: "I Do I Do I Do" gets pronounced eeedoyeeedoyeeedoy. The patch to the rbutil/base/talkfile.cpp processes CamelCased filenames and directory names just before synthesis and produces much better sounding talk clips. |
This task depends upon
Furthermore, IMO a better approach would be to allow filename adjustments using regular expressions -- those could easily convert CamelCase to Separate Words, and also do other nice transformations (like converting numbers like "01" to "1" as not all TTS engines can do so).
Steve
- We generally prefer patches done with svn diff (or the corresponding diff option if you use a mirror with a different VCS). svn diff has the advantage to record the revision it's done against and it also uses the unified diff format which is nicer to read.
- We usually prefer patches done from the root of the Rockbox tree (so they can get applied with patch -p0, the format created by git diff / format-patch is also ok in case you're mirroring the repository).
The patch itself looks ok from a quick look, however, as I said before (especially in the forums) I don't think this is a good approach since it hard codes only one specific use case.