A Sound Introduction, sound effects (SIREN.BAS)

A Sound Introduction, sound effects by Jim Capparell, 10

Description

A Sound Introduction, sound effects by Jim Capparell, 10

From the Antic disk of October 1982 (Vol. 1 No. 4).

From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.

What is in this file

Atari BASIC program · 388 bytes

Dialect
Atari BASIC
Lines
12
Variables
DUR, LO, HI, STP, TIME, PITCH, WAIT, XX
BASIC listing (12 lines)
10 REM SIREN
20 REM DUR=TIME IN SECONDS
30 DUR=10
40 LO=50:HI=35:STP=-1
50 FOR TIME=1 TO DUR
60 FOR PITCH=LO TO HI STEP STP
70 SOUND 0,PITCH,10,14
80 FOR WAIT=1 TO 15:NEXT WAIT
90 NEXT PITCH
100 XX=LO:LO=HI:HI=XX:STP=-STP
110 NEXT TIME
120 SOUND 0,0,0,0:GOTO 30