SpeakJet
Public Attributes | List of all members
SpeakJet::DictionaryEntry Struct Reference

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)
 

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.


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