
3.0 Command Set
(Continued)
The 1-byte detectorsDmask 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 VOXDTIMEDCOUNT and VOXD
ENERGYDLEVEL.)
Report the ending of a detected DTMF.
Bit 6
Bit 7
Report the start of a detected DTMF (up to 40 ms
after detection start).
SE
NSAM265SR
&
Skip to End of Message
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
NSAM265SR
&
Set Time and DaytimeDandDday
NSAM265SF
&
Sets the system time of day as specified by bits 0–13 in the
2-bytetimeDandDday parameter. ThetimeDandDday 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 timeDandDday is not valid, ERRDPARAM is set in the
error word.
SF
NSAM265SR
&
Skip ForwardtimeDlength
NSAM265SF
&
Advances in the current message timeDlength units, each
of 0.2 seconds duration, and causes message playback to
pause. timeDlength 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 EVDNOR-
MALDEND bit in the status register is set, the MWRQST
signal is activated, and CompactSPEECH switches to the
IDLE state.
SMT
NSAM265SR
&
Set Message TagmessageDtag
NSAM265SF
&
Sets the tag of the current message. The 2-bytemessageD
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
NSAM265SR
&
Say One WordwordDnumber
NSAM265SF
&
Plays the word numberwordDnumber in the current vocab-
ulary. The 1-byte wordDnumber 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 EVDNORMALDEND bit in
the status word, and activates the MWRQST signal.
If wordDnumber is not defined in the current vocabulary or
if it is an IVS control or option code, ERRDPARAM is set in
the error word.
SPS
NSAM265SR
&
Set Playback Speedspeed
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
b
6 to
a
6. A value of
0 represents normal speed.
Note that a negativespeed 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.
Ifspeed is not in the
b
6 to
a
6 range, ERRDPARAM is set
in the error word.
SS
NSAM265SR
&
Say SentencesentenceDn
NSAM265SF
&
Say sentence numbersentenceDn of the currently selected
vocabulary. sentenceDn is 1-byte long.
When playing has been completed, the CompactSPEECH
sets the EVDNORMLDEND bit in the status word, and acti-
vates the MWRQST signal.
If sentenceDn is not defined in the current vocabulary,
ERRDPARAM is set in the error word.
28