We're on Discord! Please join our server now if you don't want to miss anything! (More info) | Join the UCC4 contest! (More info)

* WalrusIRC & Discord main room

If you have a forum account, have more than 4 posts and are not part of a restricted usergroup, then you can chat in our main Discord server room directly from here and continue using the forums at the same time. Or you can join our server directly and access many more discussion rooms!

Author Topic: Text to speech...in my own voice  (Read 1290 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: 800
  • Post Rating Ratio: +14/-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_

  • Custom title
  • Super User
  • Join Date: Mar 2017
  • Location: Location
  • Posts: 673
  • Post Rating Ratio: +16/-1
  • ███████ ▼ ♪ Best music ♫
    • @dj_iPhoenix
    • @UCytgMNPxAMDsxjimvxHf01w
    • Legend-of-iPhoenix
    • @the-legend-of-iphoenix
    • My website.
  • 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: Two TI-84+ CE's
Please spam here: https://legend-of-iphoenix.github.io/spam/

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

Offline Caleb Hansberry

  • CodeWalrus Staff
  • Full User
  • Moderator
  • CodeWalrus Supporter
  • *
  • Safe-haven access
  • Join Date: Jan 2015
  • Location:
  • Posts: 223
  • Post Rating Ratio: +3/-0
  • I am a Christian
    • caleb_hansberry
    • JinnaiTamano
    • @https://soundcloud.com/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
  • Calculators owned: TI-82, TI-83, TI-83+SE, TI-84+SE, TI-85, TI-89, TI-99/4A
  • Consoles, mobile devices and vintage computers owned: HP Portable Plus 110, Toshiba T3100, Toshiba T5200, GRiD 1660, TI-99/4A, Apple IIgs, 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: 800
  • Post Rating Ratio: +14/-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