EasyManua.ls Logo

Alpha VS 100 - Page 26

Alpha VS 100
40 pages
Print Icon
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...
I METHOD
4:
Phoneme direct
output
from
BASIC
•~>This method
is
described for
reference
only.
Considering
the
convenience
of the
methods
1,2
and
3,
we
don't
see
any
reason
to use it*
•You
can use
the phoneme
table
(later
in this manual)
to create words
by
looking
up the
proper codes
for each
sound
in the word.
For example,
let's
say you want to add
the
word
"daddy"
.
The
first sound
is
"d"
which
is code
number
30.
The "a"
sounds like
the
"a" in "dad"
(on
the
table) therefore,
the
phoneme
is
"AE"
which
is number 46.
If you
keep
doing
this
you
will
get all the
phonemes
for
the "daddy":
D,AE,D,D,E
or codes
30,46,30,30,44.
Model
I
•*
To get
speech,
you must
output
each
code
to
the
VS-100.
Use
the OUT
11,X statement,
where
"X" is
the
code
number.
In our
case,
the
following
line
will say "daddy":
10
0UT11,30
: 0UT11,46
: 0UT11,30
:0UT11,30 : 0UT11,44
Note:
This is a
simple
example.
Generally
you
will
use
DATA
statements
and FOR...
NEXT
loops to output
the
codes.
Model
III
*The VS-100
for the
Model III
sends a "busy"
signal
back
othe
computer
while the
VS
is talking.
The
software
mustlook
at
this "status
bit"
before it
sends
the next
phoneme.
Bit
7 of
port
11 is low while
the
VS
is busy.
If
you really
want
to use
this
method,
you must
use a
short
subroutine
which
checks
the
status bit prior to
sending
each
phoneme
code.
Ex: 100
IF
INP(11)>127
THEN RETURN
ELSE
100
Also remember
that
you have
to enable the
Model III 1/0
bus
by
with an OUT
236,16.
Our
"Daddy"
line
above
would
be:
10
OUT
236,16
:
G0SUB
100 : OUT
11,30 : G0SUB 100 : OUT
11,46
:
G0SUB
100 :
OUT
11,30 :
G0SUB
100 : OUT
11,30
:
GOSUB
100
: OUT
11,44
Page
25