EasyManua.ls Logo

Radio Shack TRS-80 Voxbox - Page 31

Radio Shack TRS-80 Voxbox
36 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix
Appendix
A. Modifying
Driver
Program
Parameters
The closeness with which
an unknown
speech
sample
must
match
one
of
the samples of known
words
before
a
word is
"recognized"
(properly or improperly)
is
controlled
by
a number
stored in the driver
program. This
"rejection
parameter"
may be
made
larger
to allow for a looser fit
between
spoken
and
trained
words,
or
it
may be made smaller
to
require
a tighter
fit
between
spoken
words and the trained words.
When
the number is made
larger, fewer
spoken
words
will
be
rejected
(that is,
not recognized
at
all)
but more
mistakes
where
the
wrong
word is identified
may occur.
If the number is
made smaller,
fewer mistakes
where
the
wrong
word
is identified should
occur,
but
in
general
more
words
will
be
rejected as unidentifiable.
This parameter
has been
carefully
set at a value
which
provides
an
acceptable tradeoff of
these
characteristics
. The
current
value
of
the
parameter is
350 DEC
(015E HEX).
This
parameter is
stored
in
two bytes
at relocation +254
(least
significant
byte) and
+255
(most significant
byte).
These
locations
in
absolute
address are
as
follows:
User Memory Locations
(DEC)
Locations
(HEX)
16K 28926-28927
70FE,70FF
32K 45310-45311
B0FE,B0FF
48K
61694-61695
F0FE,F0FF
The least significant byte of the value is
stored in
the
lowest
location.
The most
significant
byte
of
the value is
stored in
the higher
location.
Remember to follow
instructions
for Decimal
to
Hex
to Decimal
conversion given in the TRS-80 User
Manual for
POKEs.
Use
POKEs to store new data as
in
the example
below:
REM
INPUT LOWER LOCATION,
L
IF
L
>
32767 THEN L=L-65536
REM
SET VALUE TO
360
[0168
HEX]
FOR LOOSER MATCH
REM
68
HEX
=
104 DEC
POKE
L, 104
REM
1
HEX
=
1 DEC
POKE
L+l, 1
29

Related product manuals