Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-11-2011, 05:27 AM   #1
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
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 get the idea by downloading an empty sample voice pack - kindle-voicepack-sample.zip

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 10:13 AM.
dsmid is offline   Reply With Quote
Old 10-11-2011, 07:22 AM   #2
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 181
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.
seaniko7 is offline   Reply With Quote
 
Advertisement
Old 10-11-2011, 03:44 PM   #3
synchrone
Junior Member
synchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheesesynchrone can extract oil from cheese
 
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...
synchrone is offline   Reply With Quote
Old 10-12-2011, 02:52 AM   #4
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
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.
dsmid is offline   Reply With Quote
Old 10-12-2011, 05:35 AM   #5
seaniko7
wannabe developer
seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.seaniko7 can grok the meaning of the universe.
 
seaniko7's Avatar
 
Posts: 181
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.
seaniko7 is offline   Reply With Quote
Old 10-12-2011, 07:24 AM   #6
micione20
Junior Member
micione20 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Sep 2011
Device: kindle 3
is it possible to use TTS of Tomtom or Garmin navigator ? i need a TTS in italian language
micione20 is offline   Reply With Quote
Old 10-12-2011, 08:18 AM   #7
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
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").
dsmid is offline   Reply With Quote
Old 10-18-2011, 04:49 PM   #8
Kindlevarazs
Connoisseur
Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.
 
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?
Kindlevarazs is offline   Reply With Quote
Old 10-19-2011, 03:16 AM   #9
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
Yes, it works without problems on firmware 3.3.
dsmid is offline   Reply With Quote
Old 10-19-2011, 08:47 AM   #10
maia1958
Junior Member
maia1958 began at the beginning.
 
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
maia1958 is offline   Reply With Quote
Old 10-19-2011, 09:50 AM   #11
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
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.
dsmid is offline   Reply With Quote
Old 10-19-2011, 03:19 PM   #12
dasmoover
Connoisseur
dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.dasmoover is not intimidated by interfenestral monkeys.
 
Posts: 84
Karma: 26720
Join Date: Mar 2011
Device: Kindle 3 WIFI
http://gitbrew.org/~dasmoover/kindle/usertts/ - mirror
dasmoover is offline   Reply With Quote
Old 10-19-2011, 03:38 PM   #13
maia1958
Junior Member
maia1958 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2011
Device: Kindle
Thank you dsmid
maia1958 is offline   Reply With Quote
Old 10-21-2011, 04:00 AM   #14
dsmid
Linux devotee
dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.dsmid ought to be getting tired of karma fortunes by now.
 
dsmid's Avatar
 
Posts: 593
Karma: 2061091
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:
  1. SHIFT T Q - *usertts/data*
  2. SHIFT T W - *usertts/data2*
  3. SHIFT T E - *usertts/data3*
  4. SHIFT T R - *usertts/data4*
  5. SHIFT T T - *usertts/data5*
dsmid is offline   Reply With Quote
Old 10-21-2011, 10:45 AM   #15
Kindlevarazs
Connoisseur
Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.Kindlevarazs ought to be getting tired of karma fortunes by now.
 
Posts: 60
Karma: 494362
Join Date: Nov 2010
Location: Budapest, Hungary
Device: Kindle 3
Really nice! Thank you!
Kindlevarazs is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Text to Speech voice packs chyron8472 Amazon Kindle 4 05-11-2012 05:55 AM
Paid Hack Request: Photo Slideshow Hack for Kindle 3 chmreader Kindle Developer's Corner 0 05-25-2011 02:24 PM
Which link for jailbreak & hack now? harpangel36 Kindle Developer's Corner 2 02-27-2011 12:04 AM
Hack Wanted: K3 TTS Voice Change anmend43 Kindle Developer's Corner 7 10-17-2010 03:37 PM
Free on Kindle - The Voice koland Deals, Freebies, and Resources (No Self-Promotion) 0 12-09-2009 03:06 PM


All times are GMT -4. The time now is 02:38 PM.


MobileRead.com is a privately owned, operated and funded community.