|nVolume||-||Desired volume for text to be spoken.|
|nPitch||-||Desired pitch for text to be spoken.|
|nSpeed||-||Desired speed for text to be spoken.|
|s||-||Text to be converted to speech.|
This routine makes a Devantech SP03 Speech Module say an arbitrary phrase passed as a text string. (As of Build 13, the TEA compiler has a text string limit of 32 characters.)
The ranges for the speech parameters are given below.
|Volume||0-7||7 is minimum volume|
|Pitch||0-7||7 is lowest pitch|
|Speed||0-3||3 is fastest speed|
This would make the speech module say "hello there" with maximum volume, low pitch, and maximum speed.