Allows override of default OSX say command.
Use picoh.setVoice() to set the voice:
For Example:
picoh.setVoice("Oliver")
picoh.say("Hello this is Oliver")
picoh.setVoice("Kate")
picoh.say("Hello this is Kate")
Available voices can be found in System Preferences -> Accessibility -> Speech in the System Voice Menu. Click customize to view voices in other languages.
A full list of voices can also be displayed by entering the following command in Terminal:
say -v ?
Use picoh.speechSpeed() to set speech rate in words per minute:
Range: (int) 90+
For Example:
picoh.setVoice("Oliver")
picoh.setSpeechSpeed(90)
picoh.say("Hello this is Oliver Slow")
picoh.setSpeechSpeed(400)
picoh.say("Hello this is Oliver Fast")