dcsimg
Results 1 to 2 of 2
  1. #1

    Thread Starter
    New Member vbLewis's Avatar
    Join Date
    Feb 2009
    Location
    USA
    Posts
    11

    Google Cloud Natural Language Text-To-Speech

    PLEASE SEE THE INCLUDED READ ME FILE FOR COMPLETE INSTRUCTIONS BEFORE RUNNING THE PROJECT

    Here is a project I did that shows you how to use the power of Google Cloud for next level natural sounding Text-To-Speech (TTS).
    It shows you how to use either Windows Media Player or the Common Controls MultiMedia control to play the audio files.
    Google Cloud TTS Documentation

    Unfortunately, you can NOT just open the project and run it... It requires you to have a google cloud account with text to speech API enabled. It is complicated to set up but once you do its trivial to use. It is completely free to sign up but does require a credit/debit card. It is completely free for the first 1-4 million characters.They don't charge your account but access will be denied once the limit is reached till you upgrade your account.

    Normally you would have a server (called the backend) that processes the request for you in client applications as not to leak your access tokens.Google cloud tts is free for 1 million characters and after they charge $4 per milllion. I plan on using this in future applications so i couldn't include the access tokens in the code. YOU MUST HAVE YOUR OWN GOOGLE CLOUD ACCOUNT TO RUN THE PROGRAM!
    (Note: If someone would like to donate their first 1 million free characters for this example let me know.)

    PLEASE SEE THE INCLUDED READ ME FILE FOR COMPLETE INSTRUCTIONS BEFORE RUNNING THE PROJECT

    This sample app uses and requires the following technologies:
    1. Inet transfer control (MSINET.OCX)
    2. Windows Media Player Control (wmp.dll)
    3. Common Controls 6.0 (mscomctl.ocx)
    4. Common controls multimedia control (mci32.ocx)
    5. Google Cloud SDK (see readme file)

    It also uses code from the following sources:
    1. JSONBAG by Robert D. Riemersma, Jr. (dilettante)
    2. GetCommandOutPut by Mattias Sjögren

    Name:  ss.jpg
Views: 226
Size:  57.4 KB


    GoogleCloudTTS.zip

  2. #2

    Thread Starter
    New Member vbLewis's Avatar
    Join Date
    Feb 2009
    Location
    USA
    Posts
    11

    Re: Google Cloud Natural Language Text-To-Speech

    Ive updated the project.

    1. Added MP3 and OGG Opus audio capability.
    2. Added Volume (Gain) for output audio
    3. Fixed a small bug in Voice selection
    4. MP3 is now the default audio format.
    5. Added ability to cancel sound playing

    Name:  ss2.jpg
Views: 44
Size:  49.1 KB
    Attached Files Attached Files
    Last edited by vbLewis; Jul 12th, 2018 at 02:05 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width