EasyManua.ls Logo

Tandy Color Computer 3 - Page 32

Default Icon
48 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...
Using
the
Display
The
program
should look like
this:
10
FOR
X
=
1 TO 255
20 SOUND X, 1
30
NEXT
X
Check
for typing errors as
you
did in the
previous
programs. When
you're
sure
you've
typed
everything exactly as
above, set your
display unit's volume
control
to
a
normal
level, and
type:
RUN
(ENTER)
If
you
want
to
hear more of what
your
Color Computer is
capable,
type
in
this short
program:
NEW (
E
NT
ER
)
10
X
=
RND
(255)
(ENTER!
20
Y
=
RND (30)
CEHIEB
30
SOUND X,Y
(ENTER)
40 GOTO 10
(ENTER)
To
check
for typing
errors,
type:
LIST
CENTER)
Your
program
should look like
this:
10
X
=
RND (255)
20
Y
=
RND
(30)
30
SOUND X,Y
40
GOTO 10
When
you're
sure
the program
is
correct, type:
run
dHUH)
The music your
computer
plays
will
never be heard
at
Carnegie
Hall,
but it
is
nevertheless remarkable. You see,
your
computer plays
random notes
for random
durations.
And although
it
isn't Beethoven,
your Color
Computer
is
actually "composing"
music.
Press
(break)
to stop the
program.
22

Other manuals for Tandy Color Computer 3

Related product manuals