tetra speech samples (was: Re: tetra Digest, Vol 9, Issue 5)

ciaby ciaby at autistici.org
Tue Sep 27 22:56:53 UTC 2011

 Ok, no luck in decoding the samples...
 I can't manage to get the bitstream out in the proper way.
 I compiled the fromansi and toansi utilities from the etsi samples, i 
 can output the full frame in 16-bit format, but cdecoder never accept it 
 as a valid input (always complaining that the frame is wrong/corrupted).
 What am i doing wrong?
 This is what i tried to so far:

         if (tms->cur_burst.is_traffic) {
                 FILE *f = fopen("traffic.out", "ab");
                 for(i = 0; i < 432; i++) {

 Which should produce an output file with 16-bit samples, each 
 containing one bit of information.
 Then use ./toansi to convert into a format which is compatible by the 
 etsi codec, use cdecoder to decode the channel and sdecoder to convert 
 the speech frame into a pcm file.
 However, it doesn't work.
 Ideas? :)


More information about the tetra mailing list