0
Answered

Change voice assigned to audio clip dynamically/via javascript

achr 4 years ago in SitePal Studio updated 4 years ago 3

Hello,

Through the web-app setup, I can obviously choose from a list of voices to assign to my 'audio setup'.

Is there a way to choose which voice to use for an audio segment through the javascript API? 

Thank you.

Answer

+1
Answer
Under review

Yes, using successive calls to the 'sayText' API call you can have your character speak several audios in sequence, each with a different voice.

We have a great technical example of that here - 

http://www.oddcast.com/support1/saytext_classic.html

Click on the "Speak Greeting" link under the character to hear the character speak in 5 different voices in sequence.

Hope this helps,

Gil 

The SitePal Team

+1
Answer
Under review

Yes, using successive calls to the 'sayText' API call you can have your character speak several audios in sequence, each with a different voice.

We have a great technical example of that here - 

http://www.oddcast.com/support1/saytext_classic.html

Click on the "Speak Greeting" link under the character to hear the character speak in 5 different voices in sequence.

Hope this helps,

Gil 

The SitePal Team