
2.0 Software
(Continued)
Example 2: The number 0 can be an-
nounced as no as in you have
no messages or as oh as in
monday, eight oh five am.
A separate number table is re-
quired for each particular type
of use. The number table con-
tains the indices of the words
in the vocabulary that are
used to synthesize the num-
ber. Up to nine number tables
can be included in a vocabu-
lary.
The sentence
table
The sentence table describes the prede-
fined sentences in the vocabulary. The
purpose of this table is to make the micro-
controller
that
drives
SPEECH independent of the language be-
ing synthesized.
the
Compact-
For example, if the serial flash and/or
ROM contain vocabularies in various lan-
guages, and the first sentence in each vo-
cabulary means you have n messages,
the microcontroller switches languages by
issuing the following command to Com-
pactSPEECH:
SV
k
storageDmedia
l
,
k
vocabularyDid
l
Select a new vocabulary
The microcontroller software is thus inde-
pendent of the grammar of the language
in use.
The sentences consist of words, which
are represented by their indices in the vo-
cabulary.
Sentence 0
All sentences but one are user defined.
The CompactSPEECH treats the first sen-
tence in the sentence table, i.e., sentence
0, in a special way to support time & day
announcement. It assumes that the sen-
tence is designed for system and message
time & day announcement and has one ar-
gument which is interpreted as follows:
0 - System time will be announced
1 - The time & day of the current message
will be announced.
Example 1
:
When the microcontroller sends the com-
mand:
SAS O, 0
The system time & day is announced.
Example 2
:
When the microcontroller sends the com-
mand:
SAS O, 1
The current message time & day stamp is
announced.
Figure 2-3 shows the interrelationship be-
tween the three types of tables:
Control and
option codes
The list of word indices alone cannot pro-
vide the entire range of sentences that the
CompactSPEECH
can
control and option codes are used as spe-
cial instructions that control the behavior of
the speech synthesis algorithm in the
CompactSPEECH.
synthesize.
IVS
For example, if the sentence should an-
nounce the time of day, the Compact-
SPEECH should be able to substitute the
current day and time in the sentence.
These control words do not represent re-
corded words, rather they instruct the
CompactSPEECH to take special actions.
TL/EE/12584–37
FIGURE 2-3. Relationship of IVS Tables
http://www.national.com
28