Sign in

username:

password:



Not a member?

Search speechcoding



Search tips

Subscribe to speechcoding



speechcoding by Keywords

ACELP | ADPCM | AMBE | AMR | AMR-NB | CELP | Codebook | DTMF | G.723 | G.726 | G.729 | GSM | Interpolation | LPC | LSF | LSP | MELP | PCM | Perceptual | Pitch | PSOL | QCELP | Quantization | SMV | VAD | Vocoder


Discussion Groups

Discussion Groups | Speech Coding | I/O File Size In G729

Technical discussions related to Speech Coding (all itu and other vocoders, ACELP, CELP, AMR, etc)

  

Post a new Thread

I/O File Size In G729 - bine...@gmail.com - Jul 11 16:55:44 2006



Hi,
     Now I am working with ITU-T's G729 recommendation.The size of the input I given to this
coder was 586 KB(16 bit PCM mono)and I got the output as 600 KB. Is this output's size is right
or not? I think that, as an encoder it's output size should be less than input size( That is
why we are encoding). The output is right,then What is the reson? Please clear my doubts
immediately.
Thanks in advance 
Bineesh Jose

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )

Re: I/O File Size In G729 - Jeff Brower - Jul 11 17:26:55 2006

Bineesh-

>      Now I am working with ITU-T's G729 recommendation.The size of the
> input I given to this coder was 586 KB(16 bit PCM mono)and I got the
> output as 600 KB. Is this output's size is right or not? I think that,
> as an encoder it's output size should be less than input size( That is
> why we are encoding). The output is right,then What is the reson?

Part of the reason (but seems not all) could be unused bits in each PCM value in the
output .wav file.  Suggest to display the output .wav file in software like
Hypersignal or CoolEdit, and note the maximum value.  If the max value is small, for
example 128, then each coefficient is only 7 bits and you have 9 bits unused per
sample.

-Jeff

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )

Re: I/O File Size In G729 - CHARLES HUTTON - Jul 13 7:21:00 2006

And maybe you are using the ITU file format for the coder output which uses 
a 16 bit word for each bit of encoder output?

Chuck

>From: Jeff Brower <j...@signalogic.com>
>To: Bineesh Jose <b...@gmail.com>
>CC: s...@yahoogroups.com
>Subject: Re: [speechcoding] I/O File Size In G729
>Date: Tue, 11 Jul 2006 16:03:09 -0500
>
>Bineesh-
>
> >      Now I am working with ITU-T's G729 recommendation.The size of the
> > input I given to this coder was 586 KB(16 bit PCM mono)and I got the
> > output as 600 KB. Is this output's size is right or not? I think that,
> > as an encoder it's output size should be less than input size( That is
> > why we are encoding). The output is right,then What is the reson?
>
>Part of the reason (but seems not all) could be unused bits in each PCM 
>value in the
>output .wav file.  Suggest to display the output .wav file in software like
>Hypersignal or CoolEdit, and note the maximum value.  If the max value is 
>small, for
>example 128, then each coefficient is only 7 bits and you have 9 bits 
>unused per
>sample.
>
>-Jeff

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )

Re: I/O File Size In G729 - ranjeet gupta - Jul 13 7:21:08 2006

 

 You encoder is at fail, well you shoud recive the encoded data i.e 
 the output file in your case to be 586/8 as the compression ratio for 
 the g729 is 8 times, well the Input for the G729 is 16 bit data which 
 is sampled at the 8Khz, my question is did you sampled it at 8khz ?

On Mon, 10 Jul 2006 b...@gmail.com wrote :
>Hi,
>      Now I am working with ITU-T's G729 recommendation.The size of the input I given to
this coder was 586 KB(16 bit PCM mono)and I got the output as 600 KB. Is this output's size is
right or not? I think that, as an encoder it's output size should be less than input size( That
is why we are encoding). The output is right,then What is the reson? Please clear my doubts
immediately.
>Thanks in advance
>Bineesh Jose
>

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )

Re: I/O File Size In G729 - Artham Sridhar - Sep 4 8:27:39 2006

yes you are write. If you see the file format for the out put of the encoder, it is stored
in word format i.e for example 2 is represented as 0x0002. Due to this the size of the output
file is more than what is expected.
   
  Regards
   Sridhar. A

CHARLES HUTTON <c...@msn.com> wrote:
          And maybe you are using the ITU file format for the coder output which uses 
a 16 bit word for each bit of encoder output?

Chuck

>From: Jeff Brower <j...@signalogic.com>
>To: Bineesh Jose <b...@gmail.com>
>CC: s...@yahoogroups.com
>Subject: Re: [speechcoding] I/O File Size In G729
>Date: Tue, 11 Jul 2006 16:03:09 -0500
>
>Bineesh-
>
> > Now I am working with ITU-T's G729 recommendation.The size of the
> > input I given to this coder was 586 KB(16 bit PCM mono)and I got the
> > output as 600 KB. Is this output's size is right or not? I think that,
> > as an encoder it's output size should be less than input size( That is
> > why we are encoding). The output is right,then What is the reson?
>
>Part of the reason (but seems not all) could be unused bits in each PCM 
>value in the
>output .wav file. Suggest to display the output .wav file in software like
>Hypersignal or CoolEdit, and note the maximum value. If the max value is 
>small, for
>example 128, then each coefficient is only 7 bits and you have 9 bits 
>unused per
>sample.
>
>-Jeff

______________________________
New Year Gift for Members of DSPRelated.com.  Details here.


(You need to be a member of speechcoding -- send a blank email to speechcoding-subscribe@yahoogroups.com )