[Speex-dev] Can Speex frame size be expand from 160 to 320 for NB?
Dennis Liu
dennis.liu at mobidia.com
Wed Feb 13 16:14:45 PST 2008
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 at usherbrooke.ca]
Sent: Wednesday, February 13, 2008 4:03 PM
To: Dennis Liu
Cc: speex-dev at 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
More information about the Speex-dev
mailing list