then repeat with i = 1 to number of lines in card field 1
do line i of card field 1
end repeat
end mouseUp
-- part contents for background part 7
----- text -----
How Macintalk Works (continued)
-- part contents for background part 8
----- text -----
There are three other commands you should know about. The SetPitchΓÇá command allows you to set the baseline pitch and the mode of speech. The baseline pitch starts out at 110 Hz, but it can take any value from 65Hz to 500Hz. The pitch mode can be either ΓÇ£natural,ΓÇ¥ meaning that the pitch rises and falls as it would when a actual person speaks, or ΓÇ£robotic,ΓÇ¥ meaning that the pitch stays at a monotone.
To hear the difference clearly, click on this box:
Note that, if you want to change the mode but not the pitch, you can specify zero for the pitch parameter. Also, if you want to change the pitch but not the mode, you can simply omit the mode parameter. To summarize, the calling protocol is: