home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / forth / 3118 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.8 KB

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