Hi Ibraheem,
G.723.1 only accepts 8 kHz sampling rate (the link in your message is to 16 kHz files). I will put an explicit check on the sampling rate if and when I update the code. I need to see an explicit case of a file that exhibits a problem with poly2lsf (Matlab build-in routine) to be able to diagnose the problem. I have not seen any problems with normal speech files (all files in the official G.723.1 test suite work).
I processed a WAV file with 128.044 bytes (sampling frequency 8000Hz, 16 bits/sample, 64000 samples (8s)).
The compressed file has a size of 154.497 bytes, but it should have not more than 6.3kbits/s * 8 s / 8 bits/bytes = 6300 bytes, should it?
What went wrong?
Regards,