Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

beeps and dings

 
fred baby
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there anyway to send windows-style beeps and dings without having to use javax.media to load the sounds and such? i am developing a test program and i want to give a ding when the person clicks the correct button and an error-chord when the person clicked the incorrect button. thanks in advance.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Topic on Beep
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
fred,
Take a look at The Java Sound API. Since 1.3 it's part of the standard Java API.
The Java Sound Demo runs fine on my system without the JMF (javax.media). It uses the Java Sound API (javax.sound) and the source code is included.
Good Luck.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic