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

Ads

Discussion Groups

Discussion Groups | Speech Coding | C- code for G.723.1 and LSP coefficients, gain, ...

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

  

Post a new Thread

C- code for G.723.1 and LSP coefficients, gain, ... - setumi71 - Nov 20 10:56:00 2003



Hi,
I have downloaded c code for the codec (it is attached
with G.723.1 annex A, the version with fixed point).
How to find the coefficients LSP, the values of gain, amplitude of
the frames?
I find attached the code a vector sequence test, but there is no a
help on using these files!
The test vectors for the encoder input use the extension .TIN (for
Test vector INput signal).
The test vectors for the decoder input use the extension .TCO (for
Test vector of COded parameters).
The reference files for the encoder output use the extension .RCO
(for Reference for COded parameters).
It is necessary to compare the file .TCO with the file .RCO.
I don't succeed in opening (to read) these files?
Do you know the way?
I have need of consistent dataset to make a training of a neural
network.
Thanks!!!
Best regards,
Giovy






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

RE: C- code for G.723.1 and LSP coefficients, gain, ... - Sameer Kibey - Nov 24 4:51:00 2003

hi Giovy

It is not necessary to compare the .TCO files with the .RCO files. They are
essentially the same files. This makes sense since .RCO file is the output
of the encoder (ie the encoded bitstream) and .TCO is the input to the
decoder (ie the bitstream to be decoded).

> I don't succeed in opening (to read) these files?
well, that is strange ! Are you talking abt "fread"? please elaborate a bit
on this query.. or are you trying to listen to the input speech? note that
you can play the TIN files (input speech signal) using Cool-Edit or some
similar tool. The TIN files are simply 16 bit PCM samples at 8 KHz.

>How to find the coefficients LSP, the values of gain, amplitude of
>the frames?

For this you need to study the code and locate the respective modules to tap
the values that you want. The code contains plenty of comments, so I guess
that should not be a problem.

hope that helps.
regards,
Sameer -----Original Message-----
From: setumi71 [mailto:]
Sent: Thursday, November 20, 2003 4:26 PM
To:
Subject: [speechcoding] C- code for G.723.1 and LSP coefficients, gain,
... Hi,
I have downloaded c code for the codec (it is attached
with G.723.1 annex A, the version with fixed point).
How to find the coefficients LSP, the values of gain, amplitude of
the frames?
I find attached the code a vector sequence test, but there is no a
help on using these files!
The test vectors for the encoder input use the extension .TIN (for
Test vector INput signal).
The test vectors for the decoder input use the extension .TCO (for
Test vector of COded parameters).
The reference files for the encoder output use the extension .RCO
(for Reference for COded parameters).
It is necessary to compare the file .TCO with the file .RCO.
I don't succeed in opening (to read) these files?
Do you know the way?
I have need of consistent dataset to make a training of a neural
network.
Thanks!!!
Best regards,
Giovy




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