Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Play a WAV file in Java

 
Andreas Bystrom
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
Is it possible to play a wav file in java? I don't want to use JMF. I have seen the method Applet.newAudioclip(), is this somehting that can be used even if you have an application that is not an Applet?
Some other suggestions of how to play a file?
// Andreas
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at http://java.sun.com/j2se/1.3/docs/guide/sound/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic