A Sound Introduction, sound effects (SAW.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 · 534 bytes

Dialect
Atari BASIC
Lines
17
Variables
DUR, TIME, ST, VL, PITCH, WAIT, O
BASIC listing (17 lines)
20 REM SAWING WOOD
30 REM DUR=SECONDS RUN
40 DUR=8
50 FOR TIME=1 TO DUR
60 ST=6:VL=12:GOSUB 90
70 ST=8:VL=8:GOSUB 90
80 NEXT TIME:RETURN
90 FOR PITCH=ST+5 TO ST STEP -1
100 GOSUB 160:NEXT PITCH
110 FOR PITCH=ST TO ST+5
120 GOSUB 170:NEXT PITCH
130 SOUND 0,0,0,0:SOUND 1,0,0,0
140 FOR WAIT=1 TO 25:NEXT WAIT
150 GOTO 40
160 SOUND O,PITCH,2,VL
170 SOUND 1,PITCH,8,VL*0.7
180 WAIT=(WAIT/5)*5:RETURN