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 Spring in Action this week in the Spring 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: 42289
    
  64
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 - my free Android networking tools app
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19722
    
  20

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
 
Consider Paul's rocket mass heater.
 
subject: Music Player development