Dennis Liu
2008-Feb-13 15:49 UTC
[Speex-dev] Can Speex frame size be expand from 160 to 320 for NB?
Hi Jean-Marc, I want to know the possibility of expanding frame size from 160 to 320 for narrow band. What is the side-effect if do so? How many changes involved for the current code? Thanks ahead. BRs, Dennis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20080213/9cbdd667/attachment.htm
Jean-Marc Valin
2008-Feb-13 16:02 UTC
[Speex-dev] Can Speex frame size be expand from 160 to 320 for NB?
Dennis Liu wrote:> I want to know the possibility of expanding frame size from 160 to 320 > for narrow band. What is the side-effect if do so? How many changes > involved for the current code?spx_int16_t my_buffer[320]; speex_encode_int(encoder, my_buffer, bits); speex_encode_int(encoder, my_buffer+160, bits); done Cheers, Jean-Marc
Dennis Liu
2008-Feb-13 16:15 UTC
[Speex-dev] Can Speex frame size be expand from 160 to 320 for NB?
Thank you so much for your quick reply. It looks quite easy to change it. But, how about those codebook and excite table? I notice them have been fixed as the length of 160. Thanks again, Dennis -----Original Message----- From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca] Sent: Wednesday, February 13, 2008 4:03 PM To: Dennis Liu Cc: speex-dev@xiph.org Subject: Re: [Speex-dev] Can Speex frame size be expand from 160 to 320 for NB? Dennis Liu wrote:> I want to know the possibility of expanding frame size from 160 to 320 > for narrow band. What is the side-effect if do so? How many changes > involved for the current code?spx_int16_t my_buffer[320]; speex_encode_int(encoder, my_buffer, bits); speex_encode_int(encoder, my_buffer+160, bits); done Cheers, Jean-Marc