title: Getting list of Mac text-to-speech voices programmatically?
body: <p>The mac command <strong><code>say</code></strong> can specify the voice used with the <strong>-v</strong> flag.</p>
  
  <pre><code>say -v Alex "compile completed, put your swords down."
  </code></pre>
  
  <p>The available voices can be seen in System Preferences/Speech/Text to Speech.  How can I get this list programmatically?</p>