* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Text to speech...in my own voice  (Read 174 times)

0 Members and 1 Guest are viewing this topic.

Offline JWinslow23

  • Should my fans be called "Elephants", "Cookie Clickers", or "Descenders"?
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and 2↑↑↑6
  • Posts: 774
  • Post Rating Ratio: +13/-1
  • 99.999...% of mathematicians agree, tau > pi.
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Text to speech...in my own voice
« on: December 07, 2017, 08:33:48 am »
After discovering Text to Trump, I thought to myself: how cool would it be to make a text-to-speech voice that resembles my own? And then I thought: how hard would it be?

The answer to both questions is "very". :P

Slightly modified from this Github repository, I created a Python program which would take entries in a modified version of the CMU Pronouncing Dictionary, convert them into individual sounds, and play them back (as well as output them to a .wav file). The results are a bit Stephen-Hawking-ish right now, but I hope to try and improve it soon ;)

Here is an example of "my own voice" reading the CodeWalrus intro: https://clyp.it/02ucuy3z

Requires Python, PyAudio, and PyDub. You do not need FFmpeg, but the program can freak out without it.

Project download here. Try it!


  • Calculators owned: TI-84+, TI-84+ CSE, TI-84+ CE

Offline _iPhoenix_

  • Super User
  • Join Date: Mar 2017
  • Location:
  • Posts: 541
  • Post Rating Ratio: +12/-1
  • █████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • @the-legend-of-iphoenix
  • Gender: Male
Re: Text to speech...in my own voice
« Reply #1 on: December 07, 2017, 12:33:26 pm »
You had a great opportunity to use machine learning, yet you didn’t!
  • Calculators owned: A sentient TI-84+ CE, TI-85
  • Consoles, mobile devices and vintage computers owned: TI-99/4a home computer
Please spam here: https://legend-of-iphoenix.github.io/spam/

"walruses are better than tuxedo chickens, all hail the great :walrii:" ~ me

Offline Caleb Hansberry

  • CodeWalrus Staff
  • Full User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Safe-haven access
  • Join Date: Jan 2015
  • Location:
  • Posts: 185
  • Post Rating Ratio: +3/-0
  • I am a Christian
    • caleb_hansberry
    • Skylites Computers
  • Gender: Male
Re: Text to speech...in my own voice
« Reply #2 on: December 08, 2017, 04:56:49 am »
Your voice sounds horrible! :P
  • Consoles, mobile devices and vintage computers owned: HP Portable Plus 110, Toshiba T3100, GRiD 1660, TI-99/4A, and much more than I can list here

Offline JWinslow23

  • Should my fans be called "Elephants", "Cookie Clickers", or "Descenders"?
  • Super User
  • CW 4x3 challenge - 2nd place
  • *
  • Join Date: May 2015
  • Location: Somewhere between 13 and 2↑↑↑6
  • Posts: 774
  • Post Rating Ratio: +13/-1
  • 99.999...% of mathematicians agree, tau > pi.
    • @UCu_9qD95nADzc-W6RN-3Z8A
    • 113/11328
  • Gender: Male
Re: Text to speech...in my own voice
« Reply #3 on: December 08, 2017, 03:20:53 pm »
Nah, it's just the method I chose to go about this is horrible. My voice itself is fine :P

 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games