customizing pronunciation with the new voices (speech synthesis / say command))
Hi,
I’m trying to use embedded commands with the “say" command to customize the pronunciation of some words (I’m using made-up words so the speech synthesizer does not place the lexical stress where I want it to). I followed the documentation found there: https://developer.apple.com/library/mac/documentation/userexperience/conceptual/ SpeechSynthesisProgrammingGuide/FineTuning/FineTuning.html . So for instance:
say -v Tom “[[inpt PHON]] gr1AESOWIHN [[inpt TEXT]]”
should produce “grashoing” with stress on the first syllable.
My problem is that it only works with Alex and the original MacinTalk voices, but not with the new voices introduced in Lion (such as Tom and Samantha): they seem to support embedded speech commands (the parts between [[ and ]]), but they pronounce the phonemic representation as a list of letters and numbers (so “jee ar one a ee …”).
Do you know how I can get around this? How do I provide phoneme input with the new voices?
MacBook Air (13-inch Mid 2013), OS X Mavericks (10.9)