Personalizzare i movimenti dell'avatar di sintesi vocale con SSML
Il Linguaggio markup di sintesi vocale (SSML) con testo di input determina la struttura, il contenuto e altre caratteristiche dell'output vocale. La maggior parte dei tag SSML può funzionare anche con l’avatar di sintesi vocale. Inoltre, la modalità batch dell’avatar di sintesi vocale offre la funzionalità di inserimento di movimenti dell’avatar tramite l'elemento segnalibro SSML con il formato <bookmark mark='gesture.*'/>
.
Un movimento inizia in corrispondenza del punto di inserimento nel tempo. Se il movimento richiede più tempo rispetto all'audio, verrà tagliato al termine dell’audio.
Esempio di segnalibro
Il seguente esempio illustra come inserire un movimento nella sintesi batch dell'avatar di sintesi vocale con SSML.
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
<voice name="en-US-AvaMultilingualNeural">
Hello <bookmark mark='gesture.wave-left-1'/>, my name is Ava, nice to meet you!
</voice>
</speak>
In questo esempio, l'avatar inizierà a salutare con la mano a sinistra dopo la parola "Hello".
Caratteri, stili e movimenti supportati dell'avatar predefinito
L'elenco completo dei movimenti supportati dell'avatar predefinito fornito qui è disponibile anche nel portale dell’avatar di sintesi vocale.
Caratteri | Stili | Gesti |
---|---|---|
Harry | business | 123 calm-down come-on five-star-reviews buono hello introduce invite thanks benvenuti |
Harry | informale | 123 come-on five-star-reviews gong-xi-fa-cai buono happy-new-year hello di espandere benvenuti |
Harry | youthful | 123 come-on sistema five-star buono hello invite show-right-up-down benvenuti |
Jeff | business | 123 come-on five-star-reviews hands-up qui meddle please2 show silence thanks |
Jeff | formal | 123 come-on five-star-reviews lift di espandere silence thanks very-good |
Lisa | casual-sitting | numeric1-left-1 numeric2-left-1 numeric3-left-1 thumbsup-left-1 show-front-1 show-front-2 show-front-3 show-front-4 show-front-5 think-twice-1 show-front-6 show-front-7 show-front-8 show-front-9 |
Lisa | graceful-sitting | wave-left-1 wave-left-2 thumbsup-left show-left-1 show-left-2 show-left-3 show-left-4 show-left-5 show-right-1 show-right-2 show-right-3 show-right-4 show-right-5 |
Lisa | graceful-standing | |
Lisa | seduta tecnica | wave-left-1 wave-left-2 show-left-1 show-left-2 point-left-1 point-left-2 point-left-3 point-left-4 point-left-5 point-left-6 show-right-1 show-right-2 show-right-3 point-right-1 point-right-2 point-right-3 point-right-4 point-right-5 point-right-6 |
Lisa | technical-standing | |
Lori | informale | 123-left a-little beg calm-down come-on five-star-reviews buono hello apre di espandere thanks |
Lori | graceful | 123-left applaud come-on introduce nod di espandere show-left show-right thanks benvenuti |
Lori | formal | 123 come-on come-on-left sistema five-star buono hands-triangle hands-up hi speranzoso thanks |
Max | business | a-little-bit click-the-link display-number encourage-1 encourage-2 five-star-praise front-right good-01 good-02 introduction-to-products-1 introduction-to-products-2 introduction-to-products-3 left lower-left number-one press-both-hands-down-1 press-both-hands-down-2 push-forward raise-ones-hand right say-hi shrug-ones-shoulders slide-from-left-to-right slide-to-the-left thanks the-front top-middle-and-bottom-left top-middle-and-bottom-right upper-left upper-right benvenuti |
Max | informale | a-little-bit applaud click-the-link display-number encourage-1 encourage-2 five-star-praise front-left good-1 good-2 hello introduction-to-products-1 introduction-to-products-2 introduction-to-products-3 introduction-to-products-4 left length nodding number-one press-both-hands-down raise-ones-hand right right-front shrug-ones-shoulders slide-from-left-to-right slide-to-the-left thanks the-front upper-left upper-right benvenuti |
Max | formal | a-little-bit click-the-link display-number encourage-1 encourage-2 five-star-praise front-left front-right good-1 good-2 introduction-to-products-1 introduction-to-products-2 introduction-to-products-3 left lower-left lower-right press-both-hands-down push-forward right say-hi shrug-ones-shoulders slide-from-left-to-right slide-to-the-left the-front top-middle-and-bottom-right upper-left upper-right |
Meg | formal | a-little-bit click-the-link display-number encourage-1 encourage-2 five-star-praise front-left front-right good-1 good-2 hands-forward introduction-to-products-1 introduction-to-products-2 introduction-to-products-3 left number-one press-both-hands-down-1 press-both-hands-down-2 right say-hi shrug-ones-shoulders slide-from-left-to-right the-front upper-left upper-right |
Meg | informale | a-little-bit click-the-link cross-hand display-number encourage-1 encourage-2 five-star-praise front-left front-right good-1 good-2 handclap introduction-to-products-1 introduction-to-products-2 introduction-to-products-3 left length lower-left lower-right number-one press-both-hands-down right say-hi shrug-ones-shoulders slide-from-right-to-left slide-to-the-left spread-hands the-front top-middle-and-bottom-left top-middle-and-bottom-right upper-left upper-right |
Meg | business | a-little-bit encourage-1 encourage-2 five-star-praise front-left front-right good-1 good-2 introduction-to-products-1 introduction-to-products-2 introduction-to-products-3 left length number-one press-both-hands-down-1 press-both-hands-down-2 raise-ones-hand right say-hi shrug-ones-shoulders slide-from-left-to-right slide-to-the-left spread-hands thanks the-front upper-left |
Tutti gli stili tranne lisa-graceful-sitting
, lisa-graceful-standing
, lisa-technical-sitting
e lisa-technical-standing
sono supportati tramite l'API sintesi vocale in tempo reale. I movimenti sono supportati solo con l'API di sintesi batch e non tramite l'API in tempo reale.