
2-56
2—SOFTWARE
ISD-SR3000
Voice Solutions in Silicon
Example: Select the vocabulary with vocabulary-id 3, which resides on a Flash as the current
vocabulary.
SPT
Set Prompts Type
Opcode:
0x20
Syntax:
SPT type id
Type:
Synchronous
Description:
Selects the vocabulary table to be used for voice synthesis. The vocabulary type
is set according to the type parameter:
0: For compatibility only.
1: External vocabulary in ROM.
2: External vocabulary in Flash.
3-7: Reserved.
The host controller is responsible for selecting the current vocabulary, using the
SPT command, before using any of the play commands, e.g.- SAS, SO, SS, SW.
Each external vocabulary table has a unique id that is part of the vocabulary
internal header (See the
IVS User’s Guide
for more details). If type is 1 or 2, the
ISD-SR3000 processor searches for the one byte id parameter in each
vocabulary table header until a match is found. If the id parameter does not point
to a valid IVS vocabulary, ERR_PARAM is set in the error word.
Parameters:
type and id are one byte long.
Source
Byte Sequence
Code
SPT 02 02
Host Controller
20
02
03
ISD-SR3000
20
02
03
SRI
Stop Recognition Immediately
Opcode:
0x5A
Syntax:
SRI
Type:
Synchronous
Description:
Stops recognition immediately by flushing all internal buffers. It is the same as
the regular S command in all other aspects.
Parameters: