Skip to main content

Notice

Please be aware that much of the software linked to or mentioned on this forum is niche and therefore infrequently downloaded. Lots of anti-virus scanners and so-called malware detectors like to flag infrequently downloaded software as bad until it is either downloaded enough times, or its developer actually bothers with getting each individual release allow listed by every single AV vendor. You can do many people a great favor when encountering such a "problem" example by submitting them to your AV vendor for examination. For almost everything on this forum, it is a false positive.
Topic: speex command-line........ (Read 2974 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

speex command-line........

Hi,
I want to use a different codebook than speex for quantization fo LSPs.
While decoding speex uses a function called "lsp_unquant"
  /* Unquantize LSPs */                                       
  SUBMODE(lsp_unquant)(st->qlsp, st->lpcSize, bits);     

I want to use some other set of LSPs here. My question is this that is it sufficient to comment this above line and copy my own LSPs in the    st->qlsp  variable.....??

If I do only this much, will it decode the file according to my own LSPs(which are basically quantized and unquantized from some other codebook than speex) ????
I am really got stuck here and please help me out....

The other way of asking the question is what I have to do to use my own sets os LSPs in decoding the speex bitstream to the wave file...

speex command-line........

Reply #1
these lines are in the file "nb_celp.c"
and function "nb_decode"
/* Unquantize LSPs */
SUBMODE(lsp_unquant)(st->qlsp, st->lpcSize, bits);

 
SimplePortal 1.0.0 RC1 © 2008-2021