Post

Replies

Boosts

Views

Activity

SSML sub tag in AVSpeechUtterance
I'm comparing <sub> tags in SSML with iOS16 beta. AVSpeechSynthesizer adds short pause before and after tag, where Google TTS does not. https://cloud.google.com/text-to-speech/docs/ssml Also it pronunces "." as "period". let uttreance = AVSpeechUtterance(ssmlRepresentation: "<speak> I can also substitute phrases, like the <sub alias=\"World Wide Web Consortium\">W3C</sub>. </speak>") The same happens with <phoneme> tags. I think it shouldn't have extra pauses.
1
1
1.4k
Aug ’22
SSML sub tag in AVSpeechUtterance
I'm comparing <sub> tags in SSML with iOS16 beta. AVSpeechSynthesizer adds short pause before and after tag, where Google TTS does not. https://cloud.google.com/text-to-speech/docs/ssml Also it pronunces "." as "period". let uttreance = AVSpeechUtterance(ssmlRepresentation: "<speak> I can also substitute phrases, like the <sub alias=\"World Wide Web Consortium\">W3C</sub>. </speak>") The same happens with <phoneme> tags. I think it shouldn't have extra pauses.
Replies
1
Boosts
1
Views
1.4k
Activity
Aug ’22
AVSpeechUtterance freezes with <emphasis> SSML tag
let debugString = "<speak><emphasis level=\"reduced\">Hello</emphasis></speak>" let utterance = AVSpeechUtterance(ssmlRepresentation: debugString)! // <--- Freezes I encountered this bug in iOS 18 beta I sent a feedback through Feedback app.
Replies
0
Boosts
2
Views
548
Activity
Aug ’24