Aug 042011
 

Apple has long had text-to-speech built into Mac OS X. With OS 10.7, they’ve added voices for Chinese. The voices aren’t pre-installed on US systems, at least, but they are free downloads.

  1. Go to System Preferences>Speech.
  2. Pull down the “System Voice” menu and choose “Customize.” (Note that in the image below, I have already installed two Chinese voices; go to “Customize” at the bottom to install voices).
  3. Select the voice(s) you wish (China, Taiwan, and Hong Kong are available for Chinese).
  4. Click the checkbox to “Speak selected text when the key is pressed.” (You can customize the keyboard shortcut for this if you wish.)
  5. Optionally, adjust the speed of the voice.

Mac OS 10.7 Speech  Preference Pane

Choosing a voice in the Speech Preference Pane

A cool thing to do with this is to make audio files of texts (e.g., readings or dialogues from a textbook). The text-to-speech isn’t completely natural, of course, and nowadays most textbooks include audio in some format, but if you don’t have any other way to get audio files of specific texts, it’s better than nothing.

Here are some clips of the voices reading the first paragraph of the first text in the textbook Chinese Language and Culture (a transcript follows).

First up, “Ting-Ting” (China):

Next, “Ya-Ling” (Taiwan):

学中文难不难?难,也不难。为什么这样说呢?因为学任何一种语言都难,都要学听、说、读、写,都要学发音、学语法,都要记单词。

學中文難不難?難,也不難。為甚麼這樣說呢?因為學任何一種語言都難,都要學聽、說、讀、寫,都要學發音、學語法,都要記單詞。

Xué Zhōngwén nán bu nán? Nán, yě bù nán. Wèishénme zhèyàng shuō ne? Yīnwèi xué rènhé yī zhǒng yǔyán dōu nán, dōu yào xué tīng, shuō, dú, xiě, dōu yào xué fāyīn, xué yǔfǎ, dōu yào jì dāncí.

“Ting-Ting” sounds a bit abrupt or clipped to me, compared to “Ya-Ling,” which is a pity, since this is the dialect that I prefer, but slowing the speed a bit helped. Still, this is a very cool feature that will almost certainly get better over time.

Get Mac OS 10.7 Lion
OS X Lion - Apple®

  2 Responses to “Chinese text-to-speech in Mac OS 10.7 Lion”

  1. [...] text-to-speech was introduced in Mac OS 10.7 just about a year ago (see this post, where I predicted that this feature would get better). Now in 10.8, the two Mandarin voices Ting-Ting (China) and Ya-Ling (Taiwan) have been improved [...]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>