Two Laptop Bag*
The moose likes Beginning Java and the fly likes How to play music in the background? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to play music in the background?" Watch "How to play music in the background?" New topic
Author

How to play music in the background?

Kacper Szmigiel
Greenhorn

Joined: Sep 18, 2012
Posts: 24
Hello. I'm making some small, console, text game, and I want to play music (in MP3 format) in the background. Is it possible?



If I need some special libs, what libs do I need, and how to use them (other source of information than documentation).
Greets, Kacper.
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 3947
    
  17

The tools you are looking for is the Java Sound API. The web is full of examples and tutorials on the subject, so it shouldn't be hard to find info.


Steve
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to play music in the background?
 
Similar Threads
converting Native Characters to Unicode
Searching in a Map
Help! Need to write out a amount after string has certain values in it. Must add and read file.
sugar needed for Java! help me, please.
Data getting corrupt.