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

Sound Files

Matthew Buska
Greenhorn

Joined: Jul 27, 2004
Posts: 11

I would like to develop a Java program that will play a particular song depending on what the person chose from a drop-down list. My question is can the Java programming language be programmed to play an MP3 (MPEG-3) or a windows media audio (WMA) file. If not then what can be used instead of MP3 or WMA? Thanks ahead for any responses.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
I don't know all the audio formats that are supported by Java, but googling for "playing audio files in java" found several hits that look helpful.

HTH

Layne
[ June 05, 2005: Message edited by: Layne Lund ]

Java API Documentation
The Java Tutorial
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
I think JMF (Java Media Framework) will be useful for this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sound Files