# Handling MPEG audio metadata This article explains how the The GroupDocs.Metadata API allows reading some common MPEG audio properties from MP3 files. ## Reading MPEG audio metadata MP3 (formally MPEG-1 Audio Layer III or MPEG-2 Audio Layer III) is a coding format for digital audio. Originally defined as the third audio format of the MPEG-1 standard, it was retained and further extended — defining additional bitrates and support for more audio channels — as the third audio format of the subsequent MPEG-2 standard. The GroupDocs.Metadata API allows reading some common MPEG audio properties from MP3 files. {{< alert style="info" >}} For more information on the MP3 and MPEG standards please check the following articles: * [https://en.wikipedia.org/wiki/MP3](https://en.wikipedia.org/wiki/MP3) * [https://en.wikipedia.org/wiki/Moving\_Picture\_Experts\_Group](https://en.wikipedia.org/wiki/Moving_Picture_Experts_Group) {{< /alert >}} The following steps demonstrate how to read MPEG audio metadata from an MP3 file. 1. [Load]({{< ref "metadata/java/developer-guide/advanced-usage/loading-files/_index.md" >}}) an MP3 file 2. Get the root metadata package 3. Use the [MP3RootPackage.getMpegAudioPackage](https://reference.groupdocs.com/metadata/java/com.groupdocs.metadata.core/MP3RootPackage#getMpegAudioPackage())method to read the metadata values **advanced\_usage.managing\_metadata\_for\_specific\_formats.audio.mp3.MP3ReadMpegAudioMetadata** ```csharp try (Metadata metadata = new Metadata(Constants.MP3WithID3V2)) { MP3RootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getMpegAudioPackage().getBitrate()); System.out.println(root.getMpegAudioPackage().getChannelMode()); System.out.println(root.getMpegAudioPackage().getEmphasis()); System.out.println(root.getMpegAudioPackage().getFrequency()); System.out.println(root.getMpegAudioPackage().getHeaderPosition()); System.out.println(root.getMpegAudioPackage().getLayer()); // ... } ``` ## More resources ### GitHub examples You may easily run the code above and see the feature in action in our GitHub examples: * [GroupDocs.Metadata for .NET examples](https://github.com/groupdocs-metadata/GroupDocs.Metadata-for-.NET) * [GroupDocs.Metadata for Java examples](https://github.com/groupdocs-metadata/GroupDocs.Metadata-for-Java) ### MP3 metadata management demo App The [MP3 Metadata Editing](https://products.groupdocs.app/metadata/mp3) app is available to view and edit metadata of MP3 audio files, including title, artist, album, genre, and other ID3 tags.