I'm the father of ItsNat AJAX Java web framework, JNIEasy, LAMEOnJ, JEPLayer and JEPLDroid libraries (and very old stuff like XPDOM), supporter of the Single Page Interface (SPI) paradigm, writer of the SPI manifesto and currently Android native guy. Jose Maria has posted 28 posts at DZone. You can read more from them at their website. View Full User Profile

LAMEOnJ 1.2 - New Object Oriented API for Decoding MP3 to WAV/PCM

09.03.2008
| 4769 views |
  • submit to reddit

LAMEOnJ is a 100% Java library mapping in Java the complete C API of LAME, the popular MP3 encoder and decoder. The Java-native impedance is solved with JNIEasy, JNIEasy is free for non profit uses (there is an alternative commercial license).

Version 1.2 adds a new Object Oriented API for decoding MP3 data to PCM/WAV using LAME under the hood.

The decoding API was ever present in LAMEOnJ since version 1.0 because the LAME API is fully wrapped. But this low level API is tricky, the OOP version simplifies how to decode chunks of MP3 data to WAV/PCM (of course the typical one call method is provided too).

LAMEOnJ runs on the same x86 platforms supported by JNIEasy: Windows, Linux, Mac OS X and Solaris. 

The distribution does not include LAME binaries. Windows versions are easy to find, in Unixes compiling LAME from source code is easy (anyway contact with me if you don't know). 

LAMEOnJ is open source LGPL licensed and hosted on SourceForge.net

 

0
Published at DZone with permission of its author, Jose Maria Arranz.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

Thomas Mueller replied on Sun, 2008/09/07 - 1:08pm

There are also pure Java solutions: MP3Transform and JLayer. Both can play MP3 files and convert them to WAV files.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.