home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / sys / amiga / demos / 1948 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  2.9 KB

  1. Path: sparky!uunet!mcsun!news.funet.fi!funic!sauna.cs.hut.fi!news.cs.hut.fi!oahvenla
  2. From: oahvenla@snakemail.hut.fi (Osma Ahvenlampi)
  3. Newsgroups: alt.sys.amiga.demos
  4. Subject: Re: Criti!
  5. Date: 11 Dec 92 18:39:48 GMT
  6. Organization: Helsinki University of Technology, Finland
  7. Lines: 46
  8. Distribution: inet
  9. Message-ID: <OAHVENLA.92Dec11203948@lk-hp-4.hut.fi>
  10. References: <1992Dec11.043853.23553@u.washington.edu>
  11. NNTP-Posting-Host: lk-hp-4.hut.fi
  12. In-reply-to: foregone@stein.u.washington.edu's message of Fri, 11 Dec 1992 04:38:53 GMT
  13.  
  14. In article <1992Dec11.043853.23553@u.washington.edu> foregone@stein.u.washington.edu (Carl Chavez) writes:
  15.  
  16. >How come an Amiga MUST have samples? I find it incredible that a computer
  17. >in this day and age is incapable of creating sounds in other ways. After all,
  18. >even ancient computers created sound simply by changing the frequency of
  19. >clicks created by electrical activity! (Example: Apple II music and speech)
  20.  
  21. There are basically two ways to produce sound:
  22.  
  23. 1) A couple of basic waveforms, and ADSR envelope, like the C-64 has. ADSR
  24.    envelope affects the time-amplitude, waveform the 'sound'.. I count FM
  25.    synthesis in this group too...
  26. 2) A data line to the audio output.
  27.  
  28. Method 2) means you can generate sound either by poking the register associated
  29. with the data line, or use DMA to poke it, if the computer supports it. With
  30. DMA, you can only use precalculated samples, if you use processor, you can
  31. theoretically calculate the values on the fly, but that would usually take
  32. so much time that the quality would be unacceptable.
  33.  
  34. These 'clicks' you mention happen because when you change the voltage on the
  35. audio output, the speaker clicks. The bigger the change, the louder the click.
  36. DMA does exactly this, it read memory at a defined speed and pokes the values
  37. to the register.
  38.  
  39. You could do something like this on C-64 also, by changing the volume fast
  40. enough.. This way you could get the 3 normal channels and a 4th 'channel'
  41. for playing digitized sound, like drums.
  42.  
  43. If you have good enough audio control, you can do several other things beside
  44. the DMAing samples, like changing the speed while playing (vibrato), changing
  45. the volume while playing (tremolo, isn't it? I'm not too good with these terms)
  46. modulating one channel with another, etc...
  47.  
  48. Amiga has no method 1 sound. It's pretty limited, you can not get anything
  49. really natural sounding, only something sounding just as synthesized as it is.
  50. With method 2, you can recreate any sound, if you have enough memory to store
  51. it, but all the real time effects you can get with the hardware associated
  52. with method 1 are not possible..
  53.  
  54. As for whether it's incredible that there's 'no other way' to create sound,
  55. consider that the PC audio card using FM synthesis are considered obsolete,
  56. and the new cards have only DMA channels...
  57. --
  58. Osma Ahvenlampi  -  oahvenla@snakemail.hut.fi   * Workstation power for micro-
  59. All my opinions are not necessarily really mine * computer price: Amiga := FUN
  60.