[Speex-dev] request bit allocation info!

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Fri Apr 13 19:03:07 PDT 2007


> I would like to use Speex for an speech enhancement project and it 
> requires manipulation of coded parameters.
> 
> I was wondering whether any of you could provide some info. on the 
> following queries,
> 
> /*Encode the frame*/ speex_encode(state, input, &bits);
> 
> Can I print the ASCII values of these bits (I mean how?).
> 
> I did read the bit allocation available at below url, so that I could
> write a kind of unpacking function, however, the format of the table
> was quite confusing, I did understand the "0 1 2 3 4"?
> 
> http://www.speex.org/docs/manual/speex-manual/node11.html#SECTION000114000000000000000

The narrowband bit-allocation is described in Table 3 of
http://www.speex.org/docs/manual/speex-manual/node10.html and what you
point above is the additional bits that get added for wideband (on top
of narrowband). The 0, 1, 2, ... is the mode number (listed as "mode
ID") in the stream.

	Jean-Marc


More information about the Speex-dev mailing list