EasyManuals Logo

Atari 130XE User Manual

Atari 130XE
142 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
Page #72 background imageLoading...
Page #72 background image
The number 10 produces a pure tone without distortion.
To
put
in
a
little distortion, change the
10 to 06:
SOUND
.1
..
50
..
06
..
8
The computer sounds
as
if it's ready for takeoff. Type
END
before the
neighbors start complaining.
The
la
st number
in
the SOUND command controls the volume. The
number must be between 0 and
15
. Number 8 is a good number for
most uses.
You
risk damaging your
TV
speaker and your ears if you go
above 12.
To try
so
me four-part harmony, enter the following:
SOUND
0
..
50
..
.10
..
8
SOUND
.1
..
.100
..
.10
..
8
SOUND
2
..
.150
..
.10
..
8
SOUND
3
..
200
..
.10
..
8
Type
EN
D to stop the chorus.
Sounding Off with Variables
Variables
in
SOUND commands add versatility to your programs.
Using variables, you can program the computer to change the voice,
pitch, distortion, and volume
of
susta
in
ed
sounds. Enter and run the
following program:
NEW
.10
REM
if
SET
VARIABLES
FOR
SOUND
VALUES
20VOICE=0:PITCH=.100:TONE=8:VOL=8
30
SOUND
VOICE
..
PITCH
..
TONE
..
VOL
40
GOTO
20
RUN
To
stop the sound, press the I Break I key and type END.
To
susta
in
a
sound, you need to repeat the SOUND command
in
the program. Two
common methods are a
FOR-NE
XT loop or a
GO
TO
loop like the one
in
the example above. The following program uses a variable for the
pitch
in
a
FOR-NE
XT loop to produce the computer's entire range of
pitches:
66

Table of Contents

Other manuals for Atari 130XE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 130XE and is the answer not in the manual?

Atari 130XE Specifications

General IconGeneral
TypeHome computer
Release year1985
CPUMOS Technology 6502C
CPU Speed1.79 MHz
RAM128 KB
ROM24 KB
GraphicsANTIC and GTIA chips
ManufacturerAtari
Display resolution320x192
SoundPOKEY chip, 4 channels
StorageExternal floppy disk drive, cassette tape
Ports2 joystick ports
Operating SystemAtari BASIC

Related product manuals