A Sound Introduction (SIREN.BAS)
A Sound Introduction
Description
A Sound Introduction
From the Antic disk of Best of Antic Book — disk B.
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
