Skip to content

Instantly share code, notes, and snippets.

@briancicutti
Last active August 29, 2015 14:05
Show Gist options
  • Save briancicutti/b0161143da51b1cbb183 to your computer and use it in GitHub Desktop.
Save briancicutti/b0161143da51b1cbb183 to your computer and use it in GitHub Desktop.
Playing with Unix Voices
FileUtils.cd('/System/Library/Speech/Voices/') do
@voices = Dir.glob("*.SpeechVoice")
end
@voices.map{|v| v.scan(/[A-Z][a-z]+/) }
@voices.reject{|v| v.include? "Compact"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment