%3CLINGO-SUB%20id%3D%22lingo-sub-1348941%22%20slang%3D%22en-US%22%3EFinetune%20neural%20text-to-speech%20output%20with%20advanced%20customization%20features%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348941%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EThis%20post%20was%20co-authored%20by%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F175688%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Qinying%20Liao%3C%2FA%3E%2C%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EYueying%20Liu%2C%20Sheng%20Zhao%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F23979%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3E%40Anny%20Dow%3C%2FA%3E%26nbsp%3B%2C%20Bohan%20Li%20and%20Jun-wei%20Gan%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fcognitive-services%2Ftext-to-speech%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ENeural%20Text%20to%20Speech%3C%2FA%3E%3CSPAN%3E%20(TTS)%3C%2FSPAN%3E%26nbsp%3Bconverts%20text%20to%20lifelike%20speech%20for%20more%20natural%20interfaces.%20With%20natural-sounding%20speech%20that%20matches%20the%20stress%20patterns%20and%20intonation%20of%20human%20voices%2C%20neural%20TTS%20significantly%20reduces%20listening%20fatigue%20when%20users%20are%20interacting%20with%20AI%20systems.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECommon%20use%20cases%20for%20neural%20TTS%20include%2C%20but%20are%20not%20limited%20to%2C%20voice%20assistants%2C%20connected%20cars%2C%20smart-home%20devices%2C%20and%20various%20e-learning%20systems%20as%20well%20as%20reading%20apps.%20While%20neural%20TTS%20provides%20you%20a%20set%20of%20voices%20that%20already%20sound%20natural%20and%20human-like%2C%20you%20may%20still%20want%20to%20modify%20the%20speech%20properties%20to%20make%20voices%20better%20fit%20your%20scenario%20and%20context.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20wide%20range%20of%20fine-tuning%20features%20are%20available%20through%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fcognitive-services%2Fspeech-service%2Fspeech-synthesis-markup%3Ftabs%3Dcsharp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESpeech%20Synthesis%20Markup%20Language%20(SSML)%3C%2FA%3E%20and%20a%20code-free%20%3CA%20href%3D%22https%3A%2F%2Fspeech.microsoft.com%2Faudiocontentcreation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAudio%20Content%20Creation%3C%2FA%3E%20tool%20for%20you%20to%20adapt%20TTS%20output%2C%20such%20as%20adding%20or%20removing%20a%20pause%2Fbreak%2C%20changing%20the%20pronunciation%2C%20adjusting%20the%20speaking%20rate%2C%20volume%2C%20pitch%20and%20more.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20article%2C%20we%E2%80%99ll%20deep%20dive%20into%20the%20latest%20advanced%20features%20that%20can%20help%20you%20adapt%20the%20intonation%20and%20stress%20patterns%20of%20neural%20TTS%20output%20as%20well%20as%20define%20custom%20lexicon%20for%20your%20applications.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1355237164%22%20id%3D%22toc-hId--1355237164%22%3EControl%20the%20prosody%20of%20your%20neural%20TTS%20output%3C%2FH2%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fcognitive-services%2Fspeech-service%2Fspeech-synthesis-markup%3Ftabs%3Dcsharp%23adjust-prosody%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EProsody%3C%2FA%3E%2C%20as%20one%20of%20the%20SSML%20elements%2C%20can%20be%20used%20to%20specify%20changes%20to%20pitch%2C%20contour%2C%20range%2C%20rate%2C%20duration%2C%20and%20volume%20for%20the%20TTS%20output%2C%20making%20your%20audio%20result%20easier%20to%20follow.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20glad%20to%20share%20that%20the%20adjustments%20around%20contour%2C%20breaks%2Fpauses%20and%20speaking%20rates%20of%20neural%20TTS%20are%20smoothly%20supported%20today.%20Now%20you%20can%20easily%20tailor%20the%20prosody%20of%20your%20TTS%20output%20using%20SSML%20or%20the%20Audio%20Content%20Creation%20tool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--664675690%22%20id%3D%22toc-hId--664675690%22%3EPitch%20contour%3C%2FH3%3E%0A%3CP%3EPitch%20contour%20represents%20changes%20in%20pitch%20at%20specified%20times%20in%20speech%20output.%20tuning%20the%20pitch%20contour%2C%20you%20can%20make%20the%20intonation%20of%20your%20synthesized%20output%20sound%20different.%20For%20example%2C%20you%20can%20use%20it%20to%20emphasize%20different%20parts%20of%20your%20sentence%20or%20change%20the%20tone%20to%20make%20it%20sound%20more%20natural.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-justify%22%3EHere%20are%20some%20examples%20of%20adjusting%20pitch%20contour%20with%20SSML.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20class%3D%22%20lia-align-left%22%20style%3D%22width%3A%20750px%3B%22%20width%3D%22750%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22365.455px%22%3E%3CP%20class%3D%22lia-align-justify%22%3EOriginal%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22383.636px%22%3E%3CP%3ETuned%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22365.455px%22%3E%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%3CFONT%20size%3D%222%22%3EI%20never%20said%20he%20stole%20your%20money%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CAUDIO%20style%3D%22background-image%3A%20url('img%2Fobject.gif')%3B%22%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22%20http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2Fpitch1.wav%20%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FTD%3E%0A%3CTD%20width%3D%22383.636px%22%3E%3CP%3E%3CSTRONG%3E%3CFONT%20size%3D%222%22%3E%3CPROSODY%20contour%3D%22%26quot%3B(11%25%2C%22%3E%3C%2FPROSODY%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EI%20never%20said%20he%20stole%20your%20money.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20size%3D%222%22%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CAUDIO%20style%3D%22background-image%3A%20url('img%2Fobject.gif')%3B%22%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22%20http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2Fpitch1after.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22365.455px%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EThat's%20how%20you%20pronounce%20it%20%3F%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22%20http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2Fpitch2.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22383.636px%22%3E%3CP%3E%3CSTRONG%3E%3CFONT%20size%3D%222%22%3E%3CPROSODY%20contour%3D%22%26quot%3B(60%25%2C%22%20-11%3D%22%22%3E%3C%2FPROSODY%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EThat's%20how%20you%20pronounce%20it%20%3F%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%3CFONT%20size%3D%222%22%3E%3C%2FFONT%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2Fpitch2after.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1822837143%22%20id%3D%22toc-hId-1822837143%22%3EBreaks%2Fpauses%3C%2FH3%3E%0A%3CP%3EYou%20can%20insert%20pauses%20(or%20breaks)%20between%20words%20or%20adjust%20pauses%20automatically%20added%20by%20the%20neural%20voices%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20style%3D%22width%3A%20750px%3B%22%20width%3D%22750%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22363.636px%22%3E%3CP%3EOriginal%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22385.455px%22%3E%3CP%3ETuned%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22363.636px%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3ENow%2050%20years%20after%20the%20event%2C%20he%20may%20finally%20have%20an%20answer.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2FAria_break.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorMelinda%20Ma_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22385.455px%22%3E%3CP%3E%3CFONT%20size%3D%222%22%3ENow%20%3CSTRONG%3E%3CBREAK%20time%3D%22%26quot%3B100ms%26quot%3B%22%3E%3C%2FBREAK%3E%3C%2FSTRONG%3E50%20years%20after%20the%20event%2C%20he%20may%20finally%20have%20an%20answer.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2FAria_break_after.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorMelinda%20Ma_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22363.636px%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%20color%3D%22%23000000%22%3E%E9%80%9A%E8%BF%87%E8%AF%AD%E9%9F%B3%E5%90%88%E6%88%90%E6%8A%80%E6%9C%AF%EF%BC%8C%E6%88%91%E4%BB%AC%E5%8F%AF%E4%BB%A5%E5%88%9B%E9%80%A0%E5%87%BA%E4%B8%8D%E5%90%8C%E9%A3%8E%E6%A0%BC%E7%9A%84%E6%99%BA%E8%83%BD%E8%AF%AD%E9%9F%B3%E3%80%82%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2FBreak-before.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorMelinda%20Ma_6%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22385.455px%22%3E%3CP%3E%3CFONT%20size%3D%222%22%20color%3D%22%23000000%22%3E%E9%80%9A%E8%BF%87%E8%AF%AD%E9%9F%B3%E5%90%88%E6%88%90%E6%8A%80%E6%9C%AF%EF%BC%8C%E6%88%91%E4%BB%AC%E5%8F%AF%E4%BB%A5%3CSTRONG%3E%3CTTSBREAK%20strength%3D%22%26quot%3Bnone%26quot%3B%22%3E%3C%2FTTSBREAK%3E%3C%2FSTRONG%3E%E5%88%9B%E9%80%A0%E5%87%BA%E4%B8%8D%E5%90%8C%E9%A3%8E%E6%A0%BC%E7%9A%84%E6%99%BA%E8%83%BD%E8%AF%AD%E9%9F%B3%E3%80%82%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2FBreak-after.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorMelinda%20Ma_7%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH3%20id%3D%22toc-hId-15382680%22%20id%3D%22toc-hId-15382680%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--1792071783%22%20id%3D%22toc-hId--1792071783%22%3EAdjust%20rate%3C%2FH3%3E%0A%3CP%3ERate%20indicates%20the%20speed%20at%20which%20text%20is%20read%20aloud.%20You%20can%20adjust%20the%20speed%20of%20a%20whole%20sentence%20or%20a%20part%20of%20a%20sentence%20read%20by%20neural%20voices.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20style%3D%22width%3A%20750px%3B%22%20width%3D%22750%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22361.818px%22%3E%3CP%3EOriginal%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22387.273px%22%3E%3CP%3ETune%20in%20SSML%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22361.818px%22%3E%3CP%3E%3CFONT%20size%3D%222%22%3ESometimes%20somebody%20will%20bring%20something%20that%20you%26nbsp%3Breally%26nbsp%3Blike.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2Frate-before.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22387.273px%22%3E%3CP%3E%3CFONT%20size%3D%222%22%3ESometimes%20somebody%20will%20bring%20something%20that%20you%20%3CSTRONG%3E%3CPROSODY%20rate%3D%22%26quot%3B-51.00%25%26quot%3B%22%3E%3C%2FPROSODY%3E%3C%2FSTRONG%3Ereally%20%3CSTRONG%3E%3C%2FSTRONG%3Elike.%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2Frate-after.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CH3%20id%3D%22toc-hId-695441050%22%20id%3D%22toc-hId-695441050%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1112013413%22%20id%3D%22toc-hId--1112013413%22%3EAdjust%20neural%20voice%20prosodies%20through%20the%20audio%20content%20creation%20tool%3C%2FH3%3E%0A%3CP%3EBesides%20SSML%2C%20we%20also%20offer%20an%20easy-to-use%20%3CA%20href%3D%22https%3A%2F%2Fspeech.microsoft.com%2Faudiocontentcreation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAudio%20Content%20Creation%3C%2FA%3E%20tool%20to%20help%20you%20fine-tune%20TTS%20output.%20Paste%20or%20upload%20your%20text%20in%20the%20audio%20content%20creation%20tool%2C%20specify%20the%20voice%20you%20want%20to%20use%2C%20and%20then%20adjust%20the%20voice%20parameters%20in%20the%20tuning%20panel.%20You%20can%20switch%20your%20view%20to%20check%20the%20SSML%20format%20generated%20along%20with%20your%20adjustments%20and%20use%20the%20SSML%20in%20your%20code%2C%20or%20generate%20audio%20directly%20from%20the%20tool%20for%20your%20further%20use.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESee%20below%20for%20a%20demo%20showing%20how%20prosody%20is%20adjusted%20using%20the%20code-free%20tool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FmUvf2NbfuYU%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DmUvf2NbfuYU%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FmUvf2NbfuYU%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22600%22%20height%3D%22338%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1122516517%22%20id%3D%22toc-hId--1122516517%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-1364996316%22%20id%3D%22toc-hId-1364996316%22%3EDefine%20lexicon%20for%20your%20neural%20TTS%20output%3C%2FH2%3E%0A%3CP%3ESometimes%20TTS%20does%20not%20pronounce%20words%20accurately%20in%20the%20way%20you%20want%2C%20such%20as%26nbsp%3Ba%20company%20or%20person%E2%80%99s%20name.%20To%20improve%20pronunciation%2C%20you%20can%20define%20the%20reading%20of%26nbsp%3Bthese%26nbsp%3Bentities%26nbsp%3Bin%20SSML%26nbsp%3Busing%26nbsp%3Bthe%20%26lt%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fspeech-service%2Fspeech-synthesis-markup%3Ftabs%3Dcsharp%23use-phonemes-to-improve-pronunciation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ephoneme%3C%2FA%3E%26gt%3B%26nbsp%3Band%26nbsp%3B%3CSUB%3E%20tags.%20However%2C%20defining%20multiple%20entities%20one%20by%20one%20during%20speech%20synthesis%20can%20be%20time-consuming.%20The%20new%20custom%20lexicon%20capability%20makes%20this%20process%20easier.%3C%2FSUB%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fcognitive-services%2Fspeech-service%2Fspeech-synthesis-markup%3Ftabs%3Dcsharp%23use-custom-lexicon-to-improve-pronunciation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecustom%20lexicon%3C%2FA%3E%2C%20simply%20specify%20the%20reading%20of%20entities%20in%20a%20list%20stored%20as%20an%20.xml%20or%20.pls%20file%2C%20provide%20a%20web%20link%20for%20your%20list%20and%20refer%20to%20this%20list%20in%20SSML.%20The%20right%20pronunciation%20will%20be%20applied%20to%20all%20specified%20custom%20words%20%26nbsp%3Bat%20once.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20a%20sample%3A%3C%2FP%3E%0A%3CP%3EFor%20your%20scenario%2C%20you%20may%20want%20to%20adjust%20the%20pronunciations%20of%20%E2%80%9CBTW%2C%E2%80%9D%20%E2%80%9CAlki%20Beach%E2%80%9D%20and%20%E2%80%9CJean%E2%80%9D%20from%20the%20default%20TTS.%20Hear%20the%20differences%20in%20the%20samples%20below%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%20style%3D%22width%3A%201000px%3B%22%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22348.182px%22%3E%3CP%3EScript%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22190.909px%22%3E%3CP%3EDefault%20reading%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210px%22%3E%3CP%3EApplied%20custom%20lexicon%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22348.182px%22%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CSPAN%3E%3CSTRONG%3E%3CEM%3EBTW%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%3CEM%3E%2C%20we%20will%20arrive%20%3CSTRONG%3EAlki%20Beach%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%20%3CEM%3Eprobably%208%3A00%20tomorrow%20morning.%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3E%3CSPAN%3E%3CEM%3ECould%20you%20help%20leave%20a%20message%20to%26nbsp%3B%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CEM%3EJean%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%3CEM%3E%20Pierre%20%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%3CEM%3Efor%20me%3F%3C%2FEM%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22190.909px%22%3E%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2FBeforeCustomLexicon.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22210px%22%3E%3CP%3E%3CAUDIO%20controls%3D%22controls%22%3E%0A%3CSOURCE%20src%3D%22http%3A%2F%2Ftts.blob.core.windows.net%2Fblog%2F2020Aprilblog%2FWithCustomLexicon.wav%22%3E%3C%2FSOURCE%3E%3C%2FAUDIO%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20how%20the%20custom%20lexicon%20list%20is%20defined%20for%20the%20above%20sample%3A%3CSPAN%3E%3CEM%3E%26nbsp%3B%3C%2FEM%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-html%22%3E%3CCODE%3E%3CLEXEME%3E%20%0A%20%20%20%20%3CGRAPHEME%3EBTW%3C%2FGRAPHEME%3E%20%20%0A%20%20%20%20%3CALIAS%3EBy%20the%20way%3C%2FALIAS%3E%20%20%0A%3C%2FLEXEME%3E%20%0A%3CLEXEME%3E%20%0A%20%20%20%20%3CGRAPHEME%3E%20Alki%20%3C%2FGRAPHEME%3E%20%20%0A%20%20%20%20%3CPHONEME%3E%20%C3%A6l.ka%C9%AA%CB%88%3C%2FPHONEME%3E%20%0A%3C%2FLEXEME%3E%20%0A%3CLEXEME%3E%20%0A%20%20%20%20%3CGRAPHEME%3E%20Jean%20%3C%2FGRAPHEME%3E%20%20%0A%20%20%20%20%3CPHONEME%20alphabet%3D%22ipa%22%20ph%3D%22%CA%92%C9%91%CB%88n%22%3EJean%20%3C%2FPHONEME%3E%0A%3C%2FLEXEME%3E%20%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20upload%20the%20list%20online%20and%20put%20it%20in%20a%20data%20store%20like%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fstorage%2Fblobs%2Fstorage-quickstart-blobs-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Blob%20Storage%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EDuring%20speech%20synthesis%2C%20use%20below%20SSML%20to%20refer%20to%20the%20list%20and%20apply%20custom%20lexicon%20to%20the%20input%20text.%20Speech%20synthesis%20will%20then%20reflect%20your%20defined%20pronunciations%20in%20the%20output%20all%20at%20once.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-html%22%3E%3CCODE%3E%3CLEXICON%20uri%3D%22http%3A%2F%2Fwww.example.com%2Fcustomlexicon.xml%22%3E%3C%2FLEXICON%3E%20%0ABTW%2C%20we%20will%20arrive%20Alki%20beach%20probably%208%3A00%20tomorrow%20morning.%20%0ACould%20you%20help%20leave%20a%20message%20to%20Jean%20Pierre%20%20for%20me%3F%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20more%20information%20about%20custom%20lexicon%2C%20please%20see%20our%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fspeech-service%2Fspeech-synthesis-markup%3Ftabs%3Dcsharp%23use-custom-lexicon-to-improve-pronunciation%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--442458147%22%20id%3D%22toc-hId--442458147%22%3EGet%20started%3C%2FH2%3E%0A%3CP%3ESince%20the%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fblog%2Fmicrosoft-s-new-neural-text-to-speech-service-helps-machines-speak-like-people%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erelease%20of%20our%20Neural%20TTS%3C%2FA%3E%20less%20than%20two%20years%20ago%2C%20this%20field%20has%20advanced%20rapidly.%20New%20research%20models%20including%20%3CA%20href%3D%22https%3A%2F%2Farxiv.org%2Fabs%2F1809.08895%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETransformer%20TTS%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fresearch%2Fblog%2Ffastspeech-new-text-to-speech-model-improves-on-speed-accuracy-and-controllability%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFastSpeech%3C%2FA%3E%20have%20been%20proposed%20and%20improved%20the%20state%20of%20art.%20With%20these%20research%20innovations%2C%26nbsp%3Bwe%E2%80%99ve%20not%20only%20improved%20the%20controllability%20of%20the%20neural%20voice%20output%2C%20but%20also%20made%20the%20synthesized%20speech%20more%20robust%20and%20largely%20improved%20the%20performance%20of%20neural%20TTS.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGet%20started%20with%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fcognitive-services%2Ftext-to-speech%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EText%20to%20Speech%20on%20Azure%3C%2FA%3E%20today.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1348941%22%20slang%3D%22en-US%22%3E%3CP%3ELearn%20how%20you%20can%26nbsp%3Badapt%20the%20intonation%20and%20stress%20patterns%20of%20neural%20TTS%20output%20as%20well%20as%20define%20custom%20lexicon%20for%20your%20applications.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1348941%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECognitive%20Services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ENeural%20TTS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESpeech%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

This post was co-authored by @Qinying Liao, Yueying Liu, Sheng Zhao, @Anny Dow , Bohan Li and Jun-wei Gan

 

Neural Text to Speech (TTS) converts text to lifelike speech for more natural interfaces. With natural-sounding speech that matches the stress patterns and intonation of human voices, neural TTS significantly reduces listening fatigue when users are interacting with AI systems.

 

Common use cases for neural TTS include, but are not limited to, voice assistants, connected cars, smart-home devices, and various e-learning systems as well as reading apps. While neural TTS provides you a set of voices that already sound natural and human-like, you may still want to modify the speech properties to make voices better fit your scenario and context.

 

A wide range of fine-tuning features are available through Speech Synthesis Markup Language (SSML) and a code-free Audio Content Creation tool for you to adapt TTS output, such as adding or removing a pause/break, changing the pronunciation, adjusting the speaking rate, volume, pitch and more.

 

In this article, we’ll deep dive into the latest advanced features that can help you adapt the intonation and stress patterns of neural TTS output as well as define custom lexicon for your applications.

 

Control the prosody of your neural TTS output

Prosody, as one of the SSML elements, can be used to specify changes to pitch, contour, range, rate, duration, and volume for the TTS output, making your audio result easier to follow.

 

We are glad to share that the adjustments around contour, breaks/pauses and speaking rates of neural TTS are smoothly supported today. Now you can easily tailor the prosody of your TTS output using SSML or the Audio Content Creation tool.

 

Pitch contour

Pitch contour represents changes in pitch at specified times in speech output. tuning the pitch contour, you can make the intonation of your synthesized output sound different. For example, you can use it to emphasize different parts of your sentence or change the tone to make it sound more natural.

 

Here are some examples of adjusting pitch contour with SSML.

 

Original

Tuned

 

I never said he stole your money

 

<prosody contour="(11%, +65%) (60%, -43%) (80%, -34%)">

I never said he stole your money.

</prosody>

 

That's how you pronounce it ?

 

<prosody contour="(60%, -11%) (85%, +85%)">

That's how you pronounce it ?

</prosody>

 

Breaks/pauses

You can insert pauses (or breaks) between words or adjust pauses automatically added by the neural voices

 

Original

Tuned

 

Now 50 years after the event, he may finally have an answer.

 

 

Now <break time="100ms" />50 years after the event, he may finally have an answer.

 

 

 

通过语音合成技术,我们可以创造出不同风格的智能语音。

 

 

通过语音合成技术,我们可以<mstts:ttsbreak strength="none" />创造出不同风格的智能语音。

 

 

 

Adjust rate

Rate indicates the speed at which text is read aloud. You can adjust the speed of a whole sentence or a part of a sentence read by neural voices.

 

Original

Tune in SSML

Sometimes somebody will bring something that you really like.

Sometimes somebody will bring something that you <prosody rate="-51.00%">really </prosody>like.

 

 

Adjust neural voice prosodies through the audio content creation tool

Besides SSML, we also offer an easy-to-use Audio Content Creation tool to help you fine-tune TTS output. Paste or upload your text in the audio content creation tool, specify the voice you want to use, and then adjust the voice parameters in the tuning panel. You can switch your view to check the SSML format generated along with your adjustments and use the SSML in your code, or generate audio directly from the tool for your further use.

 

See below for a demo showing how prosody is adjusted using the code-free tool.

 

 

 

Define lexicon for your neural TTS output

Sometimes TTS does not pronounce words accurately in the way you want, such as a company or person’s name. To improve pronunciation, you can define the reading of these entities in SSML using the <phoneme> and <sub> tags. However, defining multiple entities one by one during speech synthesis can be time-consuming. The new custom lexicon capability makes this process easier.

 

With custom lexicon, simply specify the reading of entities in a list stored as an .xml or .pls file, provide a web link for your list and refer to this list in SSML. The right pronunciation will be applied to all specified custom words  at once.

 

Here is a sample:

For your scenario, you may want to adjust the pronunciations of “BTW,” “Alki Beach” and “Jean” from the default TTS. Hear the differences in the samples below

 

Script

Default reading

Applied custom lexicon

BTW, we will arrive Alki Beach probably 8:00 tomorrow morning. 

Could you help leave a message to Jean Pierre for me? 

 

This is how the custom lexicon list is defined for the above sample: 

 

 

 

 

<lexeme> 
    <grapheme>BTW</grapheme>  
    <alias>By the way</alias>  
</lexeme> 
<lexeme> 
    <grapheme> Alki </grapheme>  
    <phoneme> æl.kaɪˈ</phoneme> 
</lexeme> 
<lexeme> 
    <grapheme> Jean </grapheme>  
    <phoneme alphabet="ipa" ph="ʒɑˈn">Jean </phoneme>
</lexeme> 

 

 

 

 

You can upload the list online and put it in a data store like Azure Blob Storage.

During speech synthesis, use below SSML to refer to the list and apply custom lexicon to the input text. Speech synthesis will then reflect your defined pronunciations in the output all at once.

 

 

 

 

<lexicon uri="http://www.example.com/customlexicon.xml"/> 
BTW, we will arrive Alki beach probably 8:00 tomorrow morning. 
Could you help leave a message to Jean Pierre  for me? 

 

 

 

 

For more information about custom lexicon, please see our documentation.

 

Get started

Since the release of our Neural TTS less than two years ago, this field has advanced rapidly. New research models including Transformer TTS and FastSpeech have been proposed and improved the state of art. With these research innovations, we’ve not only improved the controllability of the neural voice output, but also made the synthesized speech more robust and largely improved the performance of neural TTS.

 

Get started with Text to Speech on Azure today.