It is possible to get Macintalk to produce a phonetic string for you. The HyperTalk function PhonemesΓÇá takes as an argument an English string and returns the phonetic equivalent (according to Macintalk). The following box contains an example. Please click on:
The phonetic equivalent of ΓÇ£Howdy, pardner!ΓÇ¥ appears in the Message box. The first phonetic string on the previous card was produced with this function, and the Speech Lab uses it to produce phonetic strings when you press the ΓÇÿTranslateΓÇÖ button. You can use this function to get phonetic equivalents of English sentences which you can then correct for more accurate pronunciation, as in the Speech Lab.
Another use is in a case where the majority of the speech you are producing is written phonetically (recommended), but some portions cannot be known in advance (a userΓÇÖs name, for instance). You can use ΓÇÿPhonemesΓÇÖ to get the phonemes of that portion and concatenate it with your pre-written phonemes.
-- part contents for card part 1
----- text -----
put Phonemes("Howdy, pardner!") into the Message box