ibm-cloud-docs / text-to-speech

text-to-speech
6 stars 26 forks source link

two or more languages #78

Closed jgajardo closed 4 years ago

jgajardo commented 5 years ago

Please, could you help me for synthesize two or more languages in the same synthesize function call?

response = text_to_speech.synthesize(assistant_text_output, accept='audio/l16;rate=8000',voice="<<>>").get_result()

jeffpk62 commented 5 years ago

@jgajardo I do not believe that the service supports synthesis of two different voices with the same call. You likely need to use different calls for audio in the separate voices.