aspose file tools*
The moose likes Java in General and the fly likes Music Player development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Music Player development" Watch "Music Player development" New topic
Author

Music Player development

kriti agarwal
Greenhorn

Joined: Jul 10, 2009
Posts: 3
hi guys i was trying to develop a music player but in order to play an mp3 song my code is not supporting mp3 format.
it is displaying InvalidMidiDataException.
so please help me out!!!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39575
    
  27
Welcome to JavaRanch.

MP3 is not MIDI. You'll need the JMF (Java Media Framework) library and the JMF MP3 extension; both can be found on java.sun.com.


Ping & DNS - updated with new look and Ping home screen widget
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19552
    
  16

Alternatively, both JLayer and BasicPlayer (google for them) can play MP3 files.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Music Player development
 
Similar Threads
mp3 songs
About java.awt.AudioClip;
Very much dissapointed with Linux
Sigh; all forms of entertainment blocked at work
Any ideas for xmas gifts for a programmer?