aspose file tools*
The moose likes Beginning Java and the fly likes Playing MP3 files in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Playing MP3 files in java" Watch "Playing MP3 files in java" New topic
Author

Playing MP3 files in java

Gavin Bonner
Greenhorn

Joined: Feb 04, 2004
Posts: 8
Hi, I was wondering how i can play an mp3 file in java. I have downloaded javaLayer from the sun web site, but i am not sure exactly how to play a file or what classes to use for it.
Can anyone help me? :roll:
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Last I know is that MP3 functionality in the sound APIs is still an RFE (request for enhancement) which would mean you'll need some 3rd party library instead.
Simplest would be to search for it using your favourite search engine.


42
R Jelda
Greenhorn

Joined: May 13, 2002
Posts: 26
I prefer using QuickTime For Java packages.
Because even they provide a gui api.

Regards,
Jelda


"If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas." -George Bernard Shaw
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Gavin!
I'm moving this thread to the Other Java APIs forum...
[ February 05, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Playing MP3 files in java