DSPRelated.com
Forums

ADPCM g.722 old ADI Code

Started by Al Clark June 10, 2004
There is some g.722 ADPCM code in the Digital Signal Processing 
Applications Using the ADSP-2100 Family book. Does anyone know if it 
actually works? We are translating the code into a newer DSP and we think 
we have found some mistakes.

Can anyone point to some working sample code, examples, etc. (I know where 
to buy the standard)?

-- 
Al Clark
Danville Signal Processing, Inc.
--------------------------------------------------------------------
comp.dsp conference July 28 - Aug 1, 2004

details at http://www.danvillesignal.com/index.php?id=compdsp
email: compdsp@danvillesignal.com

Who says you can't teach an old dog a new DSP trick?
Al Clark wrote:

> There is some g.722 ADPCM code in the Digital Signal Processing > Applications Using the ADSP-2100 Family book. Does anyone know if it > actually works? We are translating the code into a newer DSP and we think > we have found some mistakes. > > Can anyone point to some working sample code, examples, etc. (I know where > to buy the standard)?
A long time ago I did grab a modified version of this code from the ADI FTP site and it did pass the ITU-T test vectors. But I don't think it was the same as that originally produced for the book. It had already been modified by somebody to fix some (alleged) bugs. (Maybe the same bugs you're talking about). Regards -- Adrian Hey
The book "C Algorithms for Real-time DSP" by Paul Embree includes code
for g.711 and g.722. I think it also comes with code for the
ADSP-21020/21062. I can't find my copy right now so I'm not 100% sure,
but if you still need it email me privately (smb [AT] dspdimension
[DOT] com) and I'll search more thoroughly.

--smb
the creative energy you might know as Al Clark <dsp@danvillesignal.com> wrote in message news:<Xns9503E6C342597aclarkdanvillesignal@66.133.130.30>...
> There is some g.722 ADPCM code in the Digital Signal Processing > Applications Using the ADSP-2100 Family book. Does anyone know if it > actually works? We are translating the code into a newer DSP and we think > we have found some mistakes. > > Can anyone point to some working sample code, examples, etc. (I know where > to buy the standard)?
Is it OK to ask what you are using G.722 for? It was something of a flop, and is now so obsolete I am amazed anyone might be doing something new with it. Regards, Steve
steveu@coppice.org (Steve Underwood) wrote in
news:80bddbd7.0406100801.398fe810@posting.google.com: 

> the creative energy you might know as Al Clark > <dsp@danvillesignal.com> wrote in message > news:<Xns9503E6C342597aclarkdanvillesignal@66.133.130.30>... >> There is some g.722 ADPCM code in the Digital Signal Processing >> Applications Using the ADSP-2100 Family book. Does anyone know if it >> actually works? We are translating the code into a newer DSP and we >> think we have found some mistakes. >> >> Can anyone point to some working sample code, examples, etc. (I know >> where to buy the standard)? > > Is it OK to ask what you are using G.722 for? It was something of a > flop, and is now so obsolete I am amazed anyone might be doing > something new with it. > > Regards, > Steve >
Its for an internal project that does not need to be compatible with anything but needs to have good voice quality with extended voice bandwidth. The intellibility scores that I have seen are not too bad. g.722 is also computationally easy and I don't want to spend a fortune on IP or development. -- Al Clark Danville Signal Processing, Inc. -------------------------------------------------------------------- comp.dsp conference July 28 - Aug 1, 2004 details at http://www.danvillesignal.com/index.php?id=compdsp email: compdsp@danvillesignal.com Who says you can't teach an old dog a new DSP trick?
I can't find the code you refer to in the book, but there was some ADI code
out there at one point that had buggy QMFs.  It was a pretty simple fix
IIRC.  G.722 hardware codecs are available at www.comrex.com

"Al Clark" <dsp@danvillesignal.com> wrote in message
news:Xns9503E6C342597aclarkdanvillesignal@66.133.130.30...
> There is some g.722 ADPCM code in the Digital Signal Processing > Applications Using the ADSP-2100 Family book. Does anyone know if it > actually works? We are translating the code into a newer DSP and we think > we have found some mistakes. > > Can anyone point to some working sample code, examples, etc. (I know where > to buy the standard)? > > -- > Al Clark > Danville Signal Processing, Inc. > -------------------------------------------------------------------- > comp.dsp conference July 28 - Aug 1, 2004 > > details at http://www.danvillesignal.com/index.php?id=compdsp > email: compdsp@danvillesignal.com > > Who says you can't teach an old dog a new DSP trick?
"Tom Hartnett" <tom@removethiscomrex.com> wrote in
news:cackn8$gum@dispatch.concentric.net: 

> I can't find the code you refer to in the book, but there was some ADI > code out there at one point that had buggy QMFs. It was a pretty > simple fix IIRC. G.722 hardware codecs are available at > www.comrex.com
It's in Volume 2.
> > "Al Clark" <dsp@danvillesignal.com> wrote in message > news:Xns9503E6C342597aclarkdanvillesignal@66.133.130.30... >> There is some g.722 ADPCM code in the Digital Signal Processing >> Applications Using the ADSP-2100 Family book. Does anyone know if it >> actually works? We are translating the code into a newer DSP and we >> think we have found some mistakes. >> >> Can anyone point to some working sample code, examples, etc. (I know >> where to buy the standard)? >> >> -- >> Al Clark >> Danville Signal Processing, Inc. >> -------------------------------------------------------------------- >> comp.dsp conference July 28 - Aug 1, 2004 >> >> details at http://www.danvillesignal.com/index.php?id=compdsp >> email: compdsp@danvillesignal.com >> >> Who says you can't teach an old dog a new DSP trick? > > >
-- Al Clark Danville Signal Processing, Inc. -------------------------------------------------------------------- comp.dsp conference July 28 - Aug 1, 2004 details at http://www.danvillesignal.com/index.php?id=compdsp email: compdsp@danvillesignal.com Who says you can't teach an old dog a new DSP trick?