IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
speex command-line........, quantization of LSFs
audio_geek
post Nov 2 2005, 16:18
Post #1





Group: Members
Posts: 71
Joined: 17-August 05
From: Bangalore
Member No.: 23959



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...
Go to the top of the page
+Quote Post
audio_geek
post Nov 2 2005, 16:20
Post #2





Group: Members
Posts: 71
Joined: 17-August 05
From: Bangalore
Member No.: 23959



these lines are in the file "nb_celp.c"
and function "nb_decode"
/* Unquantize LSPs */
SUBMODE(lsp_unquant)(st->qlsp, st->lpcSize, bits);
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd April 2014 - 10:56