DSPRelated.com
Forums

C code for LPC - speech recognition

Started by Gina Upperman November 28, 2005

Hi All,

 

I am trying to write a basic speech recognition program in Code Composer Studio, and I am thinking of using Linear Prediction Coding to calculate coefficients for each speech sample.  Is there by any chance a built-in LPC function in Code Composer Studio, like there is in Matlab?  If not, does anyone know of a simple C program to calculate the LPC coefficients that I could use in CCS?

 

Thank you,

Gina Upperman



Hi Gina,

There is no library for LPC in Code Composer. However
since many speech codecs (e.g. CELP based, LPC-10 etc)
use LPC, you can extract the LPC implementations from
those.
This one link I found has sources for all sorts of LPC
based codecs.
http://www.data-compression.com/download.shtml
Something like lpc_lib.c in Melp implementation might
be what you are looking for

Regards
Piyush

--- Gina Upperman <upperman@uppe...> wrote:

> Hi All, >
> I am trying to write a basic speech recognition
> program in Code Composer
> Studio, and I am thinking of using Linear Prediction
> Coding to calculate
> coefficients for each speech sample. Is there by
> any chance a built-in LPC
> function in Code Composer Studio, like there is in
> Matlab? If not, does
> anyone know of a simple C program to calculate the
> LPC coefficients that I
> could use in CCS? >
> Thank you,
>
> Gina Upperman