Playing a sound file which increments by 10dB until the user presses a button

I have used Java before but never used a sound library.

I can create a new project but then am unsure where start this.

What i would like best is for a sound to be played (it really needs to be a constant tone) for say 3 seconds. Then to stop for 3 seconds. Then the sound is played again but 10 dB higher.
LVL 12
Who is Participating?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.