Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I want to convert japanese text to speech using microsoft speech sdk 5.1. I have found there 5 kinds of voices including simplified chinese. Chinese text to speech works fine.

C#
foreach (ISpeechObjectToken Token in speech.GetVoices(string.Empty, string.Empty))
            {
                string str = Token.GetDescription(49).ToString();
                if (str.Equals("Microsoft Simplified Chinese"))
                {
                    speech.Voice = speech.GetVoices(string.Empty, string.Empty).Item(3);//Item(cmbVoices.SelectedIndex);
                }
                // Populate the ComboBox Entries ..
                cmbVoices.Items.Add(Token.GetDescription(49));
            }


In the documentation of Microsoft speech sdk I have found that the sdk supports Japanese text.

How can I convert Japanese text to speech?
Posted
Updated 7-Feb-11 23:43pm
v2
Comments
jswolf19 8-Feb-11 6:34am    
According to <a href="http://www.nextup.com/sapi5doc/WhitePapers/WP_Setup_Whitepaper_51.htm">this</a>, Japanese is only supported for speech recognition, not text to speech...
Slacker007 24-Mar-11 6:21am    
You probably might want to put this comment as a solution and expound on it a bit.
jswolf19 24-Mar-11 9:17am    
There's nothing really to expound on, as far as I know... It's just not supported in that library.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900