aspose file tools*
The moose likes Beginning Java and the fly likes Sound Files without Japplet 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 without Japplet" Watch "Sound Files without Japplet" New topic
Author

Sound Files without Japplet

Landon Blake
Ranch Hand

Joined: Dec 04, 2003
Posts: 121
The book I'm learning Java with said that you need to use a subclass of japplet to play sound files in a program, because the sound features of Java 1.0 were packaged with the applet classes. Is there a way to play sound files in a stand alone program using another method or different set of classes?
Thanks,
The Sunburned Surveyor
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Yes. The Java Media Framework (JMF) is an add-on API that does what you want. See http://java.sun.com/products/java-media/jmf/index.jsp .


[Jess in Action][AskingGoodQuestions]
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
You might want to take a look at The Sound Trail of Sun's Java Tutorial.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sound Files without Japplet