Hi Everybody
I am working with the code Downloaded from 3GPP AMR Floating-point
Speech Codec (TS 26.104)..
i am looking at the Test sequences for AMR(3GPP TS 06.74 V7.3.0 ) and
want to use these test vectors to test the AMR code performance
so i have got
Files for input to the speech encoder: *.INP
Files for comparison with the encoder output and for input to the
speech decoder: *.COD
Files for comparison with the decoder output:*.OUT
but i don't know how to use these files to test the performance of
AMR codec..
So let me know the usage of these Test files..
Thanks
Waiting for the reply
Hazzy
Test sequences for AMR Codec usage
Started by ●June 19, 2006
Reply by ●July 14, 20062006-07-14
Hi Everybody
>
>I am working with the code Downloaded from 3GPP AMR Floating-point
>Speech Codec (TS 26.104)..
>
>i am looking at the Test sequences for AMR(3GPP TS 06.74 V7.3.0 ) and
>want to use these test vectors to test the AMR code performance
>
>so i have got
>Files for input to the speech encoder: *.INP
>Files for comparison with the encoder output and for input to the
>speech decoder: *.COD
>Files for comparison with the decoder output:*.OUT
>but i don't know how to use these files to test the performance of
>AMR codec..
>
>So let me know the usage of these Test files..
>
>Thanks
>Waiting for the reply
>Hazzy
>
>Hi Hazzy,
You can run the code using the test vectors by a .bat file
something similar to,
for %%M in (0 1 2 3 4 5 6 7 8) do coder.exe %%M tst.inp _tst_m%%M.cod
fc /b _tst_m0.cod tst_m0.cod
fc /b _tst_m1.cod tst_m1.cod
fc /b _tst_m2.cod tst_m1.cod
fc /b _tst_m3.cod tst_m3.cod
fc /b _tst_m4.cod tst_m4.cod
fc /b _tst_m5.cod tst_m5.cod
fc /b _tst_m6.cod tst_m6.cod
fc /b _tst_m7.cod tst_m7.cod
fc /b _tst_m8.cod tst_m8.cod
pause
similarly write for all other test sequences aswell
copy the coder.exe and decoder.exe in the folder of the test vectors.
and run the .bat file
fc compares the two files (bit-exactness)
hope it helps !!!
Regards
Pradeep
Aparoksha Technologies
>
>I am working with the code Downloaded from 3GPP AMR Floating-point
>Speech Codec (TS 26.104)..
>
>i am looking at the Test sequences for AMR(3GPP TS 06.74 V7.3.0 ) and
>want to use these test vectors to test the AMR code performance
>
>so i have got
>Files for input to the speech encoder: *.INP
>Files for comparison with the encoder output and for input to the
>speech decoder: *.COD
>Files for comparison with the decoder output:*.OUT
>but i don't know how to use these files to test the performance of
>AMR codec..
>
>So let me know the usage of these Test files..
>
>Thanks
>Waiting for the reply
>Hazzy
>
>Hi Hazzy,
You can run the code using the test vectors by a .bat file
something similar to,
for %%M in (0 1 2 3 4 5 6 7 8) do coder.exe %%M tst.inp _tst_m%%M.cod
fc /b _tst_m0.cod tst_m0.cod
fc /b _tst_m1.cod tst_m1.cod
fc /b _tst_m2.cod tst_m1.cod
fc /b _tst_m3.cod tst_m3.cod
fc /b _tst_m4.cod tst_m4.cod
fc /b _tst_m5.cod tst_m5.cod
fc /b _tst_m6.cod tst_m6.cod
fc /b _tst_m7.cod tst_m7.cod
fc /b _tst_m8.cod tst_m8.cod
pause
similarly write for all other test sequences aswell
copy the coder.exe and decoder.exe in the folder of the test vectors.
and run the .bat file
fc compares the two files (bit-exactness)
hope it helps !!!
Regards
Pradeep
Aparoksha Technologies