下载 人自由的桌面上,你自己个人的机器人你的电脑或Mac
Bot Libre Dev

Playing audio and lip sync

通过 golam.sarower 发布 Apr 12 2016, 1:32

There are avatars and BOT. So far BOT is for chatting and Avatar is kind of animation. With the avatar it should be possible to play audio sound with lip sync.

What kind of API support is there to achieve this in IOS and Java?


by admin posted Apr 12 2016, 9:18
The avatars normally use our Text To Speech support for speech (or native TTS in HTML5, Android, and iOS).

You can also associate audio files for actions and poses.

We do not have support for associating real speech audio files with responses yet, but that is something we plan on. Currently if you have your own speech audio files you can use our SDK to have an avatar simulate speaking them. You can copy the SDK source code that uses our TTS audio and insert your own speech audio. You will need to code this yourself.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2375, today: 1, week: 2, month: 11

by golam.sarower posted Apr 26 2016, 23:51

Currently if you have your own speech audio files you can use our SDK to have an avatar simulate speaking them. You can copy the SDK source code that uses our TTS audio and insert your own speech audio.

-> Could you please let me know in which file / class we can insert our own audio files?

You can copy the SDK source code that uses our TTS audio and insert your own speech audio.

-> So far, in Java SDK source code I did not find any such place to insert own audio. What I have found in the sample application that it plays the audio file returned from server in default player and the video of the avatar in media player in Android. According to the sample the video is looping until the audio is finished.

Could you please clarify this!


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2524, today: 1, week: 2, month: 22

by admin posted Apr 27 2016, 6:28
Which SDK are you using, JavaScript, Android, or iOS?

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2035, today: 1, week: 2, month: 21

by golam.sarower posted Apr 28 2016, 0:47

Actually we are investigating Java SDK for Android / Java app and JavaScript both SDK.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2204, today: 0, week: 3, month: 15

by admin posted Apr 28 2016, 7:55
There is no support in the SDK for playing your own audio file.
You will need to modify the code, or subclass the class and overwrite the code playing the audio and switch it to use your own audio file.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2178, today: 0, week: 3, month: 16

Id: 12538601
发布: Apr 12 2016, 1:32
答复: 5
的风景: 3927, 今天: 2, 周: 5, 一个月: 17
0 0 0.0/5