home *** CD-ROM | disk | FTP | other *** search
/ Sound, Music & MIDI Collection 2 / SMMVOL2.bin / GRAV_SDK / SDK19I08.ZIP / SDK19I08.TXT / text0000.txt < prev   
Encoding:
Text File  |  1995-05-16  |  6.6 KB  |  150 lines

  1.  
  2. The GUS Programmer's Digest        Monday, 15 May 1995        Volume 19 : Number 008
  3.  
  4. Today's Topics:
  5.     Re: DC offset
  6.     RE: DC offset
  7.  
  8. Standard Info:
  9.     - Meta-info about the GUS can be found at the end of the Digest.
  10.     - Before you ask a question, please READ THE FAQ.
  11.  
  12. ----------------------------------------------------------------------
  13.  
  14. From: Jani Mattsson <janmat@utu.fi>
  15. Date: Sun, 14 May 1995 16:56:18 +0300 (EET DST)
  16. Subject: Re: DC offset
  17.  
  18. Ricky.Houghton@cs.cmu.edu wrote:
  19. > Our HPs 735s, with the 4231 chip, have the same problem, constant DC
  20. > offset that is some function of the gain setting. [...]
  21. >  I'm not sure about the drift.  On the Analog Devices 1848, it was
  22. > constant, I've not done enough with the 4231 to know.  If you are seeing
  23. > drift to a null offset, when do you get the null offset?  Whenever you
  24. > change gain?
  25.     
  26.     I've not been following this DC offset discussion, but
  27.     could this have to do with that when I once tried to do
  28.     some recording with my GUS Max CODEC, the middle-point
  29.     of the waveform wasn't in the middle of the sample space
  30.     (i.e. was not signed 0 but something else) but it had 
  31.     shifted. When I retried, the sampling was ok, but this
  32.     occurred approximately every third time I started sampling
  33.     a new piece of sample.
  34.  
  35. - -jpm
  36.  
  37.  
  38. ------------------------------
  39.  
  40. From: Chris James <JAMESC@mail.medoto.unimelb.edu.au>
  41. Date: Mon, 15 May 1995 16:12:00 -0700 (PDT)
  42. Subject: RE: DC offset
  43.  
  44. >Our HPs 735s, with the 4231 chip, have the same problem, constant DC
  45. >offset that is some function of the gain setting.  Analog Devices
  46. >aknowledged that their counterparts have this problem.  I've not
  47. >contacted Crystal for confirmation that it is a CODEC problem, but it
  48. >sure seems that way.
  49.  
  50. Basically with 0 dB gain (i.e. 0 poked in the record gain reg) there seems 
  51. to
  52. be no offset problem with the windows drivers. I yet haven't tried saving 
  53. the mixer
  54. settings with non-zero gain in the vain hope that if the mixer settings are 
  55. made
  56. when windows starts up before the codec is "initialised/reset/set-up" that 
  57. the
  58. problem may disappear, read on for explaination of why this might work:
  59.  
  60. > I'm not sure about the drift.  On the Analog Devices 1848, it was
  61. >constant, I've not done enough with the 4231 to know.  If you are seeing
  62. >drift to a null offset, when do you get the null offset?  Whenever you
  63. >change gain?  I may be able to live with this.  That is, if I can set
  64. >the gain and at some point in the near future have no offset.
  65.  
  66. Now I more clearly remember the problem I had with the codec when 
  67. programming
  68. with the SDK. I note in my code still that I positively switch the codec 
  69. into the 16-bit
  70. PCM mode that I use. I do this by switching to the ADPCM mode
  71. and then back to PCM to exert a calibration (it mentions this vaguely in the 
  72. SDK). The
  73. Crystal Semi. data sheet also mentions that auto-calibration is done when 
  74. certain mode changes occur. I mentioned in the last post that I remember a 
  75. "decay" effect when I used post-mux gain with my driver, decaying from some 
  76. offset down to zero. The data sheet does say that auto-calibration take 168 
  77. ms so this could account for it. So if I delay for 168 ms after I force a 
  78. switch I should see no evidence of an offset.
  79. This is a pain when recording speech because a lot can happen in 168 ms (and
  80. I have to take this into account when going to sample!). This may fix the 
  81. symptom, but
  82. the post-mux gain is still introducing DC which it shouldn't in an ideal 
  83. world. This also
  84. doesn't help end users of the codec who are stuck with the Windows or other
  85. vendor supplied software which doesn't force a recalibration after gain 
  86. adjust or before record. Tonight therefore I'll try to figure out whether I 
  87. can switch-on the codec's high-pass filters and whether they will remain set 
  88. after Windows etc has loaded sound drivers. Gravis/Forte could do a quick 
  89. fix by asserting a calibration
  90. whenever the record-gain is adjusted, if my explanation here is well 
  91. founded...
  92.  
  93. Chris James
  94.  
  95.  
  96.  Ricky
  97.  
  98. ------------------------------
  99.  
  100. End of The GUS Programmer's Digest V19 #8
  101. *****************************************
  102.  
  103. To post to tomorrow's digest:  <gus-sdk@mail.orst.edu>
  104. To (un)subscribe or get help:  <gus-sdk-digest-request@mail.orst.edu>
  105. To contact a human (last resort):  <gus-sdk-digest-owner@mail.orst.edu>
  106.  
  107.                        FTP Sites                     Archive Directories
  108.                        ---------                     -------------------
  109. Main N.American Site:  ftp.orst.edu                  pub/packages/gravis
  110.                        wuarchive.wustl.edu           systems/ibmpc/ultrasound
  111. Main Asian Site:       nctuccca.edu.tw               PC/ultrasound
  112. Main European Site:    src.doc.ic.ac.uk              packages/ultrasound
  113. Main Australian Site:  ftp.mpx.com.au                /ultrasound/general
  114.                                                      /ultrasound/submit
  115. South African Site:    ftp.sun.ac.za                 /pub/packages/ultrasound
  116. Submissions:           archive.epas.utoronto.ca      pub/pc/ultrasound/submit
  117. Newly Validated Files: archive.epas.utoronto.ca      pub/pc/ultrasound
  118.  
  119. Mirrors:               garbo.uwasa.fi                mirror/ultrasound
  120.                        ftp.st.nepean.uws.edu.au      pc/ultrasound
  121.                        ftp.luth.se                   pub/msdos/ultrasound
  122.  
  123.                        Gopher Sites                  Menu directory
  124.                        ------------                  --------------
  125. Main Site:             src.doc.ic.ac.uk              packages/ultrasound
  126.  
  127.                        WWW Pages
  128.                        ---------
  129. Main Site:             http://www.xmission.com/~grue/gus.html
  130.  
  131. Main European Site:    http://src.doc.ic.ac.uk/packages/ultrasound/
  132. Main Australian Site:  http://ftp.mpx.com.au/archive/ultrasound/general/
  133.                        http://ftp.mpx.com.au/archive/ultrasound/submit/
  134.                        http://ftp.mpx.com.au/gravis.html
  135.  
  136. Mirrors:               http://www.st.nepean.uws.edu.au/pub/pc/ultrasound/
  137.  
  138. GUS digest:            http://gpu.srv.ualberta.ca/~itam/digest.html
  139.  
  140. MailServer For Archive Access: Email to <mail-server@nike.rz.uni-konstanz.de>
  141.                                Email to <ftpmail@doc.ic.ac.uk>
  142.  
  143. New Submit Files Mailing List: Email to <listproc@uni-konstanz.de>
  144.                          with content "subscribe epas-list <your-name-here>"
  145.  
  146. Hints:
  147.       - Get the FAQ from the FTP sites or the request server.
  148.       - Mail to <gus-sdk-digest-request@mail.orst.edu> for info about other
  149.         GUS related mailing lists (general use, musician's, etc.).
  150.