Skip to main content

Say

Say (Statement)

Format

say expression
say ( expression )

Description

Speaks expression aloud using the operating system's text-to-speech (TTS) engine. On Windows the current default SAPI voice is used; on Linux a speech library such as eSpeak or Flite must be installed. A numeric expression is spoken as words (for example 3 + 7 is spoken as "ten"). The statement waits until the phrase has finished being spoken before the program continues.

Example

say "Hello, world."
say 3 + 7 # speaks "ten"

See Also

Say, Sound, Volume, SoundLength, SoundPause, SoundPlay, SoundPosition, SoundSeek, SoundState, SoundStop, SoundWait

History

0.9.4New To Version