Skip to content

Commit

Permalink
edits
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgarlunin committed Jun 26, 2019
1 parent 98c27c3 commit dbfc5e6
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ Plugin was battle tested in several commercial simulator projects. It is small,

![](pics/api_key.png)

4) Create environment variable `GOOGLE_API_KEY` with created key as value.
4) There are two ways how you can use your credentials in project.

* 4.1 By using environment variables. Create environment variable `GOOGLE_API_KEY` with created key as value.

![](pics/googlespeechkeyenv.png)
* 4.2 By assigning key directly in blueprints. This can be called anywhere.

![](pics/apikeybp.png)

By default you need to set api key from nodes. To use environment variable, you need to set `Use Env Variable` to `true`.

Find out more in documentation for corresponding sections.
* [Supported voices](https://cloud.google.com/text-to-speech/docs/voices) ([WaveNet](https://en.wikipedia.org/wiki/WaveNet) are the best)

# Speech synthesis

Expand All @@ -27,6 +31,7 @@ sound wave object which can be played by engine.

![](pics/googletts.png)


# Speech recognition

Consists of two parts. First, we need to record voice from microphone. To do that, use **UMicrophoneCapture**
Expand Down Expand Up @@ -57,4 +62,11 @@ voice.SilenceDetectionThreshold=0.01

# Platforms supported

For now plugin tested only on **Windows** platform.
**Windows** and **Mac**.

# Links
Find out more in documentation for corresponding sections.
* [Supported TTS voices](https://cloud.google.com/text-to-speech/docs/voices) ([WaveNet](https://en.wikipedia.org/wiki/WaveNet) are the best)
* [Speech synthesis config](https://cloud.google.com/text-to-speech/docs/reference/rest/v1/text/synthesize#audioconfig)
* [Supported STT languages](https://cloud.google.com/speech-to-text/docs/languages)
* [Speech recognition config](https://cloud.google.com/speech-to-text/docs/reference/rest/v1/RecognitionConfig)

0 comments on commit dbfc5e6

Please sign in to comment.