Tinderbox 8 Icon

String.speak(["voice"])


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 Baseline

 


String.speak(["voice"])

speaks a string using Mac text-to-speech. If another string is being spoken, the new phrase is spoken after the current phrase is complete.

$Text.speak() 

An optional second argument voice identifies the voice the speech synthesiser should use. If the nominated voice is not present no sound is played. The closing parentheses are only needed if the extra parameter is being passed:

$Text.speak("Tessa")