Speaker
The speaker is a peripheral which allows for Computers to talk (literally)! It interfaces directly with the Google Translate Text-to-Speech system, allowing you to speak with different language-based voices. It can also be crafted with a turtle to make a Talkative Turtle.
Events
Event | Parameter 1 | Parameter 2 | Parameter 3 | Description |
---|---|---|---|---|
speechComplete | "speechComplete" | string text | string language | This event is fired after the Text-to-Speech system is finished speaking |
synthComplete | "synthComplete" | string text | This event is fired after the speech synthesis system is finished speaking |
Functions
Function | Returns | Description |
---|---|---|
speak(string text, [number range, [string languageAccent[, boolean pauseComputerUntilSpeechComplete]]]) | string message, string languageAccent | Synthesizes a message to play to nearby players |
synthesize(string text, [number range, [string voice, [number pitch,[number pitchRange, [number pitchShift, [number rate, [number volume, [boolean wait]]]]]]]]) | string text | Synthesizes a message to play to nearby players |