![]() |
#1 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Kindle voice packs & usertts hack
This is an attempt to both standardize and simplify the installation of custom TTS voices on Kindle.
As of now, the installation of custom TTS voices is tricky and requires launchpad or usbnetwork. It would be nice to install the voices as easily as any other hack. However, it cannot be achieved by putting them into a single .bin update file, that would make the installation process very long, error prone and potentially dangerous. I've made a simple hack that makes the voice pack installation easy - it's called usertts. The voicepack should be installed by simple copying to the Kindle root directory (speaking about user store here). The usertts hack then takes care of the rest. To make the installation even more simple, I propose the following voice pack structure: Code:
usertts/ install/ update_usertts_*_(un)install.bin data/ depes_enu_cfg1.dat depes_enu_cfg3.dat ... install-voicepack.txt install-voicepack.*.txt (translation to other languages) You can also download few voice packs (Czech Zuzana + British Daniel, Slovak Laura + British Daniel, ...) and voices (can be used by usertts to create custom voicepacks) here: http://ge.tt/8HHrZe8 On the same page you can download the usertts hack source and installation packages (normally part of the voice pack). ************** install-voicepack.txt contents **************** Make sure you have already jailbroken your Kindle. In case you've installed jailbreak version <= 0.9N from NiLuJe to achieve that, add update_usertts to the whitelist at *linkjail/etc/whitelist*. First, unpack the downloaded voice pack contents. The voice pack contains a usertts directory. Copy the usertts directory to the root directory of your Kindle. The usertts directory should contain an *install* subdirectory with a bunch of .bin files. Copy the correct *update_usertts_3r3_*_install.bin* file for your Kindle to the root directory of your Kindle. (As always, k3g means K3 3G (US [serial number starts with B006]), k3w means K3 WiFi [B008] and k3gb means K3 3G (UK [B00A]). For a Kindle 3 WiFi, that would be *update_usertts_3r3_k3w_install.bin* for example. Now, eject your Kindle, and go to *[HOME] -> [MENU] > Settings -> [MENU] > Update Your Kindle*. It should be quick. The usertts hack forces your Kindle to use *[user store]/usertts/data* directory instead of the built-in voice pack if, and only if, the directory is present when the Kindle is starting up. Once installed, it is easy to change the voice pack - just copy its contents to your Kindle and reboot it. No need to reinstall the usertts hack. The usertts hack uses "mount --bind" on Kindle OS boot to mount *[user store]/usertts/data* directory to */usr/share/nuance/data* directory in order to effectively replace the target directory contents with the source while not touching anything on the flash storage. Thus the mount effects are not permanent and this method isn't supposed to break your Kindle firmware. MAKING YOUR OWN VOICE PACK From version 3r2, usertts has a feature that lets you mix your own voice pack. First, select and download two voice sources of your choice, e.g. kindle-voice-en_GB-daniel.src.zip and kindle-voice-cs-zuzana.src.zip . Create subdirectories *usertts/male/* and *usertts/female/* in your Kindle. Then extract the first voice zip contents to *usertts/male/* and the second voice zip contents to *usertts/female/* - or vice versa (the voice copied to the male subdir will be refered to as "Male" in Kindle GUI while the voice copied to the female subdir will be refered to as "Female" in Kindle GUI) Then just eject and restart your Kindle, after reboot both *male* and *female* subdirs will disappear and you'll get a new *data* subdir instead containing your voice pack data. Kindle will be using this new voice pack for TTS immediately. Should you need to switch more than two voices, install launchpad and copy provided usertts.ini file to *launchpad* directory. Then copy the second voice pack to *usertts/data2*, the third one to *usertts/data3* etc. You can have up to five voice packs. Reload launchpad (SHIFT SHIFT SPACE) and then you can switch the voice packs with these shortcuts: SHIFT T Q - *usertts/data* SHIFT T W - *usertts/data2* SHIFT T E - *usertts/data3* SHIFT T R - *usertts/data4* SHIFT T T - *usertts/data5* ************************************************** ******* Last edited by dsmid; 04-06-2012 at 09:13 AM. |
![]() |
![]() |
![]() |
#2 |
wannabe developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
Indeed it makes things really simple, thank you dsmid.
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8
Karma: 1126
Join Date: Oct 2011
Device: Amazon Kindle 3G
|
Still, it is unclear which format the TTS-voice-db files should be, and where to get them. Nuance seems to have so many products...
|
![]() |
![]() |
![]() |
#4 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
It's quite clear - you need a voice for Nuance Vocalizer 5 (rssolv5), coder 155mrf22.
You can find such voices in Linux based GPS navigation devices. Currently I'm uploading all voices I can get to the place mentioned above. |
![]() |
![]() |
![]() |
#5 |
wannabe developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 192
Karma: 156548
Join Date: Mar 2011
Device: Kindle: 2xKeyboard, Classic, 2xTouch, 2xPW, PW2; Onyx: Boox M92
|
You can also extract voices from SuperNova Screen Reader.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35
Karma: 13130
Join Date: Sep 2011
Device: kobo
|
is it possible to use TTS of Tomtom or Garmin navigator ? i need a TTS in italian language
|
![]() |
![]() |
![]() |
#7 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
The Italian voice (Silvia) can be found on http://ge.tt/8HHrZe8
Download Silvia and another voice and make your own voice pack (see the first message in this topic, "MAKING YOUR OWN VOICE PACK"). |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 494362
Join Date: Nov 2010
Location: Budapest, Hungary
Device: Kindle 3
|
Hi!
Is it work on Kindle 3 with 3.3 firmware? |
![]() |
![]() |
![]() |
#9 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Yes, it works without problems on firmware 3.3.
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Congratulations, great post.
If you could make one, I need a TTS in portuguese or brazilian language. Thanks in advance |
![]() |
![]() |
![]() |
#11 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
maia, a voice file kindle-voice-pt_BR-raquel.src.zip has been uploaded to the usual place.
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
|
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2011
Device: Kindle
|
Thank you dsmid
|
![]() |
![]() |
![]() |
#14 |
Linux devotee
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Now there's a possibility to switch multiple voice packs:
Should you need to switch more than two voices, install launchpad and copy provided usertts.ini file to *launchpad* directory. Then copy the second voice pack to *usertts/data2*, the third one to *usertts/data3* etc. You can have up to five voice packs. Reload launchpad (SHIFT SHIFT SPACE) and then you can switch the voice packs with these shortcuts:
|
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 494362
Join Date: Nov 2010
Location: Budapest, Hungary
Device: Kindle 3
|
Really nice! Thank you!
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing Text to Speech voice packs | chyron8472 | Amazon Kindle | 4 | 05-11-2012 04:55 AM |
Paid Hack Request: Photo Slideshow Hack for Kindle 3 | chmreader | Kindle Developer's Corner | 0 | 05-25-2011 01:24 PM |
Which link for jailbreak & hack now? | harpangel36 | Kindle Developer's Corner | 2 | 02-26-2011 11:04 PM |
Hack Wanted: K3 TTS Voice Change | anmend43 | Kindle Developer's Corner | 7 | 10-17-2010 02:37 PM |
Free on Kindle - The Voice | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 12-09-2009 02:06 PM |