This is an example library using AWS's Amazon Polly service in a pure Qt/C++ Interface.
While this library is currently focused only on Amazon Polly's API, I am fairly certain it wouldn't be too difficult to adapt to other AWS services as well.
Most AWS wrappers in Qt that I've seen were too bulky, out of date, and tend to fail on compile. Furthermore, Amazon Polly was a new feature added to AWS that none of the libraries had at the time.
Amazon does provide an AWS SDK for C++, but it's an absolute monster and it's definitely not light weight whatsoever.
In search for a 'native' Qt API wrapper for AWS, I decided to just create one myself. The result is a simple, fast, and straightforward library for Amazon Polly. Theoretically this library should be able to request other AWS services that use similar endpoints as Amazon Polly, but YMMV.
- Include the
QtAws
library and header. - Initiate
QtAws
with your AWS Access and Secret Key - Connect the
requestStream
signal fromQtAws
to desired slot - Call the
requestPolly
function with text desired and 'voice' desired
Fully functional example is included in the TestApplication
Application provided
When requesting a voice, use the name on the right of the dash. For example, if you desire to use English (en-US) - Joey
, request Joey
- Welsh - Gwyneth
- Turkish - Filiz
- Swedish - Astrid
- Spanish (es-US) - Penelope
- Spanish (es-US) - Miguel
- Spanish (es-MX) - Mia
- Spanish (es-ES) - Conchita
- Spanish (es-ES) - Lucia
- Spanish (es-ES) - Enrique
- Russian - Tatyana
- Russian - Maxim
- Romanian - Carmen
- Portuguese (pt-PT) - Ines
- Portuguese (pt-PT) - Cristiano
- Portuguese (pt-BR) - Vitoria
- Portuguese (pt-BR)- Ricardo
- Polish - Ewa
- Polish - Maja
- Polish - Jacek
- Polish - Jan
- Norwegian - Liv
- Korean - Seoyeon
- Japanese - Mizuki
- Japanese - Takumi
- Italian - Carla
- Italian - Bianca
- Italian - Giorgio
- Icelandic - Dora
- Icelandic - Karl
- Hindi - Aditi
- French (fr-CA) - Chantal
- French (fr-FR) - Celine
- French (fr-FR) - Lea
- French (fr-FR) - Mathieu
- English (Welsh) - Geraint
- English (en-US) - Ivy
- English (en-US) - Joanna
- English (en-US) - Kendra
- English (en-US) - Kimberly
- English (en-US) - Salli
- English (en-US) - Joey
- English (en-US) - Justin
- English (en-US) - Matthew
- English (en-IN) - Aditi
- English (en-IN) - Raveena
- English (en-GB) - Amy
- English (en-GB) - Emma
- English (en-GB) - Brian
- English (en-AU) - Nicole
- English (en-AU) - Russell
- Dutch - Lotte
- Dutch - Ruben
- Danish - Naja
- Danish - Mads
- Chinese - Zhiyu
- Arabic - Zeina