next up previous contents
Next: 6.26 truth Up: 6. Device Interfaces Previous: 6.24 sound   Contents

Subsections


6.25 speech

Synopsis

The speech interface provides access to a speech synthesis system.

Constants

#define PLAYER_SPEECH_MAX_STRING_LEN 256
#define PLAYER_SPEECH_MAX_QUEUE_LEN 4
incoming command queue parameters

Data

The speech interface returns no data.

Command



struct player_speech_cmd : The speech interface accepts a command that is a string to be given to the speech synthesizer. The command packet is simply 256 bytes that are interpreted as ASCII, and so the maximum length of each string is 256 characters.

uint8_t string[PLAYER_SPEECH_MAX_STRING_LEN];
The string to say



2004-06-02