Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TTS service #194

Merged
merged 17 commits into from
Dec 4, 2022
Merged

Implement TTS service #194

merged 17 commits into from
Dec 4, 2022

Conversation

rkusa
Copy link
Collaborator

@rkusa rkusa commented Oct 18, 2022

Add TTS service, which allows to synthesize text and transmit it over SRS.

Example:

.\grpcurl -plaintext -import-path ./protos -proto ./protos/dcs/dcs.proto -d '{\"text_ssml\": \"Hello Pilot!\", \"frequency\": 251000000}' 127.0.0.1:50051 dcs.tts.v0.TtsService/Transmit

AWS:

.\grpcurl -plaintext -import-path ./protos -proto ./protos/dcs/dcs.proto -d '{\"text_ssml\": \"Hello Pilot!\", \"frequency\": 251000000, \"aws\": {}}' 127.0.0.1:50051 dcs.tts.v0.TtsService/Transmit

Azure:

.\grpcurl -plaintext -import-path ./protos -proto ./protos/dcs/dcs.proto -d '{\"text_ssml\": \"Hello Pilot!\", \"frequency\": 251000000, \"azure\": {}}' 127.0.0.1:50051 dcs.tts.v0.TtsService/Transmit

Google Cloud:

.\grpcurl -plaintext -import-path ./protos -proto ./protos/dcs/dcs.proto -d '{\"text_ssml\": \"Hello Pilot!\", \"frequency\": 251000000, \"gcloud\": {}}' 127.0.0.1:50051 dcs.tts.v0.TtsService/Transmit

This PR is based on #193 and #192.

TODO:

  • Test Win
  • Test AWS
  • Test Azure
  • Test GCloud

src/rpc/tts.rs Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Outdated Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Outdated Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Outdated Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Outdated Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Show resolved Hide resolved
protos/dcs/tts/v0/tts.proto Outdated Show resolved Hide resolved
rurounijones
rurounijones previously approved these changes Dec 4, 2022
@rkusa
Copy link
Collaborator Author

rkusa commented Dec 4, 2022

Rebased due to merge conflicts 🔀

@rkusa rkusa merged commit efe9f37 into main Dec 4, 2022
@rkusa rkusa deleted the tts-service branch December 4, 2022 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants