Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
s-swathib authored Dec 6, 2023
1 parent 43a56eb commit 8d4f8e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ window.startSession = () => {
speechSynthesisConfig.speechSynthesisVoiceName = ttsVoice


const avatarConfig = new SpeechSDK.AvatarConfig(TalkingAvatarCharacter, TalkingAvatarStyle)
const avatarConfig = SpeechSDK.AvatarConfig(TalkingAvatarCharacter, TalkingAvatarStyle)
//avatarConfig.customized = document.getElementById('customizedAvatar').checked
avatarSynthesizer = new SpeechSDK.AvatarSynthesizer(speechSynthesisConfig, avatarConfig)
avatarSynthesizer = SpeechSDK.AvatarSynthesizer(speechSynthesisConfig, avatarConfig)
avatarSynthesizer.avatarEventReceived = function (s, e) {
var offsetMessage = ", offset from session start: " + e.offset / 10000 + "ms."
if (e.offset === 0) {
Expand Down

0 comments on commit 8d4f8e2

Please sign in to comment.