SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 265 | Next

Steven Kelly and Juha-Pekka Tolvanen

"Domain-Specific Modeling"


The telecom module was operated remotely by a normal call from a phone. The
module used voice menus to provide information and offer the user choices, which he
could activate by pressing buttons on the phone keypad. The module used a standard
telecom chipset to recognize the frequencies of the DTMF tones and translate them
back into the simpler form of which button had been pressed.
The voice menus used real speech, sampled and stored in the module. As this was
an embedded device, the speech was broken down into reusable sampled units of
words or phrases to save memory. An actual sentence was played back as a sequence
of these samples.
Clients supplied a sketch of the desired voice menu, for example in simple ?¬‚ow
charts. These were ?¬‚eshed out by Domatic into a spreadsheet format which added the
technical details. For instance, sentences were broken down into sample units, and
the choices were implemented as jumps to another rowin the spreadsheet. Each rowof
the spreadsheet represented a certain memory address containing one primitive
command: play a certain voice sample, jump to a certain memory address, assign a
value to a register, and so on. Listing 7.1 shows the spreadsheet for a loop that reads out
all ?¬?ve modes in the system, and tells the user which button to press for each.
Listing 7.


Pages:
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
praca Song Lyrics Internet Jelenia Góra Russisch Blau Katzen Pokój dziecięcy