Article View: comp.multimedia
Article #1720Re: Playing ADPCM audio data under windows
From: Guido van Rossum
Date: Tue, 26 Jan 1993 14:48
Date: Tue, 26 Jan 1993 14:48
33 lines
1942 bytes
1942 bytes
ketil@edb.tih.no (Ketil Albertsen,TIH) writes: >In article <1993Jan23.151043.23034@impmh.uucp>, cm@impmh.uucp (Colin Manning) >writes: > >>According the the ms documentation, they accept data in 44.1Khz samples, >>20.05Kh and 10.025Khz. ADPCM is sampled at different rate. >> >>Anyone any idea how easy/difficult it is to convert audio data sampled at >>one rate to another ? > >Now that you ask: Yes, it is difficult... :-) > >If the only difference was the sampling rate, plain linear interpolation >would probably be satisfactory - and anyone who can do simple multiplication >and division in c could do the job. > >[and goes on to explain how decoding ADPCM is difficult] Two remarks. First, while linear interpolation works for rate conversion, the result is rather poor: it can adds lots of digital noise. Unfortunately the techniques required to remove this noise are difficult -- digital filters are hard to design, and hard to implement in software. (Read comp.dsp if you're interested in such things.) Second, a free implementation of ADPCM exist. This ADPCM (en/de)coder is available by anonymous ftp from ftp.cwi.nl [192.16.184.180], directory pub/audio, file adpcm.shar. This is a library written in C -- you'll have to write a program around it to use it. Happy hacking, --Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
Technical Details
Message-ID:
<8738@charon.cwi.nl>Path:
arc1-ca.pugleaf.net!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!guidoReferences:
<1993Jan23.151043.23034@impmh.uucp> <1993Jan25.092049.10800W@lumina.edb.tih.no>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: guido@cwi.nl (Guido van Rossum) Newsgroups: comp.multimedia,comp.os.ms-windows.programmer.misc Subject: Re: Playing ADPCM audio data under windows Message-ID: <8738@charon.cwi.nl> Date: 26 Jan 93 14:48:53 GMT References: <1993Jan23.151043.23034@impmh.uucp> <1993Jan25.092049.10800W@lumina.edb.tih.no> Sender: news@cwi.nl Followup-To: comp.multimedia Lines: 33