Re: Speech impediment (Greg Spence)
Re: Speech impediment (Greg Spence)
- Subject: Re: Speech impediment (Greg Spence)
- From: Greg Spence <email@hidden>
- Date: Fri, 03 Aug 2001 09:35:03 -0500
--Just for fun, here's a way to randomize the available voices.
repeat
set vList to list folder (path to voices)
set spk to display dialog "What Would You Like Me To Say?" default
answer "" buttons {"Quit", "OK"} default button 2
if button returned of result is "Quit" then exit repeat
set txt to text returned of spk
set cownt to number of items in vList
set rndm to random number from 1 to cownt
set aVoice to item rndm of vList
say txt using aVoice
end repeat
--greg