SpeakJet
Public Attributes
SpeakJet::DictionaryEntry Struct Reference

Structure for translating text words into SpeakJet codes. More...

#include <SpeakJet.h>

List of all members.

Public Attributes

const prog_char * word
 ASCII text of word to speak (must be in PROGMEM)
const prog_uchar * codes
 Array of speakjet control codes. End with EndOfPhrase (0xff) (must be in PROGMEM)

Detailed Description

Structure for translating text words into SpeakJet codes.

word is a pointer to the ASCII text of the word to be pronounced. codes is an array of SpeakJet phoneme codes that will be used to speak the word. It must end with EndOfPhrase (0xff). The entire dictionary must also be in PROGMEM. See the included dicitonary files standardDict.cpp and numericDict.cpp for examples on how to achieve this. Alternatively use convertDict.pl to create correctly structured Dictionary from a .dic text file.

Examples:
test.pde.

The documentation for this struct was generated from the following file: