home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!pitt!willett!ForthNet
- From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie)
- Newsgroups: comp.lang.forth
- Subject: Sound
- Message-ID: <4054.UUL1.3#5129@willett.pgh.pa.us>
- Date: 13 Sep 92 12:25:48 GMT
- Organization: EIEI-U
- Lines: 33
-
- Category 18, Topic 6
- Message 8 Fri Sep 11, 1992
- B.DUNN5 [Brian] at 23:26 EDT
-
- Now available in the GEnie download area is an Atari ST implementation of a
- prototype sound standard. The words are:
-
- SOUND ( frequency volume voice# -- )
- TONE-SOUNDS \ Start generating tones.
- NOISE-SOUNDS \ Start generating white noise.
-
- SOUND is DEFERed. TONE-SOUNDS and NOISE-SOUNDS change the action of SOUND.
- Frequency is Hertz, volume is 0-255, voice# is 0 to whatever your machine can
- handle. The ST handles 0-2. When a sound is started it continues until a new
- sound is generated on the same voice. A volume of 0 turns off a voice.
-
- For many machines you might wish to add other kinds of sounds, including
- PHASER-SOUNDS and EXPLOSION-SOUNDS and perhaps MIDI-SOUNDS, although midi
- might best be handled in other ways. Those of us with simpler machines may
- replace your fancy sounds with our simple TONE-SOUNDS.
-
- This simple wordset produces some fairly nice sound effects in the little
- starfighter demo game for the graphwin package. If there are suggestions for
- better portability to other hardware we can change the wordset.
-
- [When the FORTH sysops release this file for general downloading, another
- message will be posted, along with email retrieval instructions. Please
- do not ask for this file until then. -DWP]
- -----
- This message came from GEnie via willett. You *cannot* reply to the author
- using e-mail. Please post a follow-up article, or use any instructions
- the author may have included (USMail addresses, telephone #, etc.).
- Report problems to: dwp@willett.pgh.pa.us
-