# Audio total time before sound complete

**URL:** <https://forum.kirupa.com/t/audio-total-time-before-sound-complete/325493>\
**Category:** flash\
**Created:** [October 19, 2011, 8:00am UTC](https://forum.kirupa.com/t/audio-total-time-before-sound-complete/325493 "2011-10-19T08:00:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RIACODER](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@RIACODER](https://forum.kirupa.com/u/RIACODER)\
**Post date:** [October 19, 2011, 8:00am UTC](https://forum.kirupa.com/t/audio-total-time-before-sound-complete/325493/1 "2011-10-19T08:00:07Z")

</div>

Hi,

I am loading the sound and i want to get the length of the sound before sound has fully loaded. I have tried to get following methods that calculate the sound length from the following urls:

1. [http://www.stevensacks.net/2008/12/02/calculating-duration-on-mp3s-in-as3/](http://www.stevensacks.net/2008/12/02/calculating-duration-on-mp3s-in-as3/)
2. [http://www.multimediacollege.be/2010/07/estimating-the-duration-of-a-sound-object-while-loading/](http://www.multimediacollege.be/2010/07/estimating-the-duration-of-a-sound-object-while-loading/)
3. [http://www.h3xed.com/programming/how-to-streaming-mp3-sound-length-actionscript-3](http://www.h3xed.com/programming/how-to-streaming-mp3-sound-length-actionscript-3)
4. [http://help.adobe.com/en\_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d21.html](http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d21.html)

The sound i am using do not have the length in the ID3 tags too.

Please I searched enough on it Kindly provide some solution to this problem.

Regards
