• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sounds

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 am going down to the lab. Do NOT let anyone in. Not even this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic