This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DK-TM4C129X: Calculate total playback time

Part Number: DK-TM4C129X

Hi,

Customers have a question about OPUS encoding on TM4C. They would like to know the playback time of WAVE data  in Document P.21
www.ti.com/.../spma076.pdf

Is the playback time of the data used at complexity 10 in Table 2 "87.4465 seconds"?
NOTE: (699572*16bit)/(8bit*16000Hz) = 87.4465 sec


Or is it 699572bytes / (16000Hz* 16bit/8)= 21.8616sec?

How long is the playback time of Complexity 10 in Table 2?

Regards,
Rei

  • HI,

      The app note has the below note about calculating the playback time. Therefore, it will be 87.4 seconds for 16Khz sample rate. The easiest way for you to find out is to run the example and find out the time it takes to play the entire audio file. The playback time should be independent of the complexity. 

  • HI,

      The app note has the below note about calculating the playback time. Therefore, it will be 87.4 seconds for 16Khz sample rate. The easiest way for you to find out is to run the example and find out the time it takes to play the entire audio file. The playback time should be independent of the complexity.