English
Language : 

NSAM265SR Datasheet, PDF (28/58 Pages) National Semiconductor (TI) – CompactSPEECH Digital Speech Processors
3 0 Command Set (Continued)
The 1-byte detectors mask is encoded as follows
Bit 0 Report detection of a busy tone
Bit 1 Report detection of a dial tone
Bits 2 – 4 Reserved Must be set to 0
Bit 5 Report detection of no energy (VOX) on the line
(The VOX attributes are specified with the tunable
parameters VOX TIME COUNT and VOX
ENERGY LEVEL )
Bit 6 Report the ending of a detected DTMF
Bit 7
Report the start of a detected DTMF (up to 40 ms
after detection start)
SE
Skip to End of Message
NSAM265SR
NSAM265SF
This command is valid only in PLAY state When invoked
playback is suspended (as for the PA command) and a
jump to the end of the message is performed Playback re-
mains suspended after the jump
SETD
Set Time and Day time and day
NSAM265SR
NSAM265SF
Sets the system time of day as specified by bits 0–13 in the
2-byte time and day parameter The time and day pa-
rameter is encoded as follows
Bits 0 – 2 Day of the week (1 through 7)
When the internal vocabulary is used the first
day of the week is Monday
Bits 3 – 7 Hour of the day (0 through 23)
Bits 8 – 13 Minute of the hour (0 through 59)
Bits 14 – 15 These bits must be set to 1
If time and day is not valid ERR PARAM is set in the
error word
SF
Skip Forward time length
NSAM265SR
NSAM265SF
Advances in the current message time length units each
of 0 2 seconds duration and causes message playback to
pause time length is a 2-byte parameter that may have
any value up to 320 i e 64 seconds The skip accuracy is
0 14 seconds This command is meaningful only in the
PLAY state The RES command must be issued to continue
playback
If the end of the message is detected during execution of
SF execution of the command is terminated the EV NOR-
MAL END bit in the status register is set the MWRQST
signal is activated and CompactSPEECH switches to the
IDLE state
SMT
Set Message Tag message tag
NSAM265SR
NSAM265SF
Sets the tag of the current message The 2-byte message
tag can be used to implement mailbox functions by including
the mailbox number in the tag or to handle old and new
messages differently by using one bit in the tag to mark the
message as old or new See Section 1 5
To change the tag of a message we recommend that you
read the message tag modify it and write it back
If the current message is undefined results are unpredict-
able
NSAM265SF
Bits in the message tag may be cleared but not set
NSAM265SR
Bits 7 – 15 of the tag are ignored
SO
Say One Word word number
NSAM265SR
NSAM265SF
Plays the word number word number in the current vocab-
ulary The 1-byte word number may be any value from 0
through the index of the last word in the vocabulary
When playback of the selected word has been completed
the CompactSPEECH sets the EV NORMAL END bit in
the status word and activates the MWRQST signal
If word number is not defined in the current vocabulary or
if it is an IVS control or option code ERR PARAM is set in
the error word
SPS
Set Playback Speed speed
NSAM265SR
NSAM265SF
Sets the speed of message playback as specified by the
speed parameter The new speed applies to all recorded
messages and synthesized messages (only if synthesized
using external voice synthesis) until changed by another
SPS command If this command is issued while the Com-
pactSPEECH is in the PLAY state the speed also changes
for the message currently being played back
speed may be one of 13 values from b6 to a6 A value of
0 represents normal speed
Note that a negative speed value represents an increase in
speed a positive value represents a decrease in speed
The change in speed is approximate and dependent on the
recorded data
If speed is not in the b6 to a6 range ERR PARAM is set
in the error word
SS
Say Sentence sentence n
NSAM265SR
NSAM265SF
Say sentence number sentence n of the currently selected
vocabulary sentence n is 1-byte long
When playing has been completed the CompactSPEECH
sets the EV NORML END bit in the status word and acti-
vates the MWRQST signal
If sentence n is not defined in the current vocabulary
ERR PARAM is set in the error word
28