home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 233.lha / Sound_Digitizers / ADC_020 / ADC020.DOC < prev    next >
Text File  |  1989-05-05  |  4KB  |  116 lines

  1.     For those of you who are into
  2. sampled sound synthesis or just
  3. hardware freaks, I've just built
  4. an 8 bit sampler that can
  5. accurately sample at a maximum
  6. rate of 324545Hz or about 3uS per
  7. sample.
  8.     I've used an ADC020 that uses
  9. 32 comparators to do 2 four bit
  10. flash conversions then derives an
  11. 8 bit result. The actual conversion
  12. takes about 800ns (due mostly to
  13. the settling time of its analog
  14. switches). 3uS is as fast as the
  15. 68000 in Amy can transfer the data
  16. in ML with all interrupts disabled
  17. (nonDMA).
  18.     Instead of connecting it to the
  19. printer port as is usually done,
  20. I've cut the chip selects going to
  21. the CIAs and decoded address bits
  22. 12,13 and 14 with a 74F138 and use
  23. the decoded outputs along with the
  24. old BFxxxxH select to enable the
  25. CIAs at their usual address
  26. (BFDxx0H and BFExx1H). This freed
  27. up the rest of the address space
  28. from BF0000H to BFF001H.
  29.     Then I added a 6821 PIA
  30. chip on the lower order data lines
  31. at address BFC001H to BFC301H and
  32. the ADC020 is connected to port A.
  33. Altho the ADC020 would interface
  34. directly to the 68000 bus I wanted
  35. more control over the timing and
  36. a level of protection in case
  37. something should go wrong with the
  38. ADC. I used a LH0033 buffer amp on
  39. the A/D input because it has a
  40. 1500V/uS slew rate and 100MHz band-
  41. width (mostly because I already had
  42. them on hand) but any op-amp with a
  43. reasonable SR (not 714) would do.
  44.     Since the reference ,Vref(+)-
  45. Vref(-), need not be ground
  46. referenced I set Vref(-) to 1.4V
  47. with 2 1N914 diodes and used a 2.5V.
  48. Zener from there to Vref(+) because
  49. the output of the LH0033 and most
  50. op-amps can't go all the way to
  51. ground (the LM324 does but its a
  52. dog). This results in a 0 reading
  53. from the A/D with an input of about
  54. 0.5V and full scale (255) at
  55. about 3.12V. I also added a 1N4732
  56. zener to the input of the LH0033 to
  57. protect it from going higher than
  58. +4.7V or lower than about -0.7V
  59. below ground. All of this fit
  60. nicely on top of the mother board
  61. and under the RF shield inside my
  62. A1000 with the nesessary leads run
  63. through the holes that the bottom
  64. case posts fit through and soldered
  65. to the bottom side. Finaly, the
  66. dreaded trace cuts were made near
  67. pin 23 of the CIAs on the solder
  68. side.
  69.     It all works great and after
  70. using it for a month now with a
  71. variety of software I've had no
  72. problems.
  73.     To make it work with
  74. Perfect Sound and AudioMaster all
  75. I had to do was write a small
  76. program to set up the PIA in my
  77. startup-sequence and I changed
  78. the reference to BFE101H in each
  79. program to BFC001H. Unfortunatly,
  80. AudioMaster seems to have a
  81. maximum sample rate of 24000Hz and
  82. Perfect sound has a maximum of
  83. about 28000. I have written some
  84. stand-alone programs that do
  85. sample at a full 324KHz and save
  86. to disk or ram.
  87.     I'm sure your now saying:
  88. "That's all well and good but the
  89. amiga won't play a sample at more
  90. than 28000Hz". The advantage of
  91. the higher speed comes in doing
  92. DSP (Digital Signal Processing).
  93. For example you could run the
  94. sample through a digital low pass
  95. filter then upsample, reducing
  96. the size of the sample and
  97. increasing the pitch (rate) so
  98. it could be played at 28000Hz.
  99. This would result in a much
  100. cleaner sample and reduce any
  101. noise. The higher sample rate is
  102. also very important doing waveform
  103. analisys (using an FFT program
  104. I've writen).
  105.     I'm also planning to write
  106. a program that would allow me to
  107. use it as an oscliscope.
  108.     If you have any comments or
  109. suggestions please leave a message
  110. or write to:
  111.                        
  112.     Michael R. Walters
  113.        129 Columbo
  114.     Tustin, CA 92680
  115.  
  116.