Hi, I am trying to use speex for online speech compression in my application code. I wanted to know the bits per sample for 8khz sampling rate. Presently i am using 16 bits/ sample, is it alright? -- Bhushan
Yes, 16 bits/sample -----Original Message----- From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of bhushan Sent: 05 July 2007 16:06 To: speex-dev@xiph.org Subject: [Speex-dev] sampling rate in speex Hi, I am trying to use speex for online speech compression in my application code. I wanted to know the bits per sample for 8khz sampling rate. Presently i am using 16 bits/ sample, is it alright? -- Bhushan _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman/listinfo/speex-dev
bhushan a ?crit :> Hi, > I am trying to use speex for online speech compression in my > application code. I wanted to know the bits per sample for 8khz > sampling rate. Presently i am using 16 bits/ sample, is it alright?Bits per sample don't matter. If you call speex_encode_int(), then you need to pass a short* (i.e. 16-bit), if you call speex_encode(), then it's a float* and the result is pretty much the same. You can use BCD-encoded ASCII if you feel like it -- as long as you implement the wrapper for it ;-) Jean-Marc