Code covered by the BSD License  

Highlights from
Complete Implementation Of a MP3 Decoder

Be the first to rate this file! 26 Downloads (last 30 days) File Size: 1 MB File ID: #27303

Complete Implementation Of a MP3 Decoder

by Ahmed Hassan

 

20 Apr 2010

A full implementation of MPEG 1 Payer 3 standard on matlab.

| Watch this File

File Information
Description

 The whole decoding process has been implemented natively on MATLAB. I need help in streamlining it so that it can run real-time. top level module is decoder.m. It takes in as input parameter the file name or file path and returns the decoded data & sampling frequency.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
13 Oct 2011 Andy Nadeau

I had to work out some bugs before the output matched the the pcm (pulse code modulated) samples from the mpg123 decoder.

here are the bugs:
decoder line 117: ms_stereo should be 0 if mode_extension_check == 0
decoder line 278: add1_range should never be set to [0 0]. When region_address1==0 the number of critical bands using the first Huffman table is one more than that. The fist critical should be included in region1 by removing the if statment and keeping the statments under the true condition.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
mp3 Ahmed Hassan 20 Apr 2010 11:13:41
decoder Ahmed Hassan 20 Apr 2010 11:13:41
multimedia Ahmed Hassan 20 Apr 2010 11:13:41
implementation on matlab Ahmed Hassan 20 Apr 2010 11:13:41
mp3 kiran 14 Oct 2011 04:51:35

Contact us at files@mathworks.com