Hi, you can see the file in vc++. g.729 has 10 ms window per frame, and sampled at 8khz.. i.e, 10ms*8khz gives you 80 samples per frame i.e. the input of the encoder is 80 words and the output of the encoder is 82 serial bits(bfi+ number of speech bits). Now the file size of speech.in is 600,064 bytes i.e.300,032 words since per frame it is 80 words the total no. of frames in the file is 300,032/80750 frames. I hope this answers your question. you can tap the input and output using fwrite() to a particular file.you can generate your own speech file, using sound editing tools like Cool edit. The voicing and unvoicing decision takes place in vad.c(In the function Makedec). if you want to know any further details mail me back. with regards suma gupta ksrc <> wrote: hi everybody i have small doubt regarding g.729 implementation ... while i am trying to simulate the code given by ITU with speech.in file(which is given in g729tv2 folder of ITU site). for g.729 standard implementation they given in ITU site as test vector "speech.in" file..that i am sending ... i tried to open in dos or linux ...platforms... it is showing some ascii characters ....and some sound is listened.. in standard they mentioned that input to g.729 encoder is 16 bit pcm data from 8khz sampling rate of speech....i.e 128 Kbps .... but this speech file consists of 3750 odd frames... can we see this ascii symbols in binary(hexadecimal) format.. so that i can take only desired frames... and want to check at encoder output i.e bitstream file (what iam assuming is bitstream file consists of only bits...) parameters ... how to generate our own speech file.. or any already available speech files in net any source? where exactly voicing and unvoiced decision taking place at encoder of g.729? please help me.. thanking u all GUPTA KSRC _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: To Post: To Leave: Archives: http://www.yahoogroups.com/group/speechcoding Other DSP-Related Groups: http://www.dsprelated.com |