EasyManua.ls Logo

Commodore VIC-20 - Page 260

Commodore VIC-20
404 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...
246
The
VIC
20
User
Guide
651
CLOSE
1
"I
PRINT
IIREADY.
II
67.
OOTO
3'~
To
store the
data
into a disk file, change line 620
to
READING
MUSIC
FROM
THE
DATASSmE
OR
DISK
To read a song from a music file, you will need
to
read the information
back
into
an
array
that
can be ready by
your
electronic organ program. The
following routine accomplishes this. You'll need
to
give the new version
of
your
song
another
name, such as "SONG.
1,
"if
you
are
using the disk drive.
Here
is
the Datasette version.
399
IF
R,-III"
THEN
7.
709
INPUT"SONO
HAME"iSN.
718
OPEN
1,1,0,SN'
728
INPUTll,'(C):'-ST
738
C-C+l:IF
I-I
THEN
728
748
CLOSE
1:PRINT"READY.":0OTO
3e~
If
you have a disk drive, change line 710 to
COMBINING
SOUND
WITH
ANIMATION
Most
video games use sound very effectively. The sounds can be used
to
create a
mood
or
to
give the player more information
about
the action
that
is
taking place on the screen.
Timing
When playing a video game, the player
is
more dependent
on
the timing
of
the sound
than
on the visual portion
of
the game. Try this ping-pong
program with no sound.

Other manuals for Commodore VIC-20

Related product manuals