home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / multimed / 4249 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  1.9 KB

  1. Xref: sparky comp.multimedia:4249 comp.os.ms-windows.programmer.misc:5402
  2. Path: sparky!uunet!opl.com!hri.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sun4nl!cwi.nl!guido
  3. From: guido@cwi.nl (Guido van Rossum)
  4. Newsgroups: comp.multimedia,comp.os.ms-windows.programmer.misc
  5. Subject: Re: Playing ADPCM audio data under windows
  6. Message-ID: <8738@charon.cwi.nl>
  7. Date: 26 Jan 93 14:48:53 GMT
  8. References: <1993Jan23.151043.23034@impmh.uucp> <1993Jan25.092049.10800W@lumina.edb.tih.no>
  9. Sender: news@cwi.nl
  10. Followup-To: comp.multimedia
  11. Lines: 33
  12.  
  13. ketil@edb.tih.no (Ketil Albertsen,TIH) writes:
  14.  
  15. >In article <1993Jan23.151043.23034@impmh.uucp>, cm@impmh.uucp (Colin Manning) 
  16. >writes:
  17. >
  18. >>According the the ms documentation, they accept data in 44.1Khz samples,
  19. >>20.05Kh and 10.025Khz. ADPCM is sampled at different rate.
  20. >>
  21. >>Anyone any idea how easy/difficult it is to convert audio data sampled at
  22. >>one rate to another ?
  23. >
  24. >Now that you ask: Yes, it is difficult... :-)
  25. >
  26. >If the only difference was the sampling rate, plain linear interpolation
  27. >would probably be satisfactory - and anyone who can do simple multiplication
  28. >and division in c could do the job.
  29. >
  30. >[and goes on to explain how decoding ADPCM is difficult]
  31.  
  32. Two remarks.  First, while linear interpolation works for rate
  33. conversion, the result is rather poor: it can adds lots of digital
  34. noise.  Unfortunately the techniques required to remove this noise are
  35. difficult -- digital filters are hard to design, and hard to implement
  36. in software.  (Read comp.dsp if you're interested in such things.)
  37.  
  38. Second, a free implementation of ADPCM exist.  This ADPCM (en/de)coder
  39. is available by anonymous ftp from ftp.cwi.nl [192.16.184.180],
  40. directory pub/audio, file adpcm.shar.  This is a library written in C
  41. -- you'll have to write a program around it to use it.
  42.  
  43. Happy hacking,
  44.  
  45. --Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
  46.