• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there any way to stop audio in java without it clicking?  RSS feed

 
Neil Cartmell
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I'm making a guitar playing simulator. The user uses the mouse to play the strings and the keys on the keyboard to change chords.

I'm using the Clip interface. The problem is when the Clip is stopped it makes a clicking sound. So when the user strums it stops each string before starting it again and it sounds pretty hidious. I've tried getting the Controls for each clip and fading it out quickly but that doesn't help. I've tried loading in two of each sound file and alternating but that's doesn't work either.

Is there really no way in Java to do what I'm trying to do? Any ideas? If not, does anyone here know anything about C++, and whether C++ would let me do what I'm trying to do? I'm thinking of taking it up to make music applications.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!