Amazon Polly properties
8 min
3rd party integrations / purple manager summary this article lists and explains the properties for setting up tts with amazon polly in purple you can use them for both ways of setting up tts set up tts with amazon polly on the 'team' level docid\ hvj5pm0kbdflg0z7bxpbh set up tts with amazon polly on the 'publication' level docid\ kp6frwjakucu ccijleui there are a few settings which need to be done either for the 'team' or for each 'publication' if the settings are set for both, the publication settings are preferred explanation polly voices example awspollyvoices=hans|male,marlene|female this setting is used to select the voices you have selected for text to speech and can be adjusted per selected voice and language, and it is also possible to select neutral and non neutral voices in this example, the voices for the german language are 'voice hans' for the male voice and 'voice marlene for the female voice the overview of all available voices can be found on the external website of the provider https //docs aws amazon com/polly/latest/dg/voicelist html https //docs aws amazon com/polly/latest/dg/voicelist html language code example awspollylanguagecode=de de this setting is used to select the language output you have selected for text to speech and can be adjusted per language selected in this example, it is 'de de' for the german language the list of language codes for all available languages can be found on the provider's external website https //docs aws amazon com/polly/latest/dg/voicelist html https //docs aws amazon com/polly/latest/dg/voicelist html sample rate example awspollysamplerate=22050 this setting indicates the quality of the mp3 file generated for the speech output and can be configured to your liking the audio frequency is specified in hz in this example, we are working with 22050 hz, which we recommend as the default configuration for both neural and non neural voices the higher the sample rate, the better the quality of the speech output however, it also increases the size of the file, which can degrade the performance of your app for more information on sample rate, see this external article https //docs aws amazon com/polly/latest/dg/api synthesizespeech html#api synthesizespeech requestsyntax https //docs aws amazon com/polly/latest/dg/api synthesizespeech html#api synthesizespeech requestsyntax access key example awspollyaccesskey=akia2uy364j26ewpflmn the access key must be generated per team and by the customer himself/herself and entered into the aws bucket set up in purple manager docid\ preabbukcj4qk6ae1 vyr to generate the keys, please go to your amazon web services account you can find more information on the external website of the provider https //docs aws amazon com/en en/polly/latest/dg/install voice plugin2 html # secret key example awspollysecretkey=ml6ofpz/+g6gxh1ld2iib2ynjl7lkhcmn9pmee6l the secret key must be generated per team and by the customer himself/herself and entered into the aws bucket set up in purple manager docid\ preabbukcj4qk6ae1 vyr to generate the keys, please go to your amazon web services account you can find more information on the external website of the provider https //docs aws amazon com/en en/polly/latest/dg/install voice plugin2 html https //docs aws amazon com/polly/latest/dg/setting up html property overview team setting name of custom property for publication default example values bucket key prefix tts sample rate awspollysamplerate no default, needs to be filled either for team or publication 22050 voices awspollyvoices no default, needs to be filled either for team or publication no default, needs to be filled either for team or publication no default, needs to be filled either for team or publication no default, needs to be filled either for team or publication english voices emma#neural|female amy#neural|female german voices marlene|female hans|male comma separated values are possible languagecode awspollylanguagecode no default, needs to be filled either for team or publication en gb de de