Single book mark event is not return the event response.
Linfeng Deng
10
Reputation points
I try to add a book mark event like this:
speechSynthesizer.BookmarkReached.addEventListener((o, e) -> {
sceneEndOffsets.add(e.getAudioOffset());
sceneIds.add(Long.valueOf(e.getText()));
logger.info("[{}] Synthesis Book mark reached event at sceneId: {} at: {}", projectId, e.getText(), e.getAudioOffset());});
And the ssml Str is:
the ssml strs length is:1 send to azure ssml is:[
<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US">
<voice name="en-US-MichelleNeural">
<mstts:express-as style='general'>Once upon a time, there were three little pigs, each with a unique idea for a home.
<break time='300ms'/>
<bookmark mark='1146046135043973121'/>
</mstts:express-as>
</voice>
</speak>
]
But this event log is not always print out.
The book mark event not response is a surge in these two days. It cause many error in my system.
For now, just find the single book mark event have the no response issue. If I send many bookmarks in a long ssml str, The probability of this error going down a lot.
Thank you so much for your response.
Sign in to answer