Difference between revisions of "Documents/Helix MP3 Decoder"

From Nutwiki
Jump to: navigation, search
(Created page with "<div id="content"> = Using the Helix MP3 Decoder on Nut/OS = This document explains how to implement a software MP3 decoder. The implementation had been tested on AT91SAM7X...")
 
 
Line 21: Line 21:
 
== Installation ==
 
== Installation ==
  
If not already done, [[../download/index.html|download]] and [[wininstall.html|install]] install the latest stable Nut/OS distribution. You should have build the Nut/OS libraries for your target board and possibly tried a few [[nutapps.html|application samples]] to make sure, that everything is working as expected.
+
If not already done, [[../download/index.html|download]] and [[wininstall.html|install]] install the latest stable Nut/OS distribution. You should have build the Nut/OS libraries for your target board and possibly tried a few [[Documents/Nut Apps|application samples]] to make sure, that everything is working as expected.
  
  

Latest revision as of 18:09, 13 July 2017

Using the Helix MP3 Decoder on Nut/OS

This document explains how to implement a software MP3 decoder.

The implementation had been tested on AT91SAM7X256 and AT91SAM9260 boards. Decoding MP3 streams requires some CPU performance, which is not available with 8-bit AVR microcontrollers.

About Helix

The Helix MP3 Decoder offers the following main features:


  • 100% fixed point implementation.
  • Portable Open Source C code.
  • Optimized for ARM processors.

Probably a disadvantage for many commercially oriented developers is the license, which contains provisions that force source code sharing of the entire product. This is incompatible with the BSD license used for Nut/OS and therefore the Helix decoder will not be included in official Nut/OS releases.

Installation

If not already done, [[../download/index.html|download]] and install install the latest stable Nut/OS distribution. You should have build the Nut/OS libraries for your target board and possibly tried a few application samples to make sure, that everything is working as expected.


Next, download
[[../../arc/hxmp3.zip|hxmp3-20061019.zip]]

The files in this archive are distributed in four subdirectories:

nut/hxmp3/
Contains the decoder source code files. Copy this directory to the Nut/OS source tree.

nut/include/hxmp3/
C header files of the decoder. Again copy this to the Nut/OS source tree.

nut/tools/samba/lib/
The script in this directory enables fast access to the SDRAM.

nutbld/hxmp3/
Copy this to your build tree.

Building the Library

Change to the hxmp3 directory within the Nut/OS build tree.

Set the PATH environment.

Run make clean followed by make install.



Good luck,
Harald Kipp
Castrop-Rauxel, 19th of October 2006