SpeakJet
|
Structure for translating text words into SpeakJet codes. More...
#include <SpeakJet.h>
Public Attributes | |
const char * | word |
ASCII text of word to speak (must be in PROGMEM) | |
const uint8_t * | codes |
Array of speakjet control codes. End with EndOfPhrase (0xff) (must be in PROGMEM) | |
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.