Speed of Voice Recording? Possible?

I have this applescript which works.

I was wondering if there was anyway I could put in a choice of speed of the voice being spoken. Is this scriptable?

Thanks.

set anSwer to the text returned of (display dialog "What text do you want to record?" default answer "") as text
set the_names to {"Fred", "Bruce", "Alex", "Albert", "Ralph", "Junior", "Vicky", "Agnes", "Kathy", "Princess", "Victoria"}

repeat with this_name in the_names
	tell application "System Events"
		try
			say "Using " & this_name & "'s voice...,  " & anSwer using this_name
			display dialog "Do you want to save this as an Audio File?" buttons {"Yes", "No"} default button 1
			if the button returned of the result is "Yes" then
				set fileName to this_name & ".aiff"
				set video_path to ((path to desktop as text) & fileName)
				say anSwer using this_name saving to video_path
			else
				display dialog "Not good? Ok, moving onto the next voice."
			end if
		on error
			display dialog "Didn't Work"
		end try
	end tell
end repeat
display dialog "You are done!"

Hi pjdube,

Here’s an example:


say "The rain in Spain stays mainly in the plain." speaking rate 300

You can find out things like this in the dictionary. The ‘say’ command is in the StandardAdditions dictionary.

kel.

Hey Kel1,

Yes, I figured it out. I found out that I was opening the wrong dictionary, and someone else pointed me in the right direction. Thanks for your time though.

Phil