Help me setup Google Cloud sample code on VS2017 (text to speech)
- or -
Post a project like this$20
- Posted:
- Proposals: 2
- Remote
- #2249714
- Expired
Description
Experience Level: Entry
I need someone to help me setup a basic windows form with 1 button only in visual studio 2017,
I have the solution compiled from google
https://github.com/GoogleCloudPlatform/dotnet-docs-samples
I am interested into speech/api or texttospeech/api which ever works.
I have created the project id inside the google account, I have also the json file and also setup the environment GOOGLE_APPLICATION_CREDENTIALS
but I cant get it working.
I have error keeps poping:
Project QuickStart:
public class QuickStart
{
public static void Main(string[] args)
{
// Instantiate a client
TextToSpeechClient client = TextToSpeechClient.Create(); <<<<<<<<<< ERROR HERE see below
System.InvalidOperationException: 'The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.'
I need someone can show me or provide me fully working , I just need to run it in a windows form with one button pressed can save a text 'hello' to a mp3 file.
I want to use google cloud speech api to convert a text into mp3 file, google provides everything but cant get it working.
I have the solution compiled from google
https://github.com/GoogleCloudPlatform/dotnet-docs-samples
I am interested into speech/api or texttospeech/api which ever works.
I have created the project id inside the google account, I have also the json file and also setup the environment GOOGLE_APPLICATION_CREDENTIALS
but I cant get it working.
I have error keeps poping:
Project QuickStart:
public class QuickStart
{
public static void Main(string[] args)
{
// Instantiate a client
TextToSpeechClient client = TextToSpeechClient.Create(); <<<<<<<<<< ERROR HERE see below
System.InvalidOperationException: 'The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise, the environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.'
I need someone can show me or provide me fully working , I just need to run it in a windows form with one button pressed can save a text 'hello' to a mp3 file.
I want to use google cloud speech api to convert a text into mp3 file, google provides everything but cant get it working.
Steve P.
100% (13)Projects Completed
8
Freelancers worked with
9
Projects awarded
22%
Last project
12 Apr 2019
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies