say function to avatar
Hello,
I'm try to send an method to the scene, but JS say me is not a function.
This is an example: https://jsfiddle.net/moku23/05ycdsvr/5/
Hello!
There is no function called say me or sayme or say.
There are three main speech functions that you should become familiar with -
1. sayAudio - to speak previously uploaded or recorded audios
2. sayText - for realtime Text-to-Speech audio
3. sayAI - for user interaction with your SitePal Bot (or 3rd party bot)
To become more familiiar with using our API I recommend reading the introduction section in our Client API reference document on our support page.
Here is a direct link -
https://www.sitepal.com/docs/vhost_API_Reference.pdf
On our support page - www.sitepal.com/support - you will also find links to dozens of technical examples demonstrating how to use our API. Please peruse those examples, and feel free to copy their source code to your own page to get started.
Regarding the test page you shared above - In your page you are trying to call the function saySilent (please look un in the reference doc what it does). But it will not work before your character has loaded.
You should use the callback function vh_sceneLoaded to find out when it is safe to call the API.
Finally, if you have specific questions - please send us a note to support@sitepal.com - and we will be happy to look into and advise.
I hope this helps,
Gil
ps. great character!
Structure Elements "BREAK", occasionally not working
Dear SitePal,
we use the structure element "BREAK" to insert a custom pause for the avatar.
Normally, the BREAK working properly with the sintaxt: BREAK time="1000ms" (in HTML tag).
Occasionally, with the same sintaxt, the avatar reads the "milliseconds" without a pause.
Do you know this problem?
How can we resolve it?
I'm looking forward for your kindly reply.
Kind regards,
Paolo
Hello!
The talkStarted event should be received only once - when your character starts talking.
If several audios are spoken in sequence, the talkStarted should be received at the start, and talkEnded at the end.
For each audio in the sequence you should receive an audioStarted and audioEnded event.
Here is a relevant technical example that demonstrates this -
http://www.oddcast.com/support1/syc_classic.html
If you think there is a problem in your implementation - please post a link to your page where the problem can be seen and we will take a look and advise. Or - send a note to support@sitepal.com with the relevant information.
Hope this helps,
Gil
The SitePal Tam
What happens when we run out of free minutes? Do we pay every time we "publish" a scene?
I assume you are referring to Video Generation minutes.
Platinum plan comes with 12 hrs (720 min).
If you need more you can purchase for $199.50 / 60 min.
To purchase - send a note to sales@sitepal.com.
Hope this helps,
Gil
The SitePal Team
Multiple Audio
Is it possible to program a scene to always play multiple audio (text-by-speech) in an exact order?
Yes, you can easily do so using the API.
As you make successive calls to "sayText" they can be queud for playback in sequence.
There is no limit to how many audios you can queue in this way.
Here's a good technical example:
http://www.oddcast.com/support1/tts_limit.html
Hope this is helpful,
Best regards,
Gil
The SitePal Team
Subtitle
Please, is it possible to generate subtitles embed to the videos from the text-to-speech?
Can someone tell me what name shows on the statement when you pay?
Just trying to figure out what name will show on my credit card statement when we are billed after the free trial.
It is displayed as -
SITEPAL 2123756290 NY
Regards,
Gil
The SitePal Team
I see - you are looking to create your own character from a photo (our "photoface 3D" feature).
That's the only editor feature still requiring Flash, it will be replaced by an updated non-Flash implementation in the coming weeks.
For now - please write to support & ask for guidance how to launch the Flash editor.
There as simple steps you need to take - we will help you out.
Best,
Gil
How to call AC_VHost_Embed twice
Hi
My problem is: I have the react app and one of the page need to use sitepal scene via AC_VHost_Embed
function. But if we go to another page and return back on the page with scene without reloading page. How to init scene again? if call AC_VHost_Embed again will be thrown exception
add_html.js:1 Uncaught TypeError: Cannot set property 'innerHTML' of null
at vhsshtml5_onaddhtmlcall (add_html.js:1)
at HTMLScriptElement.vhsshtml5_add_html_jsLoaded (VM5997 vhost_embed_functions_v2.php:480
Also I use following code to include needed scripts.
//vhss-d.oddcast.com/vhss_players/sitepal/js/react_js_embed.js
//vhss-d.oddcast.com/vhost_embed_functions_v2.php?acc=${ENV.sitepal.accountId}&js=1My html code
<div id="vhssHTML-character"></div>
When I reload the page scene works fine.
Do you have any ideas how to resolve this problem?
Customer support service by UserEcho