title: how do I install OS X TTS voices from Objective-C
body: <p>OS X Lion comes with some fantastic voices from Nuance. I would like to use them from my software, however, currently they require the user to manually go to System Preferences, Dictation and Speech, System Voice -> Customize, then download the voices from Apple. I would like to call something from Objective-C so that that voices that are missing (say Chinese voices) are automatically downloaded in the background. How can this be done?</p>
  
  <p>Incidentally, the available voices on the system can be found using </p>
  
  <pre><code>[NSSpeechSynthesizer availableVoices]
  </code></pre>
  
  <p>but all the possible voices (so far) can only be found in the Dictation and Speech dialog. Here is how it is done manually:</p>
  
  <p><img src="https://i.stack.imgur.com/FxChF.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/opkr6.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/o1th3.png" alt="enter image description here"></p>