Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Sounds  RSS feed

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently developing a game in java and I need to know how to add sounds to my game, my teacher suggested me to not use applets, but I don't know. I have not the slightest clue on how to add sounds to the game and I would appreciate if anybody could either show me a guide or a tutorial where I can learn how to add sounds to my game or explain how am I supposed to do to make things work.

Basically I want to have music the moment I run the game, not a function where I click to get the sound, I have googled around, but all I can find is applets, isn't there a way to avoid applets or do I really have to use applets in order for the sound to work in my game?

Thanks in advance!

//Markus
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to have a look at OpenAL: https://joal-demos.dev.java.net/. There are also some starting tutorials on this site.
 
Markus Block
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Joachim Rohde wrote:You might want to have a look at OpenAL: https://joal-demos.dev.java.net/. There are also some starting tutorials on this site.



Thanks
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!