A Sound Introduction (EURSIREN.BAS)

A Sound Introduction

Description

A Sound Introduction

From the Antic disk of Best of Antic Book — disk B.

The magazine article

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 · 352 bytes

Dialect
Atari BASIC
Lines
10
Variables
DUR, LO, HI, PITCH, TIME, O, WAIT
BASIC listing (10 lines)
10 REM EUROPEAN SIREN
20 REM DUR=SECONDS RUN
30 DUR=5
40 LO=57:HI=45:PITCH=HI
50 FOR TIME=0 TO DUR*2
60 SOUND O,PITCH,10,14
70 FOR WAIT=1 TO 180:NEXT WAIT
80 PITCH=LO:LO=HI:HI=PITCH
90 NEXT TIME
100 SOUND 0,0,0,0:GOTO 30