-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
283997e
commit dff662a
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
# TextToSpeechListener | ||
# TextToSpeechListener | ||
|
||
The text-to-speech listener (TTSL) is a C# console app. It will listen for data transferred via a UDP socket. | ||
The incoming data is expected to be in JSON format. The contained text will be synthesized to speech via the Microsoft or Google TTS engines. | ||
|
||
The common use case is that another program (or game) sends the text data via the UDP protocol. The listener receives the data and converts it into speech. | ||
|
||
Note that this program is closely related to Ciribob's DCS-External-Audio program but it does not use any radio frequencies or SRS running. | ||
One major advantage is, that the listener console app is constantly running. There is no "pop-up" window, each time a TTS package is received. | ||
|
||
NOTE: | ||
* For google you have to set the Windows environment variable `GOOGLE_APPLICATION_CREDENTIALS` to point to google crendentials file. | ||
* The default UDP port of the listener is 11042. But it can be configured to use any other port. | ||
* The TTS messages are played synchronously, *i.e.* they are played one after the other and do not overlap each other. | ||
|
||
![image](https://user-images.githubusercontent.com/28947887/234686638-79272a70-aaff-426d-9d01-6252bf779a1b.png) |