Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!ira.uka.de!fauern!opal!tmpmbx!lime!techno From: techno@lime.in-berlin.de (Frank G. Dahncke) Newsgroups: comp.sys.atari.8bit Subject: Re: BASIC programming Keywords: help Message-ID: Date: 9 Jan 91 17:20:38 GMT References: <1098@zinn.MV.COM> Organization: LIME Systems featuring a TOGA Party Lines: 36 ebm@zinn.MV.COM (Eric Mallett) writes: >I've lost my manual for programming in BASIC on the Atari 800XL, and I >was wondering if someone could tell me how to make sounds on this >computer in BASIC. The BASIC language comes already in the computer. The command used is SOUND. Syntax: SOUND ,,, Ranges: voice: 0-3 pitch: 0-255 distortion: 0-15 volume: 0-15 Example: 10 FOR I=0 TO 255 20 SOUND 1,I,10,12 : REM pure tone using voice #1 30 NEXT I 40 SOUND 1,0,0,0 : REM turn off voice #1, NOTE: only volume must be set to 0 50 END Hope this helps, Techno -- | techno@zelator.in-berlin.de ||| Please do not e-mail from outside Germany ! | | techno@lime.in-berlin.de / | \ Hardcore ST user ! ====================== | | Nothing that's real is ever for free, you just have to pay for it sometime. | | (Al Stewart) |