speechrate
speechrate
RATE

The speechrate statement changes the speech rate (words per minute).

Parameters

This statement has one parameter:

rate – speaking rate (words per minute). Normal speech is typically 150 to 250 words per minute.

Description

This statement changes the rate for speech synthesis (this rate can be overridden by the speak statement. This example sets the rate to a fairly high speed.

    speechrate 220

To find out the current speech rate, use the info(“speechrate”) function. This example switches to really fast talking, then switches back to whatever speed was being used before.

    local wasRate
    wasRate = info("speechrate")
    speechrate 300
    ...
    ... speak really, really fast
    ...
    speechrate wasRate
    ...
    ... speak at original speed
    ...

Note: To return to the system speed, specify `0` as the rate, like this:

    speechrate 0 // restore the default rate

Note: Different voices have different default rates.

See Also

- info("defaultvoice") -- returns the current default system voice.
- info("speaking") -- returns true if talking is occuring right now.
- info("speechrate") -- returns the current Panorama speech rate (words per minute).
- info("speechvoice") -- returns the current default system voice.
- info("speechvolume") -- returns the current Panorama speech volume.
- info("voices") -- returns a list of available speech synthesis voices on this system.
- pausespeaking -- pauses any talking that is currently happening.
- resumespeaking -- resumes speaking after a pause.
- speak -- speaks a word or phrase.
- speakaddress -- buffers up a street address to be spoken later by the speaknow statement.
- speakcharacters -- buffers up one or more characters to be spoken later by the speaknow statement.
- speakcharactersslowly -- buffers up one or more characters to be spoken later by the speaknow statement. Instead of speaking words, each individual character is spoken separately and slowly.
- speakdate -- buffers up a date to be spoken later by the speaknow statement.
- speakdigitpairs -- buffers up one or more digit pairs to be spoken later by the speaknow statement.
- speakdigits -- buffers up one or more digits to be spoken later by the speaknow statement.
- speakdollars -- buffers up a dollar amount to be spoken later by the speaknow statement.
- speakdollarsandcents -- buffers up a dollar and cents amount to be spoken later by the speaknow statement.
- speakletters -- buffers up one or more characters to be spoken later by the speaknow statement. Letters will be spoken individually, as upper or lower case. Numbers will be spoken as individual digits.
- speaknow -- speaks any buffered speech.
- speakphonenumber -- buffers up a phone number to be spoken later by the speaknow statement.
- speakscript -- speaks a speech synthesis script created in the Database Options dialog.
- speakstate -- buffers up a US State to be spoken later by the speaknow statement.
- speakthisrecord -- speaks the current record in the database (using the default speech script).
- speakwords -- buffers up one or more words to be spoken later by the speaknow statement.
- speechscripts -- returns a lists of speech scripts in a database.
- speechvoice -- changes the default speech voice.
- speechvolume -- changes the default speech volume.
- stopspeaking -- stops any talking that is currently happening.
- voiceinfo( -- returns information about a speech synthesis voice.

History

Version | Status | Notes
10.0 | New | New in this version.