# \[AS3\] Reading Mp3 header

**URL:** <https://forum.kirupa.com/t/as3-reading-mp3-header/217147>\
**Category:** flash\
**Created:** [February 23, 2007, 1:43pm UTC](https://forum.kirupa.com/t/as3-reading-mp3-header/217147 "2007-02-23T13:43:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reider](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/reider/32/980_2.png) [@Reider](https://forum.kirupa.com/u/Reider)\
**Post date:** [February 23, 2007, 1:43pm UTC](https://forum.kirupa.com/t/as3-reading-mp3-header/217147/1 "2007-02-23T13:43:42Z")

</div>

[COLOR=black][FONT=Verdana]I’m trying to get the bitrate and frequency info from an mp3 file with as3 but I have some problems. I know that the bitrate is bites 17-20 and the frequency is 21,22. The problem is that to get my sound to a bytearray I have to load the sound in completely but I only need the header and I want to use streaming sound so loading it in completely would make that impossible and as I sow I can’t get bytearray out of a sound object.

Thanks for any help.[/FONT][/COLOR]
