Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to play music in the background?  RSS feed

 
Kacper Szmigiel
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!