home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / sys / amiga / demos / 1951 < prev    next >
Encoding:
Internet Message Format  |  1992-12-11  |  3.0 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 20:30:01 GMT
  6. Organization: Helsinki University of Technology, Finland
  7. Lines: 44
  8. Distribution: inet
  9. Message-ID: <OAHVENLA.92Dec11223001@lk-hp-4.hut.fi>
  10. References: <crystal.723693722@glia> <MKNIP.92Dec7131340@bulldozer.hut.fi>
  11.     <10227@cbmger.de.so.commodore.com> <Bz0yG8.3o1@mentor.cc.purdue.edu>
  12.     <crystal.724095118@glia>
  13. NNTP-Posting-Host: lk-hp-4.hut.fi
  14. In-reply-to: crystal@glia.biostr.washington.edu's message of Fri, 11 Dec 1992 17:31:58 GMT
  15.  
  16. In article <crystal.724095118@glia> crystal@glia.biostr.washington.edu (Crystal) writes:
  17. >>He's right.  Even if you manualy build the sample (waveform, sound ... )
  18. >>it's still a sample, here's a C def for a sinewave:
  19.  
  20. >>BYTE chip sinewave[8] ={0,90,127,90,0,-90,-127,-90};
  21. >>(dc.b 0,90,127,90,0,-90,-127,-90 in Assembly)
  22.  
  23. >So it *IS* programming!  Just like I originally thought!  Just like we had
  24. >to do on the Apple ][ which had no "sample" capability.  And since (from my
  25. >computer science courses) hardware is only capable of recognizing patterns 
  26. >of on/off switches, whether the sound is something a programmer "synthesized"
  27. >with programming, or "sampled" with a microphone, it is all read the same way
  28. >by the computer - as on/off switches.  It doesn't care HOW the 1's and 0's
  29. >got there, it just reads it.
  30.  
  31. Well, first of all, it isn't programming. It's just entering a list of values
  32. with the help of a programming language... Neither the C or assembly versions
  33. have any instructions in them.
  34. And the on/off switch stuff is highly over-simplifying... Amiga uses 8-bit
  35. samples, which means that the values can range between -128..127 (Amiga uses
  36. signed values for samples, Mac would use unsigned, 0..255). But basically, you
  37. got it right. For the hardware, it doesn't matter where the data comes from.
  38. You could try playing an ASCII file, and get a lot of noise... :-)
  39.  
  40. >I suspect however that terminology is bogging us all down, because "sampless"
  41. >in my world are those things created by using a microphone and "synthsized"
  42. >are those sounds created by manually writing programs such as above.  Which
  43. >is why there are so few instruments in Sonix - to program them all would be
  44. >time-consuming in the extreme... And I've noticed that instruments can be
  45. >manipulated much easier (via programming) than can "samples" of sounds because
  46. >of the purity of the "notes".
  47.  
  48. The end part, I didn't get. Anyhow, 'sample' in Amiga audio context means a
  49. sound expressed as a list of signed, 8 bit values. It can be generated either
  50. by digitizing or by 'synthesizing' (for me, that would really mean real-time
  51. generation, like in synthesizers).
  52.  
  53. >Have I got it figured out yet? :>
  54.  
  55. Pretty much. See how coming up with something constructive makes a difference?
  56. :-)
  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.