[speex-dev] frame size

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Thu Oct 23 08:32:50 PDT 2003


Sorry, there is only one frame size possible, (which you can get with
SPEEX_GET_FRAME_SIZE in the C version). Basically, it's 20ms for
"nominal rates":
narrowband: 160 samples
wideband: 320 samples
ultra-wideband: 640 samples

        Jean-Marc

Le jeu 23/10/2003 à 09:29, Ulrich B. Staudinger a écrit :
> hello,
> i have a simple question about speex frame size.
> i work with jspeex - but i think it's speex generic, the question i have.
> can i use any frame size i want? or does the size have be in a certain 
> ratio to other numbers? and what does the frame size in the decoder 
> mean? encoded or decoded packet frame size?
> 
> how much data can i hand to the encoder to encode?
> if i hand i.e. 400 bytes to the encoder, what will i have in return? 180 
> bytes of encoded data?
> 
> in gsm it was all so simple... i have 320 bytes and get 133 in return 
> .... (i think those were the numbers).
> 
> thanks for an answer,
> ulrich

-- 
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20031023/8dca8051/signature-0001.pgp


More information about the Speex-dev mailing list