book2audio

View on GitHub

Make Audiobook From Ebook

This is a guide on how to turn basically any ebook into an audiobook that doesn’t sound like a robot. In this guide, I use amazon as my ebook source, a windows 10 PC, and an android phone.

  1. Install Calibre

  2. Get deDRM, unzip it somewhere, and inside calibre go to preferences > add plugin and add deDRM

DeDRM DeDRM - Releases

  1. The next step depends on how you are exporting from amazon, which you can do from this link: Export books from Amazon Click the to get this menu. Then select Download & transfer via USB image

  2. Then you get a dropdown where you’ll only be able to export to devices or kindle apps that are considered active. This matters because the DRM encoding is based on the intended device. image

  3. Depending on what you output it for, deDRM might need a piece of information to decrypt it. image

  4. I exported for a Kindle Oasis. So, I put in the serial number from my device as an EINK Kindle Serial number

  5. That’s basically it for exporting & removing any DRM. You just click Add books in calibre and pick the file you downloaded. If you set it up right, it will decrypt it automatically on import and let you convert & export it to any format you want, DRM-free. If you did something wrong, Calibre will fail when you try to convert. In the event you fucked up, there are tons of little faqs and links they give you to try and figure out what you did wrong here: DeDRM - FAQs Example: You might need to put in a key for Kindle for MAC/PC if you exported for that platform from Amazon. Note: Calibre decrypts only on import, so you need to go to preferences > adding books > adding actions and enable auto-merge and set it to overwrite existing. This way if you fucked up, you can fix ur keys or w/e, try importing again, and it will just overwrite the initial import with the hopefully now DRM-free one.

  6. Get an ebook reader that does TTS! On your android device, I found this app works well because it will open any epub & supports advanced Text-to-Speech options: @Voice Reader Note: I paid the $10 for the pro version.

  7. Setup Google Cloud Wavenet service. Note: This is technically not free, but the $300 trial is at least 1 million words. If you don’t have a Google Cloud account, go here to make one: Google Cloud Add billing info to get the $300 trial

  8. Create a project & get a wavenet API key Go to the API & Services dashboard: Google Cloud - APIs & Services Create a new project. Inside the project, go to the Cloud Text-to-Speech API Google Cloud - Cloud TTS/wavenet On the wavenet page, go to the Credentials section. Hit the + Create Credentials button near the top of the page and select a Service Account. Create the credentials. Go to the Service Accounts page to get the email & Key ID Google Cloud - Service Accounts Send the email & key to yourself on your android device.

  9. Open up the @Voice reader on your android device. Hit the settings cog in the top right. Scroll to the bottom and hit the Google API Key option. Put your wavenet API key in here

  10. Go to Settings & Change voice or language option. Pick any of the Google voice options.

Congrats, you can now make your own audiobooks from any ebook.