home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / advocacy / 29809 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  4.2 KB

  1. Xref: sparky comp.sys.amiga.advocacy:29809 comp.sys.atari.st.tech:5784
  2. Newsgroups: comp.sys.amiga.advocacy,comp.sys.atari.st.tech
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!hanauma.jpl.nasa.gov!hyc
  4. From: hyc@hanauma.jpl.nasa.gov (Howard Chu)
  5. Subject: Re: DSP not as good as we thought?
  6. Message-ID: <1992Nov24.020031.10135@elroy.jpl.nasa.gov>
  7. Sender: news@elroy.jpl.nasa.gov (Usenet)
  8. Nntp-Posting-Host: hanauma.jpl.nasa.gov
  9. Organization: SAR Systems Development & Processing, JPL
  10. References: <1992Nov20.184901.15161@dcs.warwick.ac.uk> <37211@cbmvax.commodore.com>
  11. Date: Tue, 24 Nov 1992 02:00:31 GMT
  12. Lines: 59
  13.  
  14. In article <37211@cbmvax.commodore.com> grr@cbmvax.commodore.com (George Robbins) writes:
  15. >In article <1992Nov20.184901.15161@dcs.warwick.ac.uk> mashton@dcs.warwick.ac.uk (M.S. Ashton) writes:
  16. >> Am I to understand (from reading a review of the Falcon) that the DSP chip
  17. >> is not capable of reproducing digital sound at variable frequency (like Paula 
  18. >> can) and is, in fact, limited to fixed rates such as 12.5,25,50KHz.
  19. >> If this is the case then all the nice DMA sound is completely unusable for
  20. >> computer generated music (soundtracker/Med etc.) and only useful from replaying
  21. >> a sample at the frequency it was sampled at.
  22. >> Am I to understand that to get round this, one needs to use masses of 
  23. >
  24. >The DSP *should* have to computational capabilites to do real-time
  25. >sample rate conversion and filtering as it "plays" the sounds.
  26. >
  27. >The variable sample rate in the Amiga is one of those things that
  28. >is intended to minimize memory/computational requirements when
  29. >used with a simple DAC scheme, but given a farily powerful DSP,
  30. >there are other ways of getting the same job done.
  31.  
  32. The sound hardware in the Falcon can use one of three different clocks - 32MHz,
  33. 25 MHz, or external clock input. Additionally, the clock can be divided down
  34. by one of about 16 different standard prescale values. This is what's given in
  35. the standard sound system calls. However, it seems that the built-in codec is
  36. only allowed to be used with the 25 MHz clock. I don't know why that is...
  37. It's not a problem for the DSP, though. Regardless, the codec supports more
  38. speeds than just 12.5, 25 and 50 khz, those are just the common speeds that
  39. were also supported on the STe.
  40.  
  41. As long as this is going to be a topic of discussion, please remember that
  42. there are several independent elements of the Falcon audio system that can
  43. be interconnected in a variety of ways. You can use all, some, or none of them
  44. as you see fit. In fact there are so many different elements available it's
  45. difficult to choose where to start, in a system description.
  46.  
  47. You have the codec with stereo 16-bit ADC and DAC, DMA record channels, DMA
  48. playback channels, external inputs and outputs, etc. The codec's ADC can be
  49. connected to the mic input or to the Yamaha PSG output. (Independent left and
  50. right channel control there.) You can independently activate any of the 4
  51. stereo audio tracks, and select any one of those tracks to be monitored by
  52. the internal speaker/DAC/stereo headphone jack. You can record or playback
  53. in any of 8-bit mono, 8-bit stereo, or 16-bit stereo. At system bootup I
  54. believe the ADC gets both channels from the PSG, and everything else is
  55. bypassed. For the voicemail software that I wrote (that was running all week
  56. at Comdex) on the Falcon, I had the audio matrix connecting the ADC to the
  57. DMA record channels, using only a single track. For the next version I'll have
  58. the ADC feeding the DSP, do some compression in the DSP, and feed the DSP
  59. output to the DMA record channel instead. The Falcon audio system is
  60. incredibly flexible, I only need to add two system calls to my existing code
  61. to add this functionality. (Oh, and load my compression routine into the DSP,
  62. but that's really a separate issue. That's the total impact on my code, tho.)
  63.  
  64. One of the quirks I've noted is that the PSG doesn't have a hardwired
  65. connection to the speaker, and the system bell and keyclick are still
  66. generated there. If you have sound software that wants to record thru the
  67. microphone input, those system sounds disappear (unless you only set one
  68. channel to the mic, and leave one channel for the PSG...).
  69. -- 
  70.   -- Howard Chu @ Jet Propulsion Laboratory, Pasadena, CA
  71.  
  72. All true wisdom is conveyed in one-line witticisms.
  73.